mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>
* vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some boards -- notably the MVME2100 -- return the physical address, not an offset in PCI memory space.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>
|
||||
|
||||
* vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some
|
||||
boards -- notably the MVME2100 -- return the physical address, not an
|
||||
offset in PCI memory space.
|
||||
|
||||
2004-11-10 Joel Sherrill <joel@oarcorp.com>
|
||||
|
||||
* tod.c: Add include of tod.h to remove warnings.
|
||||
|
||||
@@ -69,7 +69,8 @@
|
||||
#endif
|
||||
|
||||
typedef unsigned int pci_ulong;
|
||||
#define PCI_TO_LOCAL_ADDR(memaddr) ((pci_ulong)(memaddr) + PCI_MEM_BASE)
|
||||
#define PCI_TO_LOCAL_ADDR(memaddr) \
|
||||
((pci_ulong)(memaddr) + PCI_MEM_BASE_ADJUSTMENT)
|
||||
|
||||
|
||||
#elif defined(__vxworks)
|
||||
|
||||
Reference in New Issue
Block a user