Changeset f82dabae in rtems
- Timestamp:
- Nov 4, 2005, 6:09:59 PM (15 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f6435d36
- Parents:
- 830976c
- Location:
- c/src/libchip/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libchip/network/dec21140.c
r830976c rf82dabae 62 62 #endif 63 63 64 #if defined(__i386__) 65 #include <libcpu/byteorder.h> 66 #endif 67 64 68 #include <stdlib.h> 65 69 #include <stdio.h> … … 234 238 #define rtems_bsp_delay_in_bus_cycles(cycle) Wait_X_ms( cycle/100 ) 235 239 #define CPU_CACHE_ALIGNMENT_FOR_BUFFER PG_SIZE 236 237 static inline void st_le32(volatile uint32_t *addr, uint32_t value)238 {239 *(addr)=value ;240 }241 242 static inline uint32_t ld_le32(volatile uint32_t *addr)243 {244 return(*addr);245 }246 247 240 #endif 248 241 -
c/src/libchip/network/elnk.c
r830976c rf82dabae 91 91 #endif 92 92 93 #if defined(__i386__) 94 #include <libcpu/byteorder.h> 95 #endif 96 93 97 #include <stdlib.h> 94 98 #include <stdio.h> … … 198 202 #define rtems_bsp_delay_in_bus_cycles(cycle) Wait_X_ms( cycle/100 ) 199 203 #define CPU_CACHE_ALIGNMENT_FOR_BUFFER PG_SIZE 200 201 static inline void st_le32(volatile uint32_t *addr, uint32_t value)202 {203 *(addr)=value ;204 }205 206 static inline uint32_t ld_le32(volatile uint32_t *addr)207 {208 return(*addr);209 }210 204 #endif 211 205
Note: See TracChangeset
for help on using the changeset viewer.