Revert "[Zion][Yellowstone] First pass at adding PCI ioport access."
This reverts commit b677633248.
This commit is contained in:
parent
b51d5966d4
commit
bddf26b645
16 changed files with 199 additions and 337 deletions
|
|
@ -8,7 +8,6 @@
|
|||
#include "debug/debug.h"
|
||||
#include "include/zcall.h"
|
||||
#include "memory/paging_util.h"
|
||||
#include "object/pci_port.h"
|
||||
#include "object/process.h"
|
||||
#include "object/thread.h"
|
||||
#include "scheduler/process_manager.h"
|
||||
|
|
@ -188,9 +187,7 @@ void LoadInitProgram() {
|
|||
WriteFramebufferVmmo(port);
|
||||
|
||||
if (WritePciVmmo(port, Z_BOOT_PCI_VMMO) != glcr::OK) {
|
||||
dbgln("Failed to find PCIe space, creating PCI IO Port Cap");
|
||||
auto pci_port = PciPort::Create();
|
||||
port->WriteKernel(Z_BOOT_PCI_VMMO, MakeRefCounted<Capability>(pci_port));
|
||||
panic("Failed to provide PCI info to init.");
|
||||
}
|
||||
|
||||
// Start process.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue