Revert "[Zion][Yellowstone] First pass at adding PCI ioport access."

This reverts commit b677633248.
This commit is contained in:
Drew 2025-05-08 00:33:58 -07:00
parent b51d5966d4
commit bddf26b645
16 changed files with 199 additions and 337 deletions

View file

@ -71,14 +71,3 @@ SYS1(SemaphoreWait, z_cap_t, semaphore_cap);
SYS1(SemaphoreSignal, z_cap_t, semaphore_cap);
SYS2(Debug, const char*, message, uint64_t, size);
// TODO: These should be handled with a more generic user-space interface.
// To be honest we could just have an inl and outl interface that is provided to
// yellowstone and the extra ipc load would be a good stress test of our
// performance
SYS6(PciRead, z_cap_t, pci_cap, uint8_t, bus, uint8_t, slot, uint8_t, func,
uint8_t, offset, uint32_t*, output);
SYS5(PciCreateBound, z_cap_t, pci_cap, uint8_t, bus, uint8_t, slot, uint8_t,
func, z_cap_t*, new_cap);
SYS3(PciReadBound, z_cap_t, pci_cap, uint8_t, offset, uint32_t*, data);
SYS3(PciWriteBound, z_cap_t, pci_cap, uint8_t, offset, uint32_t, data);

View file

@ -67,11 +67,6 @@ const uint64_t kZionSemaphoreSignal = 0x85;
// Debugging Calls.
const uint64_t kZionDebug = 0x1'0000;
const uint64_t kZionPciRead = 0x1'1000;
const uint64_t kZionPciCreateBound = 0x1'1001;
const uint64_t kZionPciReadBound = 0x1'1002;
const uint64_t kZionPciWriteBound = 0x1'1003;
// Irq Types
const uint64_t kZIrqKbd = 0x22;
const uint64_t kZIrqPci1 = 0x30;