Changeset bdb2899 in rtems
- Timestamp:
- 01/11/00 16:41:57 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0dd1d44
- Parents:
- 7558283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libchip/network/dec21140.c
r7558283 rbdb2899 170 170 171 171 #if defined(__PPC) 172 #define phys_to_bus(address) ((unsigned int)( address) + PREP_PCI_DRAM_OFFSET)173 #define bus_to_phys(address) ((unsigned int)( address) - PREP_PCI_DRAM_OFFSET)172 #define phys_to_bus(address) ((unsigned int)((address)) + PREP_PCI_DRAM_OFFSET) 173 #define bus_to_phys(address) ((unsigned int)((address)) - PREP_PCI_DRAM_OFFSET) 174 174 #define CPU_CACHE_ALIGNMENT_FOR_BUFFER PPC_CACHE_ALIGNMENT 175 175 #else 176 #define phys_to_bus(address) ( unsigned int) address177 #define bus_to_phys(address) ( unsigned int) address176 #define phys_to_bus(address) ((unsigned int) ((address))) 177 #define bus_to_phys(address) ((unsigned int) ((address))) 178 178 #define delay_in_bus_cycles(cycle) Wait_X_ms( cycle/100 ) 179 179 #define CPU_CACHE_ALIGNMENT_FOR_BUFFER PG_SIZE
Note: See TracChangeset
for help on using the changeset viewer.