mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Kernel: Move PCI initialization x86-specific code to the arch directory
It seems more correct to let each platform to define its own sequence of initialization of the PCI bus, so let's remove the #if flags and just put the entire Initializer.cpp file in the appropriate code directory.
This commit is contained in:
parent
5576151e68
commit
e39086f2c6
2 changed files with 1 additions and 5 deletions
|
@ -25,7 +25,6 @@ set(KERNEL_SOURCES
|
|||
Bus/PCI/Access.cpp
|
||||
Bus/PCI/API.cpp
|
||||
Bus/PCI/Device.cpp
|
||||
Bus/PCI/Initializer.cpp
|
||||
Bus/USB/UHCI/UHCIController.cpp
|
||||
Bus/USB/UHCI/UHCIRootHub.cpp
|
||||
Bus/USB/USBConfiguration.cpp
|
||||
|
@ -341,6 +340,7 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
|
|||
Arch/x86/common/Shutdown.cpp
|
||||
|
||||
Arch/x86/PCI/Controller/HostBridge.cpp
|
||||
Arch/x86/PCI/Initializer.cpp
|
||||
)
|
||||
|
||||
set(KERNEL_SOURCES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue