mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 02:36:30 +08:00
Put CPU specific bus_space routines into separate files
The code in rtemsbsd/freebsd/machine/bus.h assumed that all bus space accesses were through memory in a simple fashion. The i386 has a true distinction between I/O and memory space which must be accounted for. This may not be the eventual structure of this code but we must have different bus space accessors for different hardware configurations. And in many, if not most, cases we will want these to be inlined for performance.
This commit is contained in:
@@ -482,7 +482,6 @@ rtems.addRTEMSHeaderFiles(
|
||||
'rtems/machine/bus_dma.h',
|
||||
'rtems/machine/rtems-bsd-config.h',
|
||||
'rtems/machine/clock.h',
|
||||
'rtems/machine/cpufunc.h',
|
||||
'rtems/machine/endian.h',
|
||||
'rtems/macpue/_limits.h',
|
||||
'rtems/machine/_align.h',
|
||||
@@ -1212,6 +1211,7 @@ devNic.addCPUDependentHeaderFiles(
|
||||
'i386/include/intr_machdep.h',
|
||||
'i386/include/legacyvar.h',
|
||||
'i386/include/pci_cfgreg.h',
|
||||
'i386/include/cpufunc.h',
|
||||
]
|
||||
)
|
||||
devNic.addCPUDependentSourceFiles(
|
||||
|
Reference in New Issue
Block a user