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

@ -43,11 +43,13 @@ impl YellowstoneServerContext {
green_mask_shift: fb_info.green_mask_shift as u64,
}
}
}
pub fn new(pci_cap: Capability, fb_region: MemoryRegion) -> Result<Self, ZError> {
impl YellowstoneServerContext {
pub fn new(pci_region: MemoryRegion, fb_region: MemoryRegion) -> Result<Self, ZError> {
Ok(Self {
registration_semaphore: mammoth::sync::Semaphore::new()?,
pci_reader: PciReader::new(pci_cap),
pci_reader: PciReader::new(pci_region),
framebuffer_info_region: fb_region,
service_map: Mutex::new(BTreeMap::new()),
})