source: trunk/hal/x86_64/hal_remote.c @ 26

Last change on this file since 26 was 25, checked in by max@…, 8 years ago

First shot of the x86_64 port. It uses Multiboot V1. Most of the HAL functions
are empty, and several TSAR-specific files and comments remain; they will be
cleaned up later. The Makefile and LD script will come in another commit.

File size: 2.3 KB
Line 
1/*
2 * hal_remote.c - implementation of Generic Remote Access API for TSAR-MIPS32
3 *
4 * Authors : Mohammed Karaoui (2015)
5 *           Alain Greiner    (2016)
6 *
7 * Copyright (c) UPMC Sorbonne Universites
8 *
9 * This file is part of ALMOS-MKH..
10 *
11 * ALMOS-MKH. is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; version 2.0 of the License.
14 *
15 * ALMOS-MKH. is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with ALMOS-MKH.; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24
25#include <hal_types.h>
26
27void hal_remote_sb( xptr_t   xp,
28                    char     data )
29{
30
31}
32
33void hal_remote_sw( xptr_t    xp,
34                    uint32_t  data )
35{
36
37}
38
39void hal_remote_swd( xptr_t    xp,
40                     uint64_t  data )
41{
42
43}
44
45void hal_remote_spt( xptr_t      xp,
46                     void *      pt )
47{
48
49}
50
51char hal_remote_lb( xptr_t  xp )
52{
53        return 0;
54}
55
56uint32_t hal_remote_lw( xptr_t  xp )
57{
58        return 0;
59}
60
61uint64_t hal_remote_lwd( xptr_t  xp )
62{
63        return 0;
64}
65
66void * hal_remote_lpt( xptr_t    xp,
67                       void *    pt )
68{
69        return NULL;
70}
71
72uint32_t hal_remote_lw_unc( xptr_t  xp )
73{
74        return 0;
75}
76
77bool_t hal_remote_atomic_cas( xptr_t    xp,
78                              uint32_t  old,
79                              uint32_t  new )
80{
81        return 0;
82}
83
84uint32_t hal_remote_atomic_add( xptr_t   xp, 
85                                uint32_t incr )
86{       
87        return 0;
88}
89
90uint32_t hal_remote_atomic_and( xptr_t   xp, 
91                                uint32_t mask )
92{       
93        return 0;
94}
95
96uint32_t hal_remote_atomic_or( xptr_t   xp, 
97                               uint32_t mask )
98{       
99        return 0;
100}
101
102error_t hal_remote_atomic_try_add( xptr_t     xp,
103                                   uint32_t   incr,
104                                   uint32_t * old )
105{
106        return 0;
107}
108
109void hal_remote_memcpy( xptr_t   dst,
110                        xptr_t   src,
111                        uint32_t size )
112{
113
114}
115
Note: See TracBrowser for help on using the repository browser.