11.07.2015 Views

Beyond DOS: The UEFI Shell –a Modern Pre-boot Application ... - Intel

Beyond DOS: The UEFI Shell –a Modern Pre-boot Application ... - Intel

Beyond DOS: The UEFI Shell –a Modern Pre-boot Application ... - Intel

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Porting ACPICA• Use standard C libs• Use <strong>UEFI</strong> API to provide hardware access• Use <strong>UEFI</strong> periodic timer events to monitor– GPE events– Notify eventsACPI_STATUS AcpiOsReadPciConfiguration (ACPI_PCI_ID *PciId, UINT32 Register,void *Value, UINT32 Width){UINT64Pciex_Address=0;Pciex_Address = CALC_EFI_PCIEX_ADDRESS (PciId->Bus,PciId->Device,PciId->Function, Register);switch (Width) {case 8:Status = gRootBridgeIo->Pci.Read (gRootBridgeIo,EfiPciWidthUint8, Pciex_Address, 1, Value);…32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!