fn finalize_window(
    resources: &mut SystemAllocator,
    prefetchable: bool,
    alloc: Alloc,
    base: u64,
    size: u64
) -> Result<(u64, u64), PciDeviceError>