├── LICENSE
├── README.md
├── Voyager
├── PayLoad (AMD)
│ ├── PayLoad (AMD).vcxproj
│ ├── PayLoad (AMD).vcxproj.filters
│ ├── PayLoad (AMD).vcxproj.user
│ ├── debug.cpp
│ ├── debug.h
│ ├── ia32.hpp
│ ├── mm.cpp
│ ├── mm.h
│ ├── types.h
│ ├── vmexit.cpp
│ ├── vmexit.h
│ └── vmexit_handler.cpp
├── PayLoad (Intel)
│ ├── PayLoad (Intel).vcxproj
│ ├── PayLoad (Intel).vcxproj.filters
│ ├── PayLoad (Intel).vcxproj.user
│ ├── debug.cpp
│ ├── debug.h
│ ├── ia32.hpp
│ ├── mm.cpp
│ ├── mm.h
│ ├── types.h
│ ├── vmexit.cpp
│ ├── vmexit.h
│ └── vmexit_handler.cpp
├── Voyager.sln
├── Voyager
│ ├── BootMgfw.c
│ ├── BootMgfw.h
│ ├── Hv.c
│ ├── Hv.h
│ ├── HvLoader.c
│ ├── HvLoader.h
│ ├── InlineHook.c
│ ├── InlineHook.h
│ ├── PagingTables.h
│ ├── PayLoad.c
│ ├── PayLoad.h
│ ├── SplashScreen.c
│ ├── SplashScreen.h
│ ├── UefiMain.c
│ ├── Utils.c
│ ├── Utils.h
│ ├── Voyager.vcxproj
│ ├── Voyager.vcxproj.filters
│ ├── Voyager.vcxproj.user
│ ├── WinLoad.c
│ ├── WinLoad.h
│ └── edk2
│ │ ├── BaseCacheMaintenanceLib.lib
│ │ ├── BaseCpuLib.lib
│ │ ├── BaseCryptLib.lib
│ │ ├── BaseDebugPrintErrorLevelLib.lib
│ │ ├── BaseLib.lib
│ │ ├── BaseMemoryLib.lib
│ │ ├── BasePrintLib.lib
│ │ ├── BaseSynchronizationLib.lib
│ │ ├── CryptoPkg
│ │ └── Include
│ │ │ └── Library
│ │ │ ├── BaseCryptLib.h
│ │ │ └── TlsLib.h
│ │ ├── GlueLib.lib
│ │ ├── IntrinsicLib.lib
│ │ ├── MdePkg
│ │ └── Include
│ │ │ ├── AArch64
│ │ │ └── ProcessorBind.h
│ │ │ ├── Arm
│ │ │ └── ProcessorBind.h
│ │ │ ├── Base.h
│ │ │ ├── Ebc
│ │ │ └── ProcessorBind.h
│ │ │ ├── Guid
│ │ │ ├── Acpi.h
│ │ │ ├── Apriori.h
│ │ │ ├── AprioriFileName.h
│ │ │ ├── Btt.h
│ │ │ ├── CapsuleReport.h
│ │ │ ├── Cper.h
│ │ │ ├── DebugImageInfoTable.h
│ │ │ ├── DxeServices.h
│ │ │ ├── EventGroup.h
│ │ │ ├── EventLegacyBios.h
│ │ │ ├── FileInfo.h
│ │ │ ├── FileSystemInfo.h
│ │ │ ├── FileSystemVolumeLabelInfo.h
│ │ │ ├── FirmwareContentsSigned.h
│ │ │ ├── FirmwareFileSystem2.h
│ │ │ ├── FirmwareFileSystem3.h
│ │ │ ├── FmpCapsule.h
│ │ │ ├── GlobalVariable.h
│ │ │ ├── Gpt.h
│ │ │ ├── GraphicsInfoHob.h
│ │ │ ├── HardwareErrorVariable.h
│ │ │ ├── HiiFormMapMethodGuid.h
│ │ │ ├── HiiKeyBoardLayout.h
│ │ │ ├── HiiPlatformSetupFormset.h
│ │ │ ├── HobList.h
│ │ │ ├── ImageAuthentication.h
│ │ │ ├── MdePkgTokenSpace.h
│ │ │ ├── MemoryAllocationHob.h
│ │ │ ├── MemoryAttributesTable.h
│ │ │ ├── MemoryOverwriteControl.h
│ │ │ ├── Mps.h
│ │ │ ├── PcAnsi.h
│ │ │ ├── PropertiesTable.h
│ │ │ ├── SalSystemTable.h
│ │ │ ├── SmBios.h
│ │ │ ├── StatusCodeDataTypeId.h
│ │ │ ├── SystemResourceTable.h
│ │ │ ├── VectorHandoffTable.h
│ │ │ └── WinCertificate.h
│ │ │ ├── Ia32
│ │ │ ├── Nasm.inc
│ │ │ └── ProcessorBind.h
│ │ │ ├── IndustryStandard
│ │ │ ├── Acpi.h
│ │ │ ├── Acpi10.h
│ │ │ ├── Acpi20.h
│ │ │ ├── Acpi30.h
│ │ │ ├── Acpi40.h
│ │ │ ├── Acpi50.h
│ │ │ ├── Acpi51.h
│ │ │ ├── Acpi60.h
│ │ │ ├── Acpi61.h
│ │ │ ├── Acpi62.h
│ │ │ ├── AcpiAml.h
│ │ │ ├── AlertStandardFormatTable.h
│ │ │ ├── Atapi.h
│ │ │ ├── Bluetooth.h
│ │ │ ├── Bmp.h
│ │ │ ├── DebugPort2Table.h
│ │ │ ├── DebugPortTable.h
│ │ │ ├── Dhcp.h
│ │ │ ├── DmaRemappingReportingTable.h
│ │ │ ├── ElTorito.h
│ │ │ ├── Emmc.h
│ │ │ ├── HighPrecisionEventTimerTable.h
│ │ │ ├── Hsti.h
│ │ │ ├── Http11.h
│ │ │ ├── IScsiBootFirmwareTable.h
│ │ │ ├── IoRemappingTable.h
│ │ │ ├── Ipmi.h
│ │ │ ├── IpmiFruInformationStorage.h
│ │ │ ├── IpmiNetFnApp.h
│ │ │ ├── IpmiNetFnBridge.h
│ │ │ ├── IpmiNetFnChassis.h
│ │ │ ├── IpmiNetFnFirmware.h
│ │ │ ├── IpmiNetFnGroupExtension.h
│ │ │ ├── IpmiNetFnSensorEvent.h
│ │ │ ├── IpmiNetFnStorage.h
│ │ │ ├── IpmiNetFnTransport.h
│ │ │ ├── LegacyBiosMpTable.h
│ │ │ ├── LowPowerIdleTable.h
│ │ │ ├── Mbr.h
│ │ │ ├── MemoryMappedConfigurationSpaceAccessTable.h
│ │ │ ├── MemoryOverwriteRequestControlLock.h
│ │ │ ├── Nvme.h
│ │ │ ├── Pal.h
│ │ │ ├── Pci.h
│ │ │ ├── Pci22.h
│ │ │ ├── Pci23.h
│ │ │ ├── Pci30.h
│ │ │ ├── PciCodeId.h
│ │ │ ├── PciExpress21.h
│ │ │ ├── PciExpress30.h
│ │ │ ├── PciExpress31.h
│ │ │ ├── PciExpress40.h
│ │ │ ├── PeImage.h
│ │ │ ├── Sal.h
│ │ │ ├── Scsi.h
│ │ │ ├── Sd.h
│ │ │ ├── SdramSpd.h
│ │ │ ├── SdramSpdDdr3.h
│ │ │ ├── SdramSpdDdr4.h
│ │ │ ├── SdramSpdLpDdr.h
│ │ │ ├── SerialPortConsoleRedirectionTable.h
│ │ │ ├── ServiceProcessorManagementInterfaceTable.h
│ │ │ ├── SmBios.h
│ │ │ ├── SmBus.h
│ │ │ ├── TcgPhysicalPresence.h
│ │ │ ├── TcgStorageCore.h
│ │ │ ├── TcgStorageOpal.h
│ │ │ ├── TcpaAcpi.h
│ │ │ ├── Tls1.h
│ │ │ ├── Tpm12.h
│ │ │ ├── Tpm20.h
│ │ │ ├── Tpm2Acpi.h
│ │ │ ├── TpmPtp.h
│ │ │ ├── TpmTis.h
│ │ │ ├── Udf.h
│ │ │ ├── UefiTcgPlatform.h
│ │ │ ├── Usb.h
│ │ │ ├── WatchdogActionTable.h
│ │ │ ├── WatchdogResourceTable.h
│ │ │ ├── WindowsSmmSecurityMitigationTable.h
│ │ │ └── WindowsUxCapsule.h
│ │ │ ├── Library
│ │ │ ├── BaseLib.h
│ │ │ ├── BaseMemoryLib.h
│ │ │ ├── CacheMaintenanceLib.h
│ │ │ ├── CpuLib.h
│ │ │ ├── DebugLib.h
│ │ │ ├── DebugPrintErrorLevelLib.h
│ │ │ ├── DevicePathLib.h
│ │ │ ├── DxeCoreEntryPoint.h
│ │ │ ├── DxeServicesLib.h
│ │ │ ├── DxeServicesTableLib.h
│ │ │ ├── ExtendedSalLib.h
│ │ │ ├── ExtractGuidedSectionLib.h
│ │ │ ├── FileHandleLib.h
│ │ │ ├── HobLib.h
│ │ │ ├── HstiLib.h
│ │ │ ├── IoLib.h
│ │ │ ├── MemoryAllocationLib.h
│ │ │ ├── MmServicesTableLib.h
│ │ │ ├── OrderedCollectionLib.h
│ │ │ ├── PalLib.h
│ │ │ ├── PcdLib.h
│ │ │ ├── PciCf8Lib.h
│ │ │ ├── PciExpressLib.h
│ │ │ ├── PciLib.h
│ │ │ ├── PciSegmentInfoLib.h
│ │ │ ├── PciSegmentLib.h
│ │ │ ├── PeCoffExtraActionLib.h
│ │ │ ├── PeCoffGetEntryPointLib.h
│ │ │ ├── PeCoffLib.h
│ │ │ ├── PeiCoreEntryPoint.h
│ │ │ ├── PeiServicesLib.h
│ │ │ ├── PeiServicesTablePointerLib.h
│ │ │ ├── PeimEntryPoint.h
│ │ │ ├── PerformanceLib.h
│ │ │ ├── PostCodeLib.h
│ │ │ ├── PrintLib.h
│ │ │ ├── ReportStatusCodeLib.h
│ │ │ ├── ResourcePublicationLib.h
│ │ │ ├── RngLib.h
│ │ │ ├── S3BootScriptLib.h
│ │ │ ├── S3IoLib.h
│ │ │ ├── S3PciLib.h
│ │ │ ├── S3PciSegmentLib.h
│ │ │ ├── S3SmbusLib.h
│ │ │ ├── S3StallLib.h
│ │ │ ├── SafeIntLib.h
│ │ │ ├── SalLib.h
│ │ │ ├── SerialPortLib.h
│ │ │ ├── SmbusLib.h
│ │ │ ├── SmiHandlerProfileLib.h
│ │ │ ├── SmmIoLib.h
│ │ │ ├── SmmLib.h
│ │ │ ├── SmmMemLib.h
│ │ │ ├── SmmPeriodicSmiLib.h
│ │ │ ├── SmmServicesTableLib.h
│ │ │ ├── StandaloneMmDriverEntryPoint.h
│ │ │ ├── SynchronizationLib.h
│ │ │ ├── TimerLib.h
│ │ │ ├── UefiApplicationEntryPoint.h
│ │ │ ├── UefiBootServicesTableLib.h
│ │ │ ├── UefiDecompressLib.h
│ │ │ ├── UefiDriverEntryPoint.h
│ │ │ ├── UefiLib.h
│ │ │ ├── UefiRuntimeLib.h
│ │ │ ├── UefiRuntimeServicesTableLib.h
│ │ │ ├── UefiScsiLib.h
│ │ │ └── UefiUsbLib.h
│ │ │ ├── Pi
│ │ │ ├── PiBootMode.h
│ │ │ ├── PiDependency.h
│ │ │ ├── PiDxeCis.h
│ │ │ ├── PiFirmwareFile.h
│ │ │ ├── PiFirmwareVolume.h
│ │ │ ├── PiHob.h
│ │ │ ├── PiI2c.h
│ │ │ ├── PiMmCis.h
│ │ │ ├── PiMultiPhase.h
│ │ │ ├── PiPeiCis.h
│ │ │ ├── PiS3BootScript.h
│ │ │ ├── PiSmmCis.h
│ │ │ └── PiStatusCode.h
│ │ │ ├── PiDxe.h
│ │ │ ├── PiMm.h
│ │ │ ├── PiPei.h
│ │ │ ├── PiSmm.h
│ │ │ ├── Ppi
│ │ │ ├── BlockIo.h
│ │ │ ├── BlockIo2.h
│ │ │ ├── BootInRecoveryMode.h
│ │ │ ├── Capsule.h
│ │ │ ├── CpuIo.h
│ │ │ ├── Decompress.h
│ │ │ ├── DeviceRecoveryModule.h
│ │ │ ├── DxeIpl.h
│ │ │ ├── EndOfPeiPhase.h
│ │ │ ├── FirmwareVolume.h
│ │ │ ├── FirmwareVolumeInfo.h
│ │ │ ├── FirmwareVolumeInfo2.h
│ │ │ ├── Graphics.h
│ │ │ ├── GuidedSectionExtraction.h
│ │ │ ├── I2cMaster.h
│ │ │ ├── IsaHc.h
│ │ │ ├── LoadFile.h
│ │ │ ├── LoadImage.h
│ │ │ ├── MasterBootMode.h
│ │ │ ├── MemoryDiscovered.h
│ │ │ ├── MpServices.h
│ │ │ ├── Pcd.h
│ │ │ ├── PcdInfo.h
│ │ │ ├── PciCfg2.h
│ │ │ ├── PeiCoreFvLocation.h
│ │ │ ├── PiPcd.h
│ │ │ ├── PiPcdInfo.h
│ │ │ ├── ReadOnlyVariable2.h
│ │ │ ├── RecoveryModule.h
│ │ │ ├── ReportStatusCodeHandler.h
│ │ │ ├── Reset.h
│ │ │ ├── Reset2.h
│ │ │ ├── S3Resume2.h
│ │ │ ├── SecHobData.h
│ │ │ ├── SecPlatformInformation.h
│ │ │ ├── SecPlatformInformation2.h
│ │ │ ├── Security2.h
│ │ │ ├── Smbus2.h
│ │ │ ├── Stall.h
│ │ │ ├── StatusCode.h
│ │ │ ├── SuperIo.h
│ │ │ ├── TemporaryRamDone.h
│ │ │ ├── TemporaryRamSupport.h
│ │ │ └── VectorHandoffInfo.h
│ │ │ ├── Protocol
│ │ │ ├── AbsolutePointer.h
│ │ │ ├── AcpiSystemDescriptionTable.h
│ │ │ ├── AcpiTable.h
│ │ │ ├── AdapterInformation.h
│ │ │ ├── Arp.h
│ │ │ ├── AtaPassThru.h
│ │ │ ├── AuthenticationInfo.h
│ │ │ ├── Bds.h
│ │ │ ├── Bis.h
│ │ │ ├── BlockIo.h
│ │ │ ├── BlockIo2.h
│ │ │ ├── BlockIoCrypto.h
│ │ │ ├── BluetoothAttribute.h
│ │ │ ├── BluetoothConfig.h
│ │ │ ├── BluetoothHc.h
│ │ │ ├── BluetoothIo.h
│ │ │ ├── BluetoothLeConfig.h
│ │ │ ├── BootManagerPolicy.h
│ │ │ ├── BusSpecificDriverOverride.h
│ │ │ ├── Capsule.h
│ │ │ ├── ComponentName.h
│ │ │ ├── ComponentName2.h
│ │ │ ├── Cpu.h
│ │ │ ├── CpuIo2.h
│ │ │ ├── DebugPort.h
│ │ │ ├── DebugSupport.h
│ │ │ ├── Decompress.h
│ │ │ ├── DeferredImageLoad.h
│ │ │ ├── DeviceIo.h
│ │ │ ├── DevicePath.h
│ │ │ ├── DevicePathFromText.h
│ │ │ ├── DevicePathToText.h
│ │ │ ├── DevicePathUtilities.h
│ │ │ ├── Dhcp4.h
│ │ │ ├── Dhcp6.h
│ │ │ ├── DiskInfo.h
│ │ │ ├── DiskIo.h
│ │ │ ├── DiskIo2.h
│ │ │ ├── Dns4.h
│ │ │ ├── Dns6.h
│ │ │ ├── DriverBinding.h
│ │ │ ├── DriverConfiguration.h
│ │ │ ├── DriverConfiguration2.h
│ │ │ ├── DriverDiagnostics.h
│ │ │ ├── DriverDiagnostics2.h
│ │ │ ├── DriverFamilyOverride.h
│ │ │ ├── DriverHealth.h
│ │ │ ├── DriverSupportedEfiVersion.h
│ │ │ ├── DxeMmReadyToLock.h
│ │ │ ├── DxeSmmReadyToLock.h
│ │ │ ├── Eap.h
│ │ │ ├── EapConfiguration.h
│ │ │ ├── EapManagement.h
│ │ │ ├── EapManagement2.h
│ │ │ ├── Ebc.h
│ │ │ ├── EdidActive.h
│ │ │ ├── EdidDiscovered.h
│ │ │ ├── EdidOverride.h
│ │ │ ├── EraseBlock.h
│ │ │ ├── ExtendedSalBootService.h
│ │ │ ├── ExtendedSalServiceClasses.h
│ │ │ ├── FirmwareManagement.h
│ │ │ ├── FirmwareVolume2.h
│ │ │ ├── FirmwareVolumeBlock.h
│ │ │ ├── FormBrowser2.h
│ │ │ ├── Ftp4.h
│ │ │ ├── GraphicsOutput.h
│ │ │ ├── GuidedSectionExtraction.h
│ │ │ ├── Hash.h
│ │ │ ├── Hash2.h
│ │ │ ├── HiiConfigAccess.h
│ │ │ ├── HiiConfigKeyword.h
│ │ │ ├── HiiConfigRouting.h
│ │ │ ├── HiiDatabase.h
│ │ │ ├── HiiFont.h
│ │ │ ├── HiiImage.h
│ │ │ ├── HiiImageDecoder.h
│ │ │ ├── HiiImageEx.h
│ │ │ ├── HiiPackageList.h
│ │ │ ├── HiiPopup.h
│ │ │ ├── HiiString.h
│ │ │ ├── Http.h
│ │ │ ├── HttpBootCallback.h
│ │ │ ├── HttpUtilities.h
│ │ │ ├── I2cBusConfigurationManagement.h
│ │ │ ├── I2cEnumerate.h
│ │ │ ├── I2cHost.h
│ │ │ ├── I2cIo.h
│ │ │ ├── I2cMaster.h
│ │ │ ├── IScsiInitiatorName.h
│ │ │ ├── IdeControllerInit.h
│ │ │ ├── IncompatiblePciDeviceSupport.h
│ │ │ ├── Ip4.h
│ │ │ ├── Ip4Config.h
│ │ │ ├── Ip4Config2.h
│ │ │ ├── Ip6.h
│ │ │ ├── Ip6Config.h
│ │ │ ├── IpSec.h
│ │ │ ├── IpSecConfig.h
│ │ │ ├── IsaHc.h
│ │ │ ├── Kms.h
│ │ │ ├── LegacyRegion2.h
│ │ │ ├── LegacySpiController.h
│ │ │ ├── LegacySpiFlash.h
│ │ │ ├── LegacySpiSmmController.h
│ │ │ ├── LegacySpiSmmFlash.h
│ │ │ ├── LoadFile.h
│ │ │ ├── LoadFile2.h
│ │ │ ├── LoadedImage.h
│ │ │ ├── ManagedNetwork.h
│ │ │ ├── McaInitPmi.h
│ │ │ ├── Metronome.h
│ │ │ ├── MmAccess.h
│ │ │ ├── MmBase.h
│ │ │ ├── MmCommunication.h
│ │ │ ├── MmConfiguration.h
│ │ │ ├── MmControl.h
│ │ │ ├── MmCpu.h
│ │ │ ├── MmCpuIo.h
│ │ │ ├── MmEndOfDxe.h
│ │ │ ├── MmGpiDispatch.h
│ │ │ ├── MmIoTrapDispatch.h
│ │ │ ├── MmPciRootBridgeIo.h
│ │ │ ├── MmPeriodicTimerDispatch.h
│ │ │ ├── MmPowerButtonDispatch.h
│ │ │ ├── MmReadyToLock.h
│ │ │ ├── MmReportStatusCodeHandler.h
│ │ │ ├── MmStandbyButtonDispatch.h
│ │ │ ├── MmStatusCode.h
│ │ │ ├── MmSwDispatch.h
│ │ │ ├── MmSxDispatch.h
│ │ │ ├── MmUsbDispatch.h
│ │ │ ├── MonotonicCounter.h
│ │ │ ├── MpService.h
│ │ │ ├── Mtftp4.h
│ │ │ ├── Mtftp6.h
│ │ │ ├── NetworkInterfaceIdentifier.h
│ │ │ ├── NvdimmLabel.h
│ │ │ ├── NvmExpressPassthru.h
│ │ │ ├── PartitionInfo.h
│ │ │ ├── Pcd.h
│ │ │ ├── PcdInfo.h
│ │ │ ├── PciEnumerationComplete.h
│ │ │ ├── PciHostBridgeResourceAllocation.h
│ │ │ ├── PciHotPlugInit.h
│ │ │ ├── PciHotPlugRequest.h
│ │ │ ├── PciIo.h
│ │ │ ├── PciOverride.h
│ │ │ ├── PciPlatform.h
│ │ │ ├── PciRootBridgeIo.h
│ │ │ ├── PiPcd.h
│ │ │ ├── PiPcdInfo.h
│ │ │ ├── Pkcs7Verify.h
│ │ │ ├── PlatformDriverOverride.h
│ │ │ ├── PlatformToDriverConfiguration.h
│ │ │ ├── PxeBaseCode.h
│ │ │ ├── PxeBaseCodeCallBack.h
│ │ │ ├── RamDisk.h
│ │ │ ├── RealTimeClock.h
│ │ │ ├── RegularExpressionProtocol.h
│ │ │ ├── ReportStatusCodeHandler.h
│ │ │ ├── Reset.h
│ │ │ ├── ResetNotification.h
│ │ │ ├── Rest.h
│ │ │ ├── Rng.h
│ │ │ ├── Runtime.h
│ │ │ ├── S3SaveState.h
│ │ │ ├── S3SmmSaveState.h
│ │ │ ├── ScsiIo.h
│ │ │ ├── ScsiPassThru.h
│ │ │ ├── ScsiPassThruExt.h
│ │ │ ├── SdMmcPassThru.h
│ │ │ ├── Security.h
│ │ │ ├── Security2.h
│ │ │ ├── SecurityPolicy.h
│ │ │ ├── SerialIo.h
│ │ │ ├── ServiceBinding.h
│ │ │ ├── Shell.h
│ │ │ ├── ShellDynamicCommand.h
│ │ │ ├── ShellParameters.h
│ │ │ ├── SimpleFileSystem.h
│ │ │ ├── SimpleNetwork.h
│ │ │ ├── SimplePointer.h
│ │ │ ├── SimpleTextIn.h
│ │ │ ├── SimpleTextInEx.h
│ │ │ ├── SimpleTextOut.h
│ │ │ ├── SmartCardEdge.h
│ │ │ ├── SmartCardReader.h
│ │ │ ├── Smbios.h
│ │ │ ├── SmbusHc.h
│ │ │ ├── SmmAccess2.h
│ │ │ ├── SmmBase2.h
│ │ │ ├── SmmCommunication.h
│ │ │ ├── SmmConfiguration.h
│ │ │ ├── SmmControl2.h
│ │ │ ├── SmmCpu.h
│ │ │ ├── SmmCpuIo2.h
│ │ │ ├── SmmEndOfDxe.h
│ │ │ ├── SmmGpiDispatch2.h
│ │ │ ├── SmmIoTrapDispatch2.h
│ │ │ ├── SmmPciRootBridgeIo.h
│ │ │ ├── SmmPeriodicTimerDispatch2.h
│ │ │ ├── SmmPowerButtonDispatch2.h
│ │ │ ├── SmmReadyToLock.h
│ │ │ ├── SmmReportStatusCodeHandler.h
│ │ │ ├── SmmStandbyButtonDispatch2.h
│ │ │ ├── SmmStatusCode.h
│ │ │ ├── SmmSwDispatch2.h
│ │ │ ├── SmmSxDispatch2.h
│ │ │ ├── SmmUsbDispatch2.h
│ │ │ ├── SpiConfiguration.h
│ │ │ ├── SpiHc.h
│ │ │ ├── SpiIo.h
│ │ │ ├── SpiNorFlash.h
│ │ │ ├── SpiSmmConfiguration.h
│ │ │ ├── SpiSmmHc.h
│ │ │ ├── SpiSmmNorFlash.h
│ │ │ ├── StatusCode.h
│ │ │ ├── StorageSecurityCommand.h
│ │ │ ├── SuperIo.h
│ │ │ ├── SuperIoControl.h
│ │ │ ├── Supplicant.h
│ │ │ ├── TapeIo.h
│ │ │ ├── Tcg2Protocol.h
│ │ │ ├── TcgService.h
│ │ │ ├── Tcp4.h
│ │ │ ├── Tcp6.h
│ │ │ ├── Timer.h
│ │ │ ├── Timestamp.h
│ │ │ ├── Tls.h
│ │ │ ├── TlsConfig.h
│ │ │ ├── TrEEProtocol.h
│ │ │ ├── Udp4.h
│ │ │ ├── Udp6.h
│ │ │ ├── UfsDeviceConfig.h
│ │ │ ├── UgaDraw.h
│ │ │ ├── UgaIo.h
│ │ │ ├── UnicodeCollation.h
│ │ │ ├── Usb2HostController.h
│ │ │ ├── UsbFunctionIo.h
│ │ │ ├── UsbHostController.h
│ │ │ ├── UsbIo.h
│ │ │ ├── UserCredential.h
│ │ │ ├── UserCredential2.h
│ │ │ ├── UserManager.h
│ │ │ ├── Variable.h
│ │ │ ├── VariableWrite.h
│ │ │ ├── VlanConfig.h
│ │ │ ├── WatchdogTimer.h
│ │ │ ├── WiFi.h
│ │ │ └── WiFi2.h
│ │ │ ├── Uefi.h
│ │ │ ├── Uefi
│ │ │ ├── UefiAcpiDataTable.h
│ │ │ ├── UefiBaseType.h
│ │ │ ├── UefiGpt.h
│ │ │ ├── UefiInternalFormRepresentation.h
│ │ │ ├── UefiMultiPhase.h
│ │ │ ├── UefiPxe.h
│ │ │ └── UefiSpec.h
│ │ │ └── X64
│ │ │ ├── Nasm.inc
│ │ │ └── ProcessorBind.h
│ │ ├── OpensslLib.lib
│ │ ├── ShellPkg
│ │ └── Include
│ │ │ ├── Guid
│ │ │ ├── ShellAliasGuid.h
│ │ │ ├── ShellEnvironment2Ext.h
│ │ │ ├── ShellLibHiiGuid.h
│ │ │ ├── ShellMapGuid.h
│ │ │ ├── ShellPkgTokenSpace.h
│ │ │ └── ShellVariableGuid.h
│ │ │ ├── Library
│ │ │ ├── BcfgCommandLib.h
│ │ │ ├── HandleParsingLib.h
│ │ │ ├── ShellCEntryLib.h
│ │ │ ├── ShellCommandLib.h
│ │ │ └── ShellLib.h
│ │ │ └── Protocol
│ │ │ ├── EfiShellEnvironment2.h
│ │ │ └── EfiShellInterface.h
│ │ ├── UefiApplicationEntryPoint.lib
│ │ ├── UefiBootServicesTableLib.lib
│ │ ├── UefiDebugLibConOut.lib
│ │ ├── UefiDevicePathLibDevicePathProtocol.lib
│ │ ├── UefiDriverEntryPoint.lib
│ │ ├── UefiFileHandleLib.lib
│ │ ├── UefiHiiLib.lib
│ │ ├── UefiHiiServicesLib.lib
│ │ ├── UefiLib.lib
│ │ ├── UefiMemoryAllocationLib.lib
│ │ ├── UefiMemoryLib.lib
│ │ ├── UefiRuntimeLib.lib
│ │ ├── UefiRuntimeServicesTableLib.lib
│ │ ├── UefiShellLib.lib
│ │ └── UefiSortLib.lib
├── example
│ ├── example.vcxproj
│ ├── example.vcxproj.filters
│ ├── example.vcxproj.user
│ ├── libvoyager.hpp
│ ├── libvoyager.lib
│ ├── main.cpp
│ ├── util
│ │ ├── nt.hpp
│ │ └── util.hpp
│ └── vdm_ctx
│ │ ├── vdm_ctx.cpp
│ │ └── vdm_ctx.hpp
└── libvoyager
│ ├── com.asm
│ ├── libvoyager.cpp
│ ├── libvoyager.hpp
│ ├── libvoyager.sln
│ ├── libvoyager.vcxproj
│ ├── libvoyager.vcxproj.filters
│ └── libvoyager.vcxproj.user
├── img
├── 2004--1507-supported-green.svg
├── Intel-supported-green.svg
├── Legacy_BIOS-Unsupported-red.svg
├── Secure Boot-Unsupported-red.svg
├── amd_badge.svg
├── hookchain.png
├── sections.PNG
└── unknown.png
└── launch.bat
/Voyager/PayLoad (AMD)/PayLoad (AMD).vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 |
14 |
15 | Header Files
16 |
17 |
18 | Header Files
19 |
20 |
21 | Header Files
22 |
23 |
24 | Header Files
25 |
26 |
27 | Header Files
28 |
29 |
30 |
31 |
32 | Source Files
33 |
34 |
35 | Source Files
36 |
37 |
38 | Source Files
39 |
40 |
41 | Source Files
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Voyager/PayLoad (AMD)/PayLoad (AMD).vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Voyager/PayLoad (AMD)/debug.cpp:
--------------------------------------------------------------------------------
1 | #include "debug.h"
2 |
3 | auto dbg::debug_print_decimal(long long number) -> void
4 | {
5 | if (number < 0)
6 | {
7 | __outbyte(PORT_NUM, '-');
8 | number = -number;
9 | }
10 |
11 | for (auto d = 1000000000000000000; d != 0; d /= 10)
12 | if ((number / d) != 0)
13 | __outbyte(PORT_NUM, alphabet[(number / d) % 10]);
14 | }
15 |
16 | auto dbg::debug_print_hex(u64 number, const bool show_zeros) -> void
17 | {
18 | for (auto d = 0x1000000000000000; d != 0; d /= 0x10)
19 | if (show_zeros || (number / d) != 0)
20 | __outbyte(PORT_NUM, alphabet[(number / d) % 0x10]);
21 | }
22 |
23 | auto dbg::print(const char* format, ...) -> void
24 | {
25 | va_list args;
26 | va_start(args, format);
27 |
28 | while (format[0])
29 | {
30 | if (format[0] == '%')
31 | {
32 | switch (format[1])
33 | {
34 | case 'd':
35 | debug_print_decimal(va_arg(args, int));
36 | format += 2;
37 | continue;
38 | case 'x':
39 | debug_print_hex(va_arg(args, u32), false);
40 | format += 2;
41 | continue;
42 | case 'l':
43 | if (format[2] == 'l')
44 | {
45 | switch (format[3])
46 | {
47 | case 'd':
48 | debug_print_decimal(va_arg(args, u64));
49 | format += 4;
50 | continue;
51 | case 'x':
52 | debug_print_hex(va_arg(args, u64), false);
53 | format += 4;
54 | continue;
55 | }
56 | }
57 | break;
58 | case 'p':
59 | debug_print_hex(va_arg(args, u64), true);
60 | format += 2;
61 | continue;
62 | }
63 | }
64 |
65 | __outbyte(PORT_NUM, format[0]);
66 | ++format;
67 | }
68 | va_end(args);
69 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (AMD)/debug.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 | #include "types.h"
5 |
6 | #define PORT_NUM 0x2F8
7 | namespace dbg
8 | {
9 | constexpr char alphabet[] = "0123456789ABCDEF";
10 | auto debug_print_decimal(long long number) -> void;
11 | auto debug_print_hex(u64 number, const bool show_zeros) -> void;
12 | auto print(const char* format, ...) -> void;
13 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (AMD)/vmexit.cpp:
--------------------------------------------------------------------------------
1 | #include "vmexit.h"
2 | #include "debug.h"
3 |
4 | namespace vmexit
5 | {
6 | auto get_command(guest_virt_t command_ptr) -> svm::command_t
7 | {
8 | const auto vmcb = svm::get_vmcb();
9 | const auto guest_dirbase = cr3{ vmcb->cr3 }.pml4_pfn << 12;
10 |
11 | const auto command_page =
12 | mm::map_guest_virt(guest_dirbase, command_ptr);
13 |
14 | return *reinterpret_cast(command_page);
15 | }
16 |
17 | auto set_command(guest_virt_t command_ptr, svm::command_t& command_data) -> void
18 | {
19 | const auto vmcb = svm::get_vmcb();
20 | const auto guest_dirbase = cr3{ vmcb->cr3 }.pml4_pfn << 12;
21 |
22 | const auto command_page =
23 | mm::map_guest_virt(guest_dirbase, command_ptr);
24 |
25 | *reinterpret_cast(command_page) = command_data;
26 | }
27 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (AMD)/vmexit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "mm.h"
3 |
4 | namespace vmexit
5 | {
6 | auto get_command(guest_virt_t command_ptr) -> svm::command_t;
7 | auto set_command(guest_virt_t command_ptr, svm::command_t& command_data) -> void;
8 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/PayLoad (Intel).vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 |
14 |
15 | Source Files
16 |
17 |
18 | Source Files
19 |
20 |
21 | Source Files
22 |
23 |
24 | Source Files
25 |
26 |
27 |
28 |
29 | Header Files
30 |
31 |
32 | Header Files
33 |
34 |
35 | Header Files
36 |
37 |
38 | Header Files
39 |
40 |
41 | Header Files
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/PayLoad (Intel).vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/debug.cpp:
--------------------------------------------------------------------------------
1 | #include "debug.h"
2 |
3 | auto dbg::debug_print_decimal(long long number) -> void
4 | {
5 | if (number < 0)
6 | {
7 | __outbyte(PORT_NUM, '-');
8 | number = -number;
9 | }
10 |
11 | for (auto d = 1000000000000000000; d != 0; d /= 10)
12 | if ((number / d) != 0)
13 | __outbyte(PORT_NUM, alphabet[(number / d) % 10]);
14 | }
15 |
16 | auto dbg::debug_print_hex(u64 number, const bool show_zeros) -> void
17 | {
18 | for (auto d = 0x1000000000000000; d != 0; d /= 0x10)
19 | if (show_zeros || (number / d) != 0)
20 | __outbyte(PORT_NUM, alphabet[(number / d) % 0x10]);
21 | }
22 |
23 | auto dbg::print(const char* format, ...) -> void
24 | {
25 | va_list args;
26 | va_start(args, format);
27 |
28 | while (format[0])
29 | {
30 | if (format[0] == '%')
31 | {
32 | switch (format[1])
33 | {
34 | case 'd':
35 | debug_print_decimal(va_arg(args, int));
36 | format += 2;
37 | continue;
38 | case 'x':
39 | debug_print_hex(va_arg(args, u32), false);
40 | format += 2;
41 | continue;
42 | case 'l':
43 | if (format[2] == 'l')
44 | {
45 | switch (format[3])
46 | {
47 | case 'd':
48 | debug_print_decimal(va_arg(args, u64));
49 | format += 4;
50 | continue;
51 | case 'x':
52 | debug_print_hex(va_arg(args, u64), false);
53 | format += 4;
54 | continue;
55 | }
56 | }
57 | break;
58 | case 'p':
59 | debug_print_hex(va_arg(args, u64), true);
60 | format += 2;
61 | continue;
62 | }
63 | }
64 |
65 | __outbyte(PORT_NUM, format[0]);
66 | ++format;
67 | }
68 | va_end(args);
69 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/debug.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 | #include "types.h"
5 |
6 | #define PORT_NUM 0x2F8
7 | namespace dbg
8 | {
9 | constexpr char alphabet[] = "0123456789ABCDEF";
10 | auto debug_print_decimal(long long number) -> void;
11 | auto debug_print_hex(u64 number, const bool show_zeros) -> void;
12 | auto print(const char* format, ...) -> void;
13 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/vmexit.cpp:
--------------------------------------------------------------------------------
1 | #include "vmexit.h"
2 |
3 | namespace vmexit
4 | {
5 | auto get_command(guest_virt_t command_ptr) -> command_t
6 | {
7 | u64 guest_dirbase;
8 | __vmx_vmread(VMCS_GUEST_CR3, &guest_dirbase);
9 |
10 | // cr3 can contain other high bits so just to be safe
11 | // get the pfn and bitshift it...
12 | guest_dirbase = cr3{ guest_dirbase }.pml4_pfn << 12;
13 |
14 | const auto command_page =
15 | mm::map_guest_virt(guest_dirbase, command_ptr);
16 |
17 | return *reinterpret_cast(command_page);
18 | }
19 |
20 | auto set_command(guest_virt_t command_ptr, command_t& command_data) -> void
21 | {
22 | u64 guest_dirbase;
23 | __vmx_vmread(VMCS_GUEST_CR3, &guest_dirbase);
24 |
25 | // cr3 can contain other high bits so just to be safe
26 | // get the pfn and bitshift it...
27 | guest_dirbase = cr3{ guest_dirbase }.pml4_pfn << 12;
28 |
29 | const auto command_page =
30 | mm::map_guest_virt(guest_dirbase, command_ptr);
31 |
32 | *reinterpret_cast(command_page) = command_data;
33 | }
34 | }
--------------------------------------------------------------------------------
/Voyager/PayLoad (Intel)/vmexit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "mm.h"
3 | #include "debug.h"
4 |
5 | namespace vmexit
6 | {
7 | auto get_command(guest_virt_t command_ptr) -> command_t;
8 | auto set_command(guest_virt_t command_ptr, command_t& command_data) -> void;
9 | }
--------------------------------------------------------------------------------
/Voyager/Voyager/InlineHook.c:
--------------------------------------------------------------------------------
1 | #include "InlineHook.h"
2 |
3 | VOID MakeInlineHook(PINLINE_HOOK_T Hook, VOID* HookFrom, VOID* HookTo, BOOLEAN Install)
4 | {
5 | unsigned char JmpCode[14] =
6 | {
7 | 0xff, 0x25, 0x0, 0x0, 0x0, 0x0, // jmp QWORD PTR[rip + 0x0]
8 |
9 | // jmp address...
10 | 0x0, 0x0, 0x0, 0x0,
11 | 0x0, 0x0, 0x0, 0x0
12 | };
13 |
14 | // save original bytes, and hook related addresses....
15 | Hook->Address = HookFrom;
16 | Hook->HookAddress = HookTo;
17 | MemCopy(Hook->Code, HookFrom, sizeof Hook->Code);
18 |
19 | // setup hook...
20 | MemCopy(JmpCode + 6, &HookTo, sizeof HookTo);
21 | MemCopy(Hook->JmpCode, JmpCode, sizeof JmpCode);
22 | if (Install) EnableInlineHook(Hook);
23 | }
24 |
25 | VOID EnableInlineHook(PINLINE_HOOK_T Hook)
26 | {
27 | MemCopy(Hook->Address, Hook->JmpCode, sizeof Hook->JmpCode);
28 | }
29 |
30 | VOID DisableInlineHook(PINLINE_HOOK_T Hook)
31 | {
32 | MemCopy(Hook->Address, Hook->Code, sizeof Hook->Code);
33 | }
--------------------------------------------------------------------------------
/Voyager/Voyager/InlineHook.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Utils.h"
3 |
4 | typedef struct _INLINE_HOOK
5 | {
6 | unsigned char Code[14];
7 | unsigned char JmpCode[14];
8 |
9 | void* Address;
10 | void* HookAddress;
11 | } INLINE_HOOK, *PINLINE_HOOK_T;
12 |
13 | VOID MakeInlineHook(PINLINE_HOOK_T Hook, VOID* HookFrom, VOID* HookTo, BOOLEAN Install);
14 | VOID EnableInlineHook(PINLINE_HOOK_T Hook);
15 | VOID DisableInlineHook(PINLINE_HOOK_T Hook);
--------------------------------------------------------------------------------
/Voyager/Voyager/PayLoad.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Utils.h"
3 | #include "PagingTables.h"
4 | #include
5 |
6 | #define NT_HEADER(x) ((EFI_IMAGE_NT_HEADERS64*)(((UINT64)(x)) + ((EFI_IMAGE_DOS_HEADER*)(x))->e_lfanew))
7 |
8 | #define SECTION_RWX ((EFI_IMAGE_SCN_MEM_WRITE | \
9 | EFI_IMAGE_SCN_CNT_CODE | \
10 | EFI_IMAGE_SCN_CNT_UNINITIALIZED_DATA | \
11 | EFI_IMAGE_SCN_MEM_EXECUTE | \
12 | EFI_IMAGE_SCN_CNT_INITIALIZED_DATA | \
13 | EFI_IMAGE_SCN_MEM_READ))
14 |
15 | // Source: https://blogs.oracle.com/jwadams/macros-and-powers-of-two
16 | // align x down to the nearest multiple of align. align must be a power of 2.
17 | #define P2ALIGNDOWN(x, align) ((x) & -(align))
18 | // align x up to the nearest multiple of align. align must be a power of 2.
19 | #define P2ALIGNUP(x, align) (-(-(x) & -(align)))
20 |
21 | extern VOID* PayLoad;
22 | #pragma pack(push, 1)
23 | typedef struct _VOYAGER_T
24 | {
25 | UINT64 VmExitHandlerRva;
26 | UINT64 HypervModuleBase;
27 | UINT64 HypervModuleSize;
28 | UINT64 ModuleBase;
29 | UINT64 ModuleSize;
30 | } VOYAGER_T, *PVOYAGER_T;
31 | #pragma pack(pop)
32 |
33 | #define WINDOWS_BOOTMGFW_PATH L"\\efi\\microsoft\\boot\\bootmgfw.efi"
34 | #define PAYLOAD_PATH L"\\efi\\microsoft\\boot\\payload.dll"
35 |
36 | UINT32 PayLoadSize(VOID);
37 | VOID* PayLoadEntry(VOID* ModuleBase);
38 | EFI_STATUS LoadPayLoadFromDisk(VOID** PayLoadBufferPtr);
39 | VOID* AddSection(VOID* ImageBase, CHAR8* SectionName, UINT32 VirtualSize, UINT32 Characteristics);
--------------------------------------------------------------------------------
/Voyager/Voyager/SplashScreen.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | unsigned char AsciiArt[1473];
--------------------------------------------------------------------------------
/Voyager/Voyager/Utils.c:
--------------------------------------------------------------------------------
1 | #include "Utils.h"
2 |
3 | BOOLEAN CheckMask(CHAR8* base, CHAR8* pattern, CHAR8* mask)
4 | {
5 | for (; *mask; ++base, ++pattern, ++mask)
6 | if (*mask == 'x' && *base != *pattern)
7 | return FALSE;
8 |
9 | return TRUE;
10 | }
11 |
12 | VOID* FindPattern(CHAR8* base, UINTN size, CHAR8* pattern, CHAR8* mask)
13 | {
14 | size -= AsciiStrLen(mask);
15 | for (UINTN i = 0; i <= size; ++i)
16 | {
17 | VOID* addr = &base[i];
18 | if (CheckMask(addr, pattern, mask))
19 | return addr;
20 | }
21 | return NULL;
22 | }
23 |
24 | VOID* GetExport(UINT8* ModuleBase, CHAR8* export)
25 | {
26 | EFI_IMAGE_DOS_HEADER* dosHeaders = (EFI_IMAGE_DOS_HEADER*)ModuleBase;
27 | if (dosHeaders->e_magic != EFI_IMAGE_DOS_SIGNATURE)
28 | return NULL;
29 |
30 | EFI_IMAGE_NT_HEADERS64* ntHeaders = (EFI_IMAGE_NT_HEADERS64*)(ModuleBase + dosHeaders->e_lfanew);
31 | UINT32 exportsRva = ntHeaders->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAddress;
32 | EFI_IMAGE_EXPORT_DIRECTORY* exports = (EFI_IMAGE_EXPORT_DIRECTORY*)(ModuleBase + exportsRva);
33 | UINT32* nameRva = (UINT32*)(ModuleBase + exports->AddressOfNames);
34 |
35 | for (UINT32 i = 0; i < exports->NumberOfNames; ++i)
36 | {
37 | CHAR8* func = (CHAR8*)(ModuleBase + nameRva[i]);
38 | if (AsciiStrCmp(func, export) == 0)
39 | {
40 | UINT32* funcRva = (UINT32*)(ModuleBase + exports->AddressOfFunctions);
41 | UINT16* ordinalRva = (UINT16*)(ModuleBase + exports->AddressOfNameOrdinals);
42 | return (VOID*)(((UINT64)ModuleBase) + funcRva[ordinalRva[i]]);
43 | }
44 | }
45 | return NULL;
46 | }
47 |
48 | VOID MemCopy(VOID* dest, VOID* src, UINTN size)
49 | {
50 | for (UINT8* d = dest, *s = src; size--; *d++ = *s++);
51 | }
--------------------------------------------------------------------------------
/Voyager/Voyager/Utils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 | #include
5 | #include
6 | #include
7 | #include
8 | #include
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 |
15 | #define PORT_NUM 0x2F8
16 | #define BL_MEMORY_ATTRIBUTE_RWX 0x424000
17 | #define SEC_TO_MS(seconds) seconds * 1000000
18 | #define SECTION_RWX (EFI_IMAGE_SCN_MEM_READ | EFI_IMAGE_SCN_MEM_WRITE | EFI_IMAGE_SCN_MEM_EXECUTE)
19 |
20 | void __outdword(unsigned short, unsigned long);
21 | VOID __outbytestring(UINT16 Port, UINT8* Buffer, UINT32 Count);
22 | void __outbyte(unsigned short Port, unsigned char Data);
23 | #pragma intrinsic(__outbytestring)
24 | #pragma intrinsic(__outbyte)
25 |
26 | static CHAR8 dbg_buffer[0x100];
27 | #define DBG_PRINT(...) \
28 | AsciiSPrint(dbg_buffer, sizeof dbg_buffer, __VA_ARGS__); \
29 | __outbytestring(PORT_NUM, dbg_buffer, AsciiStrLen(dbg_buffer))
30 |
31 | #define RESOLVE_RVA(SIG_RESULT, RIP_OFFSET, RVA_OFFSET) \
32 | (*(INT32*)(((UINT64)SIG_RESULT) + RVA_OFFSET)) + ((UINT64)SIG_RESULT) + RIP_OFFSET
33 |
34 | typedef struct _LDR_DATA_TABLE_ENTRY
35 | {
36 | LIST_ENTRY InLoadOrderLinks; // 16
37 | LIST_ENTRY InMemoryOrderLinks; // 32
38 | LIST_ENTRY InInitializationOrderLinks; // 48
39 | UINT64 ModuleBase; // 56
40 | UINT64 EntryPoint; // 64
41 | UINTN SizeOfImage; // 72
42 | } LDR_DATA_TABLE_ENTRY, *PLDR_DATA_TABLE_ENTRY, **PPLDR_DATA_TABLE_ENTRY;
43 |
44 | // taken from umap (btbd)
45 | BOOLEAN CheckMask(CHAR8* base, CHAR8* pattern, CHAR8* mask);
46 | VOID* FindPattern(CHAR8* base, UINTN size, CHAR8* pattern, CHAR8* mask);
47 | VOID* GetExport(UINT8* base, CHAR8* export);
48 | VOID MemCopy(VOID* dest, VOID* src, UINTN size);
--------------------------------------------------------------------------------
/Voyager/Voyager/Voyager.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseCacheMaintenanceLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseCacheMaintenanceLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseCpuLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseCpuLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseCryptLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseCryptLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseDebugPrintErrorLevelLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseDebugPrintErrorLevelLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseMemoryLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseMemoryLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BasePrintLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BasePrintLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/BaseSynchronizationLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/BaseSynchronizationLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/GlueLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/GlueLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/IntrinsicLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/IntrinsicLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/Acpi.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for ACPI entries in the EFI system table
3 |
4 | These GUIDs point the ACPI tables as defined in the ACPI specifications.
5 | ACPI 2.0 specification defines the ACPI 2.0 GUID. UEFI 2.0 defines the
6 | ACPI 2.0 Table GUID and ACPI Table GUID.
7 |
8 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
9 | This program and the accompanying materials
10 | are licensed and made available under the terms and conditions of the BSD License
11 | which accompanies this distribution. The full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | @par Revision Reference:
18 | GUIDs defined in UEFI 2.0 spec.
19 |
20 | **/
21 |
22 | #ifndef __ACPI_GUID_H__
23 | #define __ACPI_GUID_H__
24 |
25 | #define ACPI_TABLE_GUID \
26 | { \
27 | 0xeb9d2d30, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
28 | }
29 |
30 | #define EFI_ACPI_TABLE_GUID \
31 | { \
32 | 0x8868e871, 0xe4f1, 0x11d3, {0xbc, 0x22, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
33 | }
34 |
35 | #define ACPI_10_TABLE_GUID ACPI_TABLE_GUID
36 |
37 | //
38 | // ACPI 2.0 or newer tables should use EFI_ACPI_TABLE_GUID.
39 | //
40 | #define EFI_ACPI_20_TABLE_GUID EFI_ACPI_TABLE_GUID
41 |
42 | extern EFI_GUID gEfiAcpiTableGuid;
43 | extern EFI_GUID gEfiAcpi10TableGuid;
44 | extern EFI_GUID gEfiAcpi20TableGuid;
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/Apriori.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID used as an FV filename for A Priori file. The A Priori file contains a
3 | list of FV filenames that the DXE dispatcher will schedule reguardless of
4 | the dependency grammar.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | GUID introduced in PI Version 1.0.
17 |
18 | **/
19 |
20 | #ifndef __APRIORI_GUID_H__
21 | #define __APRIORI_GUID_H__
22 |
23 | #define EFI_APRIORI_GUID \
24 | { \
25 | 0xfc510ee7, 0xffdc, 0x11d4, {0xbd, 0x41, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
26 | }
27 |
28 | extern EFI_GUID gAprioriGuid;
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/AprioriFileName.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | The GUID PEI_APRIORI_FILE_NAME_GUID definition is the file
3 | name of the PEI a priori file that is stored in a firmware
4 | volume.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | GUID introduced in PI Version 1.0.
17 |
18 | **/
19 |
20 | #ifndef __PEI_APRIORI_FILE_NAME_H__
21 | #define __PEI_APRIORI_FILE_NAME_H__
22 |
23 | #define PEI_APRIORI_FILE_NAME_GUID \
24 | { 0x1b45cc0a, 0x156a, 0x428a, { 0x62, 0XAF, 0x49, 0x86, 0x4d, 0xa0, 0xe6, 0xe6 } }
25 |
26 |
27 | ///
28 | /// This file must be of type EFI_FV_FILETYPE_FREEFORM and must
29 | /// contain a single section of type EFI_SECTION_RAW. For details on
30 | /// firmware volumes, firmware file types, and firmware file section
31 | /// types.
32 | ///
33 | typedef struct {
34 | ///
35 | /// An array of zero or more EFI_GUID type entries that match the file names of PEIM
36 | /// modules in the same Firmware Volume. The maximum number of entries.
37 | ///
38 | EFI_GUID FileNamesWithinVolume[1];
39 | } PEI_APRIORI_FILE_CONTENTS;
40 |
41 | extern EFI_GUID gPeiAprioriFileNameGuid;
42 |
43 | #endif
44 |
45 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/DxeServices.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID used to identify the DXE Services Table
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUID introduced in PI Version 1.0.
15 |
16 | **/
17 |
18 | #ifndef __DXE_SERVICES_GUID_H__
19 | #define __DXE_SERVICES_GUID_H__
20 |
21 | #define DXE_SERVICES_TABLE_GUID \
22 | { \
23 | 0x5ad34ba, 0x6f02, 0x4214, {0x95, 0x2e, 0x4d, 0xa0, 0x39, 0x8e, 0x2b, 0xb9 } \
24 | }
25 |
26 | extern EFI_GUID gEfiDxeServicesTableGuid;
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/EventGroup.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs for gBS->CreateEventEx Event Groups. Defined in UEFI spec 2.0 and PI 1.2.1.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials are licensed and made available under
6 | the terms and conditions of the BSD License that accompanies this distribution.
7 | The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php.
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __EVENT_GROUP_GUID__
16 | #define __EVENT_GROUP_GUID__
17 |
18 |
19 | #define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \
20 | { 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } }
21 |
22 | extern EFI_GUID gEfiEventExitBootServicesGuid;
23 |
24 |
25 | #define EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE \
26 | { 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } }
27 |
28 | extern EFI_GUID gEfiEventVirtualAddressChangeGuid;
29 |
30 |
31 | #define EFI_EVENT_GROUP_MEMORY_MAP_CHANGE \
32 | { 0x78bee926, 0x692f, 0x48fd, { 0x9e, 0xdb, 0x1, 0x42, 0x2e, 0xf0, 0xd7, 0xab } }
33 |
34 | extern EFI_GUID gEfiEventMemoryMapChangeGuid;
35 |
36 |
37 | #define EFI_EVENT_GROUP_READY_TO_BOOT \
38 | { 0x7ce88fb3, 0x4bd7, 0x4679, { 0x87, 0xa8, 0xa8, 0xd8, 0xde, 0xe5, 0x0d, 0x2b } }
39 |
40 | extern EFI_GUID gEfiEventReadyToBootGuid;
41 |
42 | #define EFI_EVENT_GROUP_DXE_DISPATCH_GUID \
43 | { 0x7081e22f, 0xcac6, 0x4053, { 0x94, 0x68, 0x67, 0x57, 0x82, 0xcf, 0x88, 0xe5 }}
44 |
45 | extern EFI_GUID gEfiEventDxeDispatchGuid;
46 |
47 | #define EFI_END_OF_DXE_EVENT_GROUP_GUID \
48 | { 0x2ce967a, 0xdd7e, 0x4ffc, { 0x9e, 0xe7, 0x81, 0xc, 0xf0, 0x47, 0x8, 0x80 } }
49 |
50 | extern EFI_GUID gEfiEndOfDxeEventGroupGuid;
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/EventLegacyBios.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID is the name of events used with CreateEventEx in order to be notified
3 | when the EFI boot manager is about to boot a legacy boot option.
4 | Events of this type are notificated just before Int19h is invoked.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | GUID introduced in PI Version 1.0.
17 |
18 | **/
19 |
20 | #ifndef __EVENT_LEGACY_BIOS_GUID_H__
21 | #define __EVENT_LEGACY_BIOS_GUID_H__
22 |
23 | #define EFI_EVENT_LEGACY_BOOT_GUID \
24 | { 0x2a571201, 0x4966, 0x47f6, {0x8b, 0x86, 0xf3, 0x1e, 0x41, 0xf3, 0x2f, 0x10 } }
25 |
26 | extern EFI_GUID gEfiEventLegacyBootGuid;
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/FileSystemVolumeLabelInfo.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a GUID and a data structure that can be used with EFI_FILE_PROTOCOL.GetInfo()
3 | or EFI_FILE_PROTOCOL.SetInfo() to get or set the system's volume label.
4 | This GUID is defined in UEFI specification.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__
18 | #define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__
19 |
20 | #define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \
21 | { \
22 | 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \
23 | }
24 |
25 | typedef struct {
26 | ///
27 | /// The Null-terminated string that is the volume's label.
28 | ///
29 | CHAR16 VolumeLabel[1];
30 | } EFI_FILE_SYSTEM_VOLUME_LABEL;
31 |
32 | #define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \
33 | OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)
34 |
35 | extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/FirmwareContentsSigned.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID is used to define the signed section.
3 |
4 | Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUID introduced in PI Version 1.2.1.
15 |
16 | **/
17 |
18 | #ifndef __FIRMWARE_CONTENTS_SIGNED_GUID_H__
19 | #define __FIRMWARE_CONTENTS_SIGNED_GUID_H__
20 |
21 | #define EFI_FIRMWARE_CONTENTS_SIGNED_GUID \
22 | { 0xf9d89e8, 0x9259, 0x4f76, {0xa5, 0xaf, 0xc, 0x89, 0xe3, 0x40, 0x23, 0xdf } }
23 |
24 | extern EFI_GUID gEfiFirmwareContentsSignedGuid;
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/FirmwareFileSystem2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Guid used to define the Firmware File System 2.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUIDs introduced in PI Version 1.0.
15 |
16 | **/
17 |
18 | #ifndef __FIRMWARE_FILE_SYSTEM2_GUID_H__
19 | #define __FIRMWARE_FILE_SYSTEM2_GUID_H__
20 |
21 | ///
22 | /// The firmware volume header contains a data field for
23 | /// the file system GUID
24 | ///
25 | #define EFI_FIRMWARE_FILE_SYSTEM2_GUID \
26 | { 0x8c8ce578, 0x8a3d, 0x4f1c, { 0x99, 0x35, 0x89, 0x61, 0x85, 0xc3, 0x2d, 0xd3 } }
27 |
28 | ///
29 | /// A Volume Top File (VTF) is a file that must be
30 | /// located such that the last byte of the file is
31 | /// also the last byte of the firmware volume
32 | ///
33 | #define EFI_FFS_VOLUME_TOP_FILE_GUID \
34 | { 0x1BA0062E, 0xC779, 0x4582, { 0x85, 0x66, 0x33, 0x6A, 0xE8, 0xF7, 0x8F, 0x9 } }
35 |
36 |
37 | extern EFI_GUID gEfiFirmwareFileSystem2Guid;
38 | extern EFI_GUID gEfiFirmwareVolumeTopFileGuid;
39 |
40 | #endif
41 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/FirmwareFileSystem3.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Guid used to define the Firmware File System 3.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUIDs introduced in PI Version 1.0.
15 |
16 | **/
17 |
18 | #ifndef __FIRMWARE_FILE_SYSTEM3_GUID_H__
19 | #define __FIRMWARE_FILE_SYSTEM3_GUID_H__
20 |
21 | ///
22 | /// The firmware volume header contains a data field for the file system GUID
23 | /// {5473C07A-3DCB-4dca-BD6F-1E9689E7349A}
24 | ///
25 | #define EFI_FIRMWARE_FILE_SYSTEM3_GUID \
26 | { 0x5473c07a, 0x3dcb, 0x4dca, { 0xbd, 0x6f, 0x1e, 0x96, 0x89, 0xe7, 0x34, 0x9a }}
27 |
28 | extern EFI_GUID gEfiFirmwareFileSystem3Guid;
29 |
30 | #endif // __FIRMWARE_FILE_SYSTEM3_GUID_H__
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/Gpt.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Guids used for the GPT (GUID Partition Table)
3 |
4 | GPT defines a new disk partitioning scheme and also describes
5 | usage of the legacy Master Boot Record (MBR) partitioning scheme.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | GUIDs defined in UEFI 2.1 spec.
18 |
19 | **/
20 |
21 | #ifndef __GPT_GUID_H__
22 | #define __GPT_GUID_H__
23 |
24 | #define EFI_PART_TYPE_UNUSED_GUID \
25 | { \
26 | 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } \
27 | }
28 |
29 | #define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \
30 | { \
31 | 0xc12a7328, 0xf81f, 0x11d2, {0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } \
32 | }
33 |
34 | #define EFI_PART_TYPE_LEGACY_MBR_GUID \
35 | { \
36 | 0x024dee41, 0x33e7, 0x11d3, {0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } \
37 | }
38 |
39 | extern EFI_GUID gEfiPartTypeUnusedGuid;
40 | extern EFI_GUID gEfiPartTypeSystemPartGuid;
41 | extern EFI_GUID gEfiPartTypeLegacyMbrGuid;
42 |
43 | #endif
44 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/GraphicsInfoHob.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Hob guid for Information about the graphics mode.
3 |
4 | Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This HOB is introduced in in PI Version 1.4.
15 |
16 | **/
17 |
18 | #ifndef _GRAPHICS_INFO_HOB_GUID_H_
19 | #define _GRAPHICS_INFO_HOB_GUID_H_
20 |
21 | #include
22 |
23 | #define EFI_PEI_GRAPHICS_INFO_HOB_GUID \
24 | { \
25 | 0x39f62cce, 0x6825, 0x4669, { 0xbb, 0x56, 0x54, 0x1a, 0xba, 0x75, 0x3a, 0x07 } \
26 | }
27 |
28 | #define EFI_PEI_GRAPHICS_DEVICE_INFO_HOB_GUID \
29 | { \
30 | 0xe5cb2ac9, 0xd35d, 0x4430, { 0x93, 0x6e, 0x1d, 0xe3, 0x32, 0x47, 0x8d, 0xe7 } \
31 | }
32 |
33 | typedef struct {
34 | EFI_PHYSICAL_ADDRESS FrameBufferBase;
35 | UINT32 FrameBufferSize;
36 | EFI_GRAPHICS_OUTPUT_MODE_INFORMATION GraphicsMode;
37 | } EFI_PEI_GRAPHICS_INFO_HOB;
38 |
39 | typedef struct {
40 | UINT16 VendorId; ///< Ignore if the value is 0xFFFF.
41 | UINT16 DeviceId; ///< Ignore if the value is 0xFFFF.
42 | UINT16 SubsystemVendorId; ///< Ignore if the value is 0xFFFF.
43 | UINT16 SubsystemId; ///< Ignore if the value is 0xFFFF.
44 | UINT8 RevisionId; ///< Ignore if the value is 0xFF.
45 | UINT8 BarIndex; ///< Ignore if the value is 0xFF.
46 | } EFI_PEI_GRAPHICS_DEVICE_INFO_HOB;
47 |
48 | extern EFI_GUID gEfiGraphicsInfoHobGuid;
49 | extern EFI_GUID gEfiGraphicsDeviceInfoHobGuid;
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/HardwareErrorVariable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for hardware error record variables.
3 |
4 | Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUID defined in UEFI 2.1.
15 |
16 | **/
17 |
18 | #ifndef _HARDWARE_ERROR_VARIABLE_GUID_H_
19 | #define _HARDWARE_ERROR_VARIABLE_GUID_H_
20 |
21 | #define EFI_HARDWARE_ERROR_VARIABLE \
22 | { \
23 | 0x414E6BDD, 0xE47B, 0x47cc, {0xB2, 0x44, 0xBB, 0x61, 0x02, 0x0C, 0xF5, 0x16} \
24 | }
25 |
26 | extern EFI_GUID gEfiHardwareErrorVariableGuid;
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/HiiFormMapMethodGuid.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Guid used to identify HII FormMap configuration method.
3 |
4 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUID defined in UEFI 2.2 spec.
15 | **/
16 |
17 | #ifndef __EFI_HII_FORMMAP_GUID_H__
18 | #define __EFI_HII_FORMMAP_GUID_H__
19 |
20 | #define EFI_HII_STANDARD_FORM_GUID \
21 | { 0x3bd2f4ec, 0xe524, 0x46e4, { 0xa9, 0xd8, 0x51, 0x1, 0x17, 0x42, 0x55, 0x62 } }
22 |
23 | extern EFI_GUID gEfiHiiStandardFormGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/HiiKeyBoardLayout.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | HII keyboard layout GUID as defined in UEFI2.1 specification
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | GUIDs defined in UEFI 2.1 spec.
16 |
17 | **/
18 |
19 | #ifndef __HII_KEYBOARD_LAYOUT_GUID_H__
20 | #define __HII_KEYBOARD_LAYOUT_GUID_H__
21 |
22 | #define EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID \
23 | { 0x14982a4f, 0xb0ed, 0x45b8, { 0xa8, 0x11, 0x5a, 0x7a, 0x9b, 0xc2, 0x32, 0xdf }}
24 |
25 | extern EFI_GUID gEfiHiiKeyBoardLayoutGuid;
26 |
27 | #endif
28 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/HiiPlatformSetupFormset.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID indicates that the form set contains forms designed to be used
3 | for platform configuration and this form set will be displayed.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials are licensed and made available under
7 | the terms and conditions of the BSD License that accompanies this distribution.
8 | The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php.
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | GUID defined in UEFI 2.1.
16 |
17 | **/
18 |
19 | #ifndef __HII_PLATFORM_SETUP_FORMSET_GUID_H__
20 | #define __HII_PLATFORM_SETUP_FORMSET_GUID_H__
21 |
22 | #define EFI_HII_PLATFORM_SETUP_FORMSET_GUID \
23 | { 0x93039971, 0x8545, 0x4b04, { 0xb4, 0x5e, 0x32, 0xeb, 0x83, 0x26, 0x4, 0xe } }
24 |
25 | #define EFI_HII_DRIVER_HEALTH_FORMSET_GUID \
26 | { 0xf22fc20c, 0x8cf4, 0x45eb, { 0x8e, 0x6, 0xad, 0x4e, 0x50, 0xb9, 0x5d, 0xd3 } }
27 |
28 | #define EFI_HII_USER_CREDENTIAL_FORMSET_GUID \
29 | { 0x337f4407, 0x5aee, 0x4b83, { 0xb2, 0xa7, 0x4e, 0xad, 0xca, 0x30, 0x88, 0xcd } }
30 |
31 | extern EFI_GUID gEfiHiiPlatformSetupFormsetGuid;
32 | extern EFI_GUID gEfiHiiDriverHealthFormsetGuid;
33 | extern EFI_GUID gEfiHiiUserCredentialFormsetGuid;
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/HobList.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for HOB List entries
3 |
4 | These GUIDs point the HOB List passed from PEI to DXE.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | GUID introduced in PI Version 1.0.
17 |
18 | **/
19 |
20 | #ifndef __HOB_LIST_GUID_H__
21 | #define __HOB_LIST_GUID_H__
22 |
23 | #define HOB_LIST_GUID \
24 | { \
25 | 0x7739f24c, 0x93d7, 0x11d4, {0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
26 | }
27 |
28 | extern EFI_GUID gEfiHobListGuid;
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/MdePkgTokenSpace.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for MdePkg PCD Token Space
3 |
4 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _MDEPKG_TOKEN_SPACE_GUID_H_
16 | #define _MDEPKG_TOKEN_SPACE_GUID_H_
17 |
18 | #define MDEPKG_TOKEN_SPACE_GUID \
19 | { \
20 | 0x914AEBE7, 0x4635, 0x459b, { 0xAA, 0x1C, 0x11, 0xE2, 0x19, 0xB0, 0x3A, 0x10 } \
21 | }
22 |
23 | extern EFI_GUID gEfiMdePkgTokenSpaceGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/MemoryAllocationHob.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs for HOBs used in memory allcation
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUIDs introduced in PI Version 1.0.
15 |
16 | **/
17 |
18 | #ifndef __MEMORY_ALLOCATION_GUID_H__
19 | #define __MEMORY_ALLOCATION_GUID_H__
20 |
21 | #define EFI_HOB_MEMORY_ALLOC_BSP_STORE_GUID \
22 | {0x564b33cd, 0xc92a, 0x4593, {0x90, 0xbf, 0x24, 0x73, 0xe4, 0x3c, 0x63, 0x22} };
23 |
24 | #define EFI_HOB_MEMORY_ALLOC_STACK_GUID \
25 | {0x4ed4bf27, 0x4092, 0x42e9, {0x80, 0x7d, 0x52, 0x7b, 0x1d, 0x0, 0xc9, 0xbd} }
26 |
27 | #define EFI_HOB_MEMORY_ALLOC_MODULE_GUID \
28 | {0xf8e21975, 0x899, 0x4f58, {0xa4, 0xbe, 0x55, 0x25, 0xa9, 0xc6, 0xd7, 0x7a} }
29 |
30 | extern EFI_GUID gEfiHobMemoryAllocBspStoreGuid;
31 | extern EFI_GUID gEfiHobMemoryAllocStackGuid;
32 | extern EFI_GUID gEfiHobMemoryAllocModuleGuid;
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/MemoryAttributesTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for UEFI Memory Attributes Table in the UEFI 2.6 specification.
3 |
4 | Copyright (c) 2016, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __UEFI_MEMORY_ATTRIBUTES_TABLE_H__
16 | #define __UEFI_MEMORY_ATTRIBUTES_TABLE_H__
17 |
18 | #define EFI_MEMORY_ATTRIBUTES_TABLE_GUID {\
19 | 0xdcfa911d, 0x26eb, 0x469f, {0xa2, 0x20, 0x38, 0xb7, 0xdc, 0x46, 0x12, 0x20} \
20 | }
21 |
22 | typedef struct {
23 | UINT32 Version;
24 | UINT32 NumberOfEntries;
25 | UINT32 DescriptorSize;
26 | UINT32 Reserved;
27 | //EFI_MEMORY_DESCRIPTOR Entry[1];
28 | } EFI_MEMORY_ATTRIBUTES_TABLE;
29 |
30 | #define EFI_MEMORY_ATTRIBUTES_TABLE_VERSION 0x00000001
31 |
32 | extern EFI_GUID gEfiMemoryAttributesTableGuid;
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/Mps.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for MPS entries in the UEFI 2.0 system table
3 | ACPI is the primary means of exporting MPS information to the OS. MPS only was
4 | included to support Itanium-based platform power on. So don't use it if you don't have too.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | GUIDs defined in UEFI 2.0 spec.
17 |
18 | **/
19 |
20 | #ifndef __MPS_GUID_H__
21 | #define __MPS_GUID_H__
22 |
23 | #define EFI_MPS_TABLE_GUID \
24 | { \
25 | 0xeb9d2d2f, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
26 | }
27 |
28 | //
29 | // GUID name defined in spec.
30 | //
31 | #define MPS_TABLE_GUID EFI_MPS_TABLE_GUID
32 |
33 | extern EFI_GUID gEfiMpsTableGuid;
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/PcAnsi.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Terminal Device Path Vendor Guid.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | GUIDs defined in UEFI 2.0 spec.
15 |
16 | **/
17 |
18 | #ifndef __PC_ANSI_H__
19 | #define __PC_ANSI_H__
20 |
21 | #define EFI_PC_ANSI_GUID \
22 | { \
23 | 0xe0c14753, 0xf9be, 0x11d2, {0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
24 | }
25 |
26 | #define EFI_VT_100_GUID \
27 | { \
28 | 0xdfa66065, 0xb419, 0x11d3, {0x9a, 0x2d, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
29 | }
30 |
31 | #define EFI_VT_100_PLUS_GUID \
32 | { \
33 | 0x7baec70b, 0x57e0, 0x4c76, {0x8e, 0x87, 0x2f, 0x9e, 0x28, 0x08, 0x83, 0x43 } \
34 | }
35 |
36 | #define EFI_VT_UTF8_GUID \
37 | { \
38 | 0xad15a0d6, 0x8bec, 0x4acf, {0xa0, 0x73, 0xd0, 0x1d, 0xe7, 0x7e, 0x2d, 0x88 } \
39 | }
40 |
41 | #define DEVICE_PATH_MESSAGING_UART_FLOW_CONTROL \
42 | { \
43 | 0x37499a9d, 0x542f, 0x4c89, {0xa0, 0x26, 0x35, 0xda, 0x14, 0x20, 0x94, 0xe4 } \
44 | }
45 |
46 | #define EFI_SAS_DEVICE_PATH_GUID \
47 | { \
48 | 0xd487ddb4, 0x008b, 0x11d9, {0xaf, 0xdc, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \
49 | }
50 |
51 | extern EFI_GUID gEfiPcAnsiGuid;
52 | extern EFI_GUID gEfiVT100Guid;
53 | extern EFI_GUID gEfiVT100PlusGuid;
54 | extern EFI_GUID gEfiVTUTF8Guid;
55 | extern EFI_GUID gEfiUartDevicePathGuid;
56 | extern EFI_GUID gEfiSasDevicePathGuid;
57 |
58 | #endif
59 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/PropertiesTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for UEFI Properties Table in the UEFI 2.5 specification.
3 |
4 | Copyright (c) 2015, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __EFI_PROPERTIES_TABLE_H__
16 | #define __EFI_PROPERTIES_TABLE_H__
17 |
18 | #define EFI_PROPERTIES_TABLE_GUID {\
19 | 0x880aaca3, 0x4adc, 0x4a04, {0x90, 0x79, 0xb7, 0x47, 0x34, 0x8, 0x25, 0xe5} \
20 | }
21 |
22 | typedef struct {
23 | UINT32 Version;
24 | UINT32 Length;
25 | UINT64 MemoryProtectionAttribute;
26 | } EFI_PROPERTIES_TABLE;
27 |
28 | #define EFI_PROPERTIES_TABLE_VERSION 0x00010000
29 |
30 | //
31 | // Memory attribute (Not defined bit is reserved)
32 | //
33 | #define EFI_PROPERTIES_RUNTIME_MEMORY_PROTECTION_NON_EXECUTABLE_PE_DATA 0x1
34 |
35 | extern EFI_GUID gEfiPropertiesTableGuid;
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/SalSystemTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used for SAL system table entries in the EFI system table.
3 |
4 | SAL System Table contains Itanium-based processor centric information about
5 | the system.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | GUIDs defined in UEFI 2.0 spec.
18 |
19 | **/
20 |
21 | #ifndef __SAL_SYSTEM_TABLE_GUID_H__
22 | #define __SAL_SYSTEM_TABLE_GUID_H__
23 |
24 | #define SAL_SYSTEM_TABLE_GUID \
25 | { \
26 | 0xeb9d2d32, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
27 | }
28 |
29 | extern EFI_GUID gEfiSalSystemTableGuid;
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/SmBios.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUIDs used to locate the SMBIOS tables in the UEFI 2.5 system table.
3 |
4 | These GUIDs in the system table are the only legal ways to search for and
5 | locate the SMBIOS tables. Do not search the 0xF0000 segment to find SMBIOS
6 | tables.
7 |
8 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
9 | This program and the accompanying materials
10 | are licensed and made available under the terms and conditions of the BSD License
11 | which accompanies this distribution. The full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | @par Revision Reference:
18 | GUIDs defined in UEFI 2.5 spec.
19 |
20 | **/
21 |
22 | #ifndef __SMBIOS_GUID_H__
23 | #define __SMBIOS_GUID_H__
24 |
25 | #define SMBIOS_TABLE_GUID \
26 | { \
27 | 0xeb9d2d31, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
28 | }
29 |
30 | #define SMBIOS3_TABLE_GUID \
31 | { \
32 | 0xf2fd1544, 0x9794, 0x4a2c, {0x99, 0x2e, 0xe5, 0xbb, 0xcf, 0x20, 0xe3, 0x94 } \
33 | }
34 |
35 | extern EFI_GUID gEfiSmbiosTableGuid;
36 | extern EFI_GUID gEfiSmbios3TableGuid;
37 |
38 | #endif
39 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Guid/VectorHandoffTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for system configuration table entry that points to the table
3 | in case an entity in DXE wishes to update/change the vector table contents.
4 |
5 | Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | GUID defined in PI 1.2.1 spec.
16 | **/
17 |
18 | #ifndef __EFI_VECTOR_HANDOFF_TABLE_H__
19 | #define __EFI_VECTOR_HANDOFF_TABLE_H__
20 |
21 | #include
22 |
23 | //
24 | // System configuration table entry that points to the table
25 | // in case an entity in DXE wishes to update/change the vector
26 | // table contents.
27 | //
28 | #define EFI_VECTOR_HANDOF_TABLE_GUID \
29 | { 0x996ec11c, 0x5397, 0x4e73, { 0xb5, 0x8f, 0x82, 0x7e, 0x52, 0x90, 0x6d, 0xef }}
30 |
31 | extern EFI_GUID gEfiVectorHandoffTableGuid;
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ia32/Nasm.inc:
--------------------------------------------------------------------------------
1 | ;------------------------------------------------------------------------------
2 | ;
3 | ; Copyright (c) 2019, Intel Corporation. All rights reserved.
4 | ; This program and the accompanying materials
5 | ; are licensed and made available under the terms and conditions of the BSD License
6 | ; which accompanies this distribution. The full text of the license may be found at
7 | ; http://opensource.org/licenses/bsd-license.php.
8 | ;
9 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 | ;
12 | ; Abstract:
13 | ;
14 | ; This file provides macro definitions for NASM files.
15 | ;
16 | ;------------------------------------------------------------------------------
17 |
18 | %macro SETSSBSY 0
19 | DB 0xF3, 0x0F, 0x01, 0xE8
20 | %endmacro
21 |
22 | %macro READSSP_EAX 0
23 | DB 0xF3, 0x0F, 0x1E, 0xC8
24 | %endmacro
25 |
26 | %macro INCSSP_EAX 0
27 | DB 0xF3, 0x0F, 0xAE, 0xE8
28 | %endmacro
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Acpi.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file contains the latest ACPI definitions that are
3 | consumed by drivers that do not care about ACPI versions.
4 |
5 | Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef _ACPI_H_
17 | #define _ACPI_H_
18 |
19 | #include
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Bluetooth.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file contains the Bluetooth definitions that are consumed by drivers.
3 | These definitions are from Bluetooth Core Specification Version 4.0 June, 2010
4 |
5 | Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef _BLUETOOTH_H_
17 | #define _BLUETOOTH_H_
18 |
19 | #pragma pack(1)
20 |
21 | ///
22 | /// BLUETOOTH_ADDRESS
23 | ///
24 | typedef struct {
25 | ///
26 | /// 48bit Bluetooth device address.
27 | ///
28 | UINT8 Address[6];
29 | } BLUETOOTH_ADDRESS;
30 |
31 | ///
32 | /// BLUETOOTH_CLASS_OF_DEVICE. See Bluetooth specification for detail.
33 | ///
34 | typedef struct {
35 | UINT8 FormatType:2;
36 | UINT8 MinorDeviceClass: 6;
37 | UINT16 MajorDeviceClass: 5;
38 | UINT16 MajorServiceClass:11;
39 | } BLUETOOTH_CLASS_OF_DEVICE;
40 |
41 | ///
42 | /// BLUETOOTH_LE_ADDRESS
43 | ///
44 | typedef struct {
45 | ///
46 | /// 48-bit Bluetooth device address
47 | ///
48 | UINT8 Address[6];
49 | ///
50 | /// 0x00 - Public Device Address
51 | /// 0x01 - Random Device Address
52 | ///
53 | UINT8 Type;
54 | } BLUETOOTH_LE_ADDRESS;
55 |
56 | #pragma pack()
57 |
58 | #define BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE 248
59 |
60 | #define BLUETOOTH_HCI_LINK_KEY_SIZE 16
61 |
62 | #endif
63 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Bmp.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines BMP file header data structures.
3 |
4 | Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _BMP_H_
16 | #define _BMP_H_
17 |
18 | #pragma pack(1)
19 |
20 | typedef struct {
21 | UINT8 Blue;
22 | UINT8 Green;
23 | UINT8 Red;
24 | UINT8 Reserved;
25 | } BMP_COLOR_MAP;
26 |
27 | typedef struct {
28 | CHAR8 CharB;
29 | CHAR8 CharM;
30 | UINT32 Size;
31 | UINT16 Reserved[2];
32 | UINT32 ImageOffset;
33 | UINT32 HeaderSize;
34 | UINT32 PixelWidth;
35 | UINT32 PixelHeight;
36 | UINT16 Planes; ///< Must be 1
37 | UINT16 BitPerPixel; ///< 1, 4, 8, or 24
38 | UINT32 CompressionType;
39 | UINT32 ImageSize; ///< Compressed image size in bytes
40 | UINT32 XPixelsPerMeter;
41 | UINT32 YPixelsPerMeter;
42 | UINT32 NumberOfColors;
43 | UINT32 ImportantColors;
44 | } BMP_IMAGE_HEADER;
45 |
46 | #pragma pack()
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/DebugPortTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | ACPI debug port table definition, defined at
3 | Microsoft DebugPortSpecification.
4 |
5 | Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 |
17 | #ifndef _DEBUG_PORT_TABLE_H_
18 | #define _DEBUG_PORT_TABLE_H_
19 |
20 | #include
21 |
22 | //
23 | // Ensure proper structure formats
24 | //
25 | #pragma pack(1)
26 |
27 | //
28 | // Debug Port Table definition.
29 | //
30 | typedef struct {
31 | EFI_ACPI_DESCRIPTION_HEADER Header;
32 | UINT8 InterfaceType;
33 | UINT8 Reserved_37[3];
34 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;
35 | } EFI_ACPI_DEBUG_PORT_DESCRIPTION_TABLE;
36 |
37 | #pragma pack()
38 |
39 | //
40 | // DBGP Revision (defined in spec)
41 | //
42 | #define EFI_ACPI_DEBUG_PORT_TABLE_REVISION 0x01
43 |
44 | //
45 | // Interface Type
46 | //
47 | #define EFI_ACPI_DBGP_INTERFACE_TYPE_FULL_16550 0
48 | #define EFI_ACPI_DBGP_INTERFACE_TYPE_16550_SUBSET_COMPATIBLE_WITH_MS_DBGP_SPEC 1
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/IpmiNetFnFirmware.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3 |
4 | Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 | **/
13 |
14 | #ifndef _IPMI_NET_FN_FIRMWARE_H_
15 | #define _IPMI_NET_FN_FIRMWARE_H_
16 |
17 | //
18 | // Net function definition for Firmware command
19 | //
20 | #define IPMI_NETFN_FIRMWARE 0x08
21 |
22 | //
23 | // All Firmware commands and their structure definitions to follow here
24 | //
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/IpmiNetFnGroupExtension.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3 |
4 | Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 | **/
13 |
14 | #ifndef _IPMI_NET_FN_GROUP_EXTENSION_H_
15 | #define _IPMI_NET_FN_GROUP_EXTENSION_H_
16 |
17 | //
18 | // Net function definition for Group Extension command
19 | //
20 | #define IPMI_NETFN_GROUP_EXT 0x2C
21 |
22 | //
23 | // All Group Extension commands and their structure definitions to follow here
24 | //
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/IpmiNetFnSensorEvent.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3 |
4 | This file contains all NetFn Sensor/Event commands, including:
5 | Event Commands (Chapter 29)
6 | PEF and Alerting Commands (Chapter 30)
7 | Sensor Device Commands (Chapter 35)
8 |
9 | See IPMI specification, Appendix G, Command Assignments
10 | and Appendix H, Sub-function Assignments.
11 |
12 | Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.
13 | This program and the accompanying materials
14 | are licensed and made available under the terms and conditions of the BSD License
15 | which accompanies this distribution. The full text of the license may be found at
16 | http://opensource.org/licenses/bsd-license.php
17 |
18 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 | **/
21 |
22 | #ifndef _IPMI_NET_FN_SENSOR_EVENT_H_
23 | #define _IPMI_NET_FN_SENSOR_EVENT_H_
24 |
25 | #pragma pack(1)
26 | //
27 | // Net function definition for Sensor command
28 | //
29 | #define IPMI_NETFN_SENSOR_EVENT 0x04
30 |
31 | //
32 | // All Sensor commands and their structure definitions to follow here
33 | //
34 |
35 | //
36 | // Definitions for Send Platform Event Message command
37 | //
38 | #define IPMI_SENSOR_PLATFORM_EVENT_MESSAGE 0x02
39 |
40 | typedef struct {
41 | UINT8 GeneratorId;
42 | UINT8 EvMRevision;
43 | UINT8 SensorType;
44 | UINT8 SensorNumber;
45 | UINT8 EventDirType;
46 | UINT8 OEMEvData1;
47 | UINT8 OEMEvData2;
48 | UINT8 OEMEvData3;
49 | } IPMI_PLATFORM_EVENT_MESSAGE_DATA_REQUEST;
50 |
51 | #pragma pack()
52 | #endif
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Mbr.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Legacy Master Boot Record Format Definition.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _MBR_H_
16 | #define _MBR_H_
17 |
18 | #define MBR_SIGNATURE 0xaa55
19 |
20 | #define EXTENDED_DOS_PARTITION 0x05
21 | #define EXTENDED_WINDOWS_PARTITION 0x0F
22 |
23 | #define MAX_MBR_PARTITIONS 4
24 |
25 | #define PMBR_GPT_PARTITION 0xEE
26 | #define EFI_PARTITION 0xEF
27 |
28 | #define MBR_SIZE 512
29 |
30 | #pragma pack(1)
31 | ///
32 | /// MBR Partition Entry
33 | ///
34 | typedef struct {
35 | UINT8 BootIndicator;
36 | UINT8 StartHead;
37 | UINT8 StartSector;
38 | UINT8 StartTrack;
39 | UINT8 OSIndicator;
40 | UINT8 EndHead;
41 | UINT8 EndSector;
42 | UINT8 EndTrack;
43 | UINT8 StartingLBA[4];
44 | UINT8 SizeInLBA[4];
45 | } MBR_PARTITION_RECORD;
46 |
47 | ///
48 | /// MBR Partition Table
49 | ///
50 | typedef struct {
51 | UINT8 BootStrapCode[440];
52 | UINT8 UniqueMbrSignature[4];
53 | UINT8 Unknown[2];
54 | MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS];
55 | UINT16 Signature;
56 | } MASTER_BOOT_RECORD;
57 |
58 | #pragma pack()
59 |
60 | #endif
61 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | ACPI memory mapped configuration space access table definition, defined at
3 | in the PCI Firmware Specification, version 3.0.
4 | Specification is available at http://www.pcisig.com.
5 |
6 | Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 | **/
15 |
16 | #ifndef _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
17 | #define _MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_H_
18 |
19 | //
20 | // Ensure proper structure formats
21 | //
22 | #pragma pack(1)
23 |
24 | ///
25 | /// Memory Mapped Configuration Space Access Table (MCFG)
26 | /// This table is a basic description table header followed by
27 | /// a number of base address allocation structures.
28 | ///
29 | typedef struct {
30 | UINT64 BaseAddress;
31 | UINT16 PciSegmentGroupNumber;
32 | UINT8 StartBusNumber;
33 | UINT8 EndBusNumber;
34 | UINT32 Reserved;
35 | } EFI_ACPI_MEMORY_MAPPED_ENHANCED_CONFIGURATION_SPACE_BASE_ADDRESS_ALLOCATION_STRUCTURE;
36 |
37 | ///
38 | /// MCFG Table header definition. The rest of the table
39 | /// must be defined in a platform specific manner.
40 | ///
41 | typedef struct {
42 | EFI_ACPI_DESCRIPTION_HEADER Header;
43 | UINT64 Reserved;
44 | } EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_HEADER;
45 |
46 | ///
47 | /// MCFG Revision (defined in spec)
48 | ///
49 | #define EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION 0x01
50 |
51 | #pragma pack()
52 |
53 | #endif
54 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Support for Microsoft Secure MOR implementation, defined at
3 | Microsoft Secure MOR implementation.
4 | https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx
5 |
6 | Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__
18 | #define __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__
19 |
20 | #define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_GUID \
21 | { \
22 | 0xBB983CCF, 0x151D, 0x40E1, {0xA0, 0x7B, 0x4A, 0x17, 0xBE, 0x16, 0x82, 0x92} \
23 | }
24 |
25 | #define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_NAME L"MemoryOverwriteRequestControlLock"
26 |
27 | //
28 | // VendorGuid: {BB983CCF-151D-40E1-A07B-4A17BE168292}
29 | // Name: MemoryOverwriteRequestControlLock
30 | // Attributes: NV+BS+RT
31 | // GetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked without key); 0x2 (locked with key)
32 | // SetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked);
33 | // Revision 2 additionally accepts an 8-byte value that represents a shared secret key.
34 | //
35 |
36 | //
37 | // Note: Setting MemoryOverwriteRequestControlLock does not commit to flash (just changes the internal lock state).
38 | // Getting the variable returns the internal state and never exposes the key.
39 | //
40 |
41 | extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;
42 |
43 | #endif
44 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Pci.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Support for the latest PCI standard.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials are licensed and made available under
6 | the terms and conditions of the BSD License that accompanies this distribution.
7 | The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php.
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _PCI_H_
16 | #define _PCI_H_
17 |
18 | #include
19 | #include
20 | #include
21 | #include
22 |
23 | #endif
24 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/Pci30.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Support for PCI 3.0 standard.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __PCI30_H__
16 | #define __PCI30_H__
17 |
18 |
19 | #include
20 |
21 | ///
22 | /// PCI_CLASS_MASS_STORAGE, Base Class 01h.
23 | ///
24 | ///@{
25 | #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
26 | #define PCI_IF_MASS_STORAGE_SATA 0x00
27 | #define PCI_IF_MASS_STORAGE_AHCI 0x01
28 | ///@}
29 |
30 | ///
31 | /// PCI_CLASS_WIRELESS, Base Class 0Dh.
32 | ///
33 | ///@{
34 | #define PCI_SUBCLASS_ETHERNET_80211A 0x20
35 | #define PCI_SUBCLASS_ETHERNET_80211B 0x21
36 | ///@}
37 |
38 | /**
39 | Macro that checks whether device is a SATA controller.
40 |
41 | @param _p Specified device.
42 |
43 | @retval TRUE Device is a SATA controller.
44 | @retval FALSE Device is not a SATA controller.
45 |
46 | **/
47 | #define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)
48 |
49 | ///
50 | /// PCI Capability List IDs and records
51 | ///
52 | #define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
53 |
54 | #pragma pack(1)
55 |
56 | ///
57 | /// PCI Data Structure Format
58 | /// Section 5.1.2, PCI Firmware Specification, Revision 3.0
59 | ///
60 | typedef struct {
61 | UINT32 Signature; ///< "PCIR"
62 | UINT16 VendorId;
63 | UINT16 DeviceId;
64 | UINT16 DeviceListOffset;
65 | UINT16 Length;
66 | UINT8 Revision;
67 | UINT8 ClassCode[3];
68 | UINT16 ImageLength;
69 | UINT16 CodeRevision;
70 | UINT8 CodeType;
71 | UINT8 Indicator;
72 | UINT16 MaxRuntimeImageLength;
73 | UINT16 ConfigUtilityCodeHeaderOffset;
74 | UINT16 DMTFCLPEntryPointOffset;
75 | } PCI_3_0_DATA_STRUCTURE;
76 |
77 | #pragma pack()
78 |
79 | #endif
80 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/PciExpress30.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Support for the PCI Express 3.0 standard.
3 |
4 | This header file may not define all structures. Please extend as required.
5 |
6 | Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _PCIEXPRESS30_H_
18 | #define _PCIEXPRESS30_H_
19 |
20 | #include
21 |
22 | #pragma pack(1)
23 |
24 | #define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_ID 0x0019
25 | #define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_VER1 0x1
26 |
27 | typedef union {
28 | struct {
29 | UINT32 PerformEqualization : 1;
30 | UINT32 LinkEqualizationRequestInterruptEnable : 1;
31 | UINT32 Reserved : 30;
32 | } Bits;
33 | UINT32 Uint32;
34 | } PCI_EXPRESS_REG_LINK_CONTROL3;
35 |
36 | typedef union {
37 | struct {
38 | UINT16 DownstreamPortTransmitterPreset : 4;
39 | UINT16 DownstreamPortReceiverPresetHint : 3;
40 | UINT16 Reserved : 1;
41 | UINT16 UpstreamPortTransmitterPreset : 4;
42 | UINT16 UpstreamPortReceiverPresetHint : 3;
43 | UINT16 Reserved2 : 1;
44 | } Bits;
45 | UINT16 Uint16;
46 | } PCI_EXPRESS_REG_LANE_EQUALIZATION_CONTROL;
47 |
48 | typedef struct {
49 | PCI_EXPRESS_EXTENDED_CAPABILITIES_HEADER Header;
50 | PCI_EXPRESS_REG_LINK_CONTROL3 LinkControl3;
51 | UINT32 LaneErrorStatus;
52 | PCI_EXPRESS_REG_LANE_EQUALIZATION_CONTROL EqualizationControl[2];
53 | } PCI_EXPRESS_EXTENDED_CAPABILITIES_SECONDARY_PCIE;
54 |
55 | #pragma pack()
56 |
57 | #endif
58 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/WatchdogResourceTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | ACPI Watchdog Resource Table (WDRT) as defined at
3 | Microsoft Windows Hardware Developer Central.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 | **/
14 |
15 | #ifndef _WATCHDOG_RESOURCE_TABLE_H_
16 | #define _WATCHDOG_RESOURCE_TABLE_H_
17 |
18 | #include
19 |
20 | //
21 | // Ensure proper structure formats
22 | //
23 | #pragma pack(1)
24 |
25 | ///
26 | /// Watchdog Resource Table definition.
27 | ///
28 | typedef struct {
29 | EFI_ACPI_DESCRIPTION_HEADER Header;
30 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE ControlRegisterAddress;
31 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE CountRegisterAddress;
32 | UINT16 PCIDeviceID;
33 | UINT16 PCIVendorID;
34 | UINT8 PCIBusNumber;
35 | UINT8 PCIDeviceNumber;
36 | UINT8 PCIFunctionNumber;
37 | UINT8 PCISegment;
38 | UINT16 MaxCount;
39 | UINT8 Units;
40 | } EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE;
41 |
42 | #pragma pack()
43 |
44 | //
45 | // WDRT Revision (defined in spec)
46 | //
47 | #define EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE_REVISION 0x01
48 |
49 | //
50 | // WDRT 1.0 Count Unit
51 | //
52 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_1_SEC_PER_COUNT 1
53 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_100_MILLISEC_PER_COUNT 2
54 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_10_MILLISEC_PER_COUNT 3
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/WindowsSmmSecurityMitigationTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Defines Windows SMM Security Mitigation Table
3 | @ https://msdn.microsoft.com/windows/hardware/drivers/bringup/acpi-system-description-tables#wsmt
4 |
5 | Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 |
17 | #ifndef _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
18 | #define _WINDOWS_SMM_SECURITY_MITIGATION_TABLE_H_
19 |
20 | #include
21 |
22 | #define EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE SIGNATURE_32('W', 'S', 'M', 'T')
23 |
24 | #pragma pack(1)
25 |
26 | #define EFI_WSMT_TABLE_REVISION 1
27 |
28 | typedef struct {
29 | EFI_ACPI_DESCRIPTION_HEADER Header;
30 | UINT32 ProtectionFlags;
31 | } EFI_ACPI_WSMT_TABLE;
32 |
33 | #define EFI_WSMT_PROTECTION_FLAGS_FIXED_COMM_BUFFERS 0x1
34 | #define EFI_WSMT_PROTECTION_FLAGS_COMM_BUFFER_NESTED_PTR_PROTECTION 0x2
35 | #define EFI_WSMT_PROTECTION_FLAGS_SYSTEM_RESOURCE_PROTECTION 0x4
36 |
37 | #pragma pack()
38 |
39 | #endif
40 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Defines Windows UX Capsule GUID and layout defined at Microsoft
3 | Windows UEFI Firmware Update Platform specification
4 |
5 | Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 |
17 | #ifndef _WINDOWS_UX_CAPSULE_GUID_H_
18 | #define _WINDOWS_UX_CAPSULE_GUID_H_
19 |
20 | #pragma pack(1)
21 |
22 | typedef struct {
23 | UINT8 Version;
24 | UINT8 Checksum;
25 | UINT8 ImageType;
26 | UINT8 Reserved;
27 | UINT32 Mode;
28 | UINT32 OffsetX;
29 | UINT32 OffsetY;
30 | //UINT8 Image[];
31 | } DISPLAY_DISPLAY_PAYLOAD;
32 |
33 | typedef struct {
34 | EFI_CAPSULE_HEADER CapsuleHeader;
35 | DISPLAY_DISPLAY_PAYLOAD ImagePayload;
36 | } EFI_DISPLAY_CAPSULE;
37 |
38 | #pragma pack()
39 |
40 | #define WINDOWS_UX_CAPSULE_GUID \
41 | { \
42 | 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \
43 | }
44 |
45 | extern EFI_GUID gWindowsUxCapsuleGuid;
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/CpuLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides CPU architecture specific functions that can not be defined
3 | in the Base Library due to dependencies on the PAL Library
4 |
5 | The CPU Library provides services to flush CPU TLBs and place the CPU in a sleep state.
6 | The implementation of these services on Itanium processors requires the use of PAL Calls.
7 | PAL Calls require PEI and DXE specific mechanisms to look up PAL Entry Point.
8 | As a result, these services could not be defined in the Base Library.
9 |
10 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
11 | This program and the accompanying materials
12 | are licensed and made available under the terms and conditions of the BSD License
13 | which accompanies this distribution. The full text of the license may be found at
14 | http://opensource.org/licenses/bsd-license.php
15 |
16 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 |
19 | **/
20 |
21 | #ifndef __CPU_LIB_H__
22 | #define __CPU_LIB_H__
23 |
24 | /**
25 | Places the CPU in a sleep state until an interrupt is received.
26 |
27 | Places the CPU in a sleep state until an interrupt is received. If interrupts
28 | are disabled prior to calling this function, then the CPU will be placed in a
29 | sleep state indefinitely.
30 |
31 | **/
32 | VOID
33 | EFIAPI
34 | CpuSleep (
35 | VOID
36 | );
37 |
38 | /**
39 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
40 |
41 | Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
42 |
43 | **/
44 | VOID
45 | EFIAPI
46 | CpuFlushTlb (
47 | VOID
48 | );
49 |
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/DebugPrintErrorLevelLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Debug Print Error Level Library class
3 |
4 | Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php.
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 | #ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
15 | #define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
16 |
17 | /**
18 | Returns the debug print error level mask for the current module.
19 |
20 | @return Debug print error level mask for the current module.
21 |
22 | **/
23 | UINT32
24 | EFIAPI
25 | GetDebugPrintErrorLevel (
26 | VOID
27 | );
28 |
29 | /**
30 | Sets the global debug print error level mask fpr the entire platform.
31 |
32 | @param ErrorLevel Global debug print error level
33 |
34 | @retval TRUE The debug print error level mask was successfully set.
35 | @retval FALSE The debug print error level mask could not be set.
36 |
37 | **/
38 | BOOLEAN
39 | EFIAPI
40 | SetDebugPrintErrorLevel (
41 | UINT32 ErrorLevel
42 | );
43 | #endif
44 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/DxeServicesTableLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to retrieve a pointer to the DXE Services Table.
3 | Only available to DXE module types.
4 |
5 | This library does not contain any functions or macros. It simply exports a global
6 | pointer to the DXE Services Table as defined in the Platform Initialization Driver
7 | Execution Environment Core Interface Specification. The library constructor must
8 | initialize this global pointer to the DX Services Table, so it is available at the
9 | module's entry point. Since there is overhead in looking up the pointer to the DXE
10 | Services Table, only those modules that actually require access to the DXE Services
11 | Table should use this library. This will typically be DXE Drivers that require GCD
12 | or Dispatcher services.
13 |
14 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
15 | This program and the accompanying materials
16 | are licensed and made available under the terms and conditions of the BSD License
17 | which accompanies this distribution. The full text of the license may be found at
18 | http://opensource.org/licenses/bsd-license.php
19 |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 |
23 | **/
24 |
25 | #ifndef __DXE_SERVICES_TABLE_LIB_H__
26 | #define __DXE_SERVICES_TABLE_LIB_H__
27 |
28 | ///
29 | /// Cache copy of the DXE Services Table
30 | ///
31 | extern EFI_DXE_SERVICES *gDS;
32 |
33 | #endif
34 |
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/MmServicesTableLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to retrieve a pointer to the Standalone MM Services Table.
3 | Only available to MM_STANDALONE, SMM/DXE Combined and SMM module types.
4 |
5 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
6 | Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
7 |
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | **/
17 |
18 | #ifndef __MM_SERVICES_TABLE_LIB_H__
19 | #define __MM_SERVICES_TABLE_LIB_H__
20 |
21 | #include
22 |
23 | extern EFI_MM_SYSTEM_TABLE *gMmst;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/PciSegmentInfoLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides services to return segment information on a platform with multiple PCI segments.
3 |
4 | This library is consumed by PciSegmentLib to support multiple segment PCI configuration access.
5 |
6 | Copyright (c) 2017, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __PCI_SEGMENT_INFO_LIB__
18 | #define __PCI_SEGMENT_INFO_LIB__
19 |
20 | typedef struct {
21 | UINT16 SegmentNumber; ///< Segment number.
22 | UINT64 BaseAddress; ///< ECAM Base address.
23 | UINT8 StartBusNumber; ///< Start BUS number, for verifying the PCI Segment address.
24 | UINT8 EndBusNumber; ///< End BUS number, for verifying the PCI Segment address.
25 | } PCI_SEGMENT_INFO;
26 |
27 | /**
28 | Return an array of PCI_SEGMENT_INFO holding the segment information.
29 |
30 | Note: The returned array/buffer is owned by callee.
31 |
32 | @param Count Return the count of segments.
33 |
34 | @retval A callee owned array holding the segment information.
35 | **/
36 | PCI_SEGMENT_INFO *
37 | GetPciSegmentInfo (
38 | UINTN *Count
39 | );
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/PeCoffExtraActionLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides services to perform additional actions when a PE/COFF image is loaded
3 | or unloaded. This is useful for environment where symbols need to be loaded
4 | and unloaded to support source level debugging.
5 |
6 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __PE_COFF_EXTRA_ACTION_LIB_H__
18 | #define __PE_COFF_EXTRA_ACTION_LIB_H__
19 |
20 | #include
21 |
22 | /**
23 | Performs additional actions after a PE/COFF image has been loaded and relocated.
24 |
25 | If ImageContext is NULL, then ASSERT().
26 |
27 | @param ImageContext Pointer to the image context structure that describes the
28 | PE/COFF image that has already been loaded and relocated.
29 |
30 | **/
31 | VOID
32 | EFIAPI
33 | PeCoffLoaderRelocateImageExtraAction (
34 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
35 | );
36 |
37 | /**
38 | Performs additional actions just before a PE/COFF image is unloaded. Any resources
39 | that were allocated by PeCoffLoaderRelocateImageExtraAction() must be freed.
40 |
41 | If ImageContext is NULL, then ASSERT().
42 |
43 | @param ImageContext Pointer to the image context structure that describes the
44 | PE/COFF image that is being unloaded.
45 |
46 | **/
47 | VOID
48 | EFIAPI
49 | PeCoffLoaderUnloadImageExtraAction (
50 | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
51 | );
52 |
53 | #endif
54 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/ResourcePublicationLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to publish discovered system resources.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __RESOURCE_PUBLICATION_LIB__
16 | #define __RESOURCE_PUBLICATION_LIB__
17 |
18 | /**
19 | Declares the presence of permanent system memory in the platform.
20 |
21 | Declares that the system memory buffer specified by MemoryBegin and MemoryLength
22 | as permanent memory that may be used for general purpose use by software.
23 | The amount of memory available to software may be less than MemoryLength
24 | if published memory has alignment restrictions.
25 | If MemoryLength is 0, then ASSERT().
26 | If MemoryLength is greater than (MAX_ADDRESS - MemoryBegin + 1), then ASSERT().
27 |
28 | @param MemoryBegin The start address of the memory being declared.
29 | @param MemoryLength The number of bytes of memory being declared.
30 |
31 | @retval RETURN_SUCCESS The memory buffer was published.
32 | @retval RETURN_OUT_OF_RESOURCES There are not enough resources to publish the memory buffer
33 |
34 | **/
35 | RETURN_STATUS
36 | EFIAPI
37 | PublishSystemMemory (
38 | IN PHYSICAL_ADDRESS MemoryBegin,
39 | IN UINT64 MemoryLength
40 | );
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/S3StallLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Stall Services that perform stalls and also enable the Stall operatation
3 | to be replayed during an S3 resume. This library class maps directly on top
4 | of the Timer class.
5 |
6 | Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
7 |
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions
10 | of the BSD License which accompanies this distribution. The
11 | full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | **/
18 |
19 | #ifndef __S3_STALL_LIB_H__
20 | #define __S3_STALL_LIB_H__
21 |
22 | /**
23 | Stalls the CPU for at least the given number of microseconds and saves
24 | the value in the S3 script to be replayed on S3 resume.
25 |
26 | Stalls the CPU for the number of microseconds specified by MicroSeconds.
27 |
28 | @param[in] MicroSeconds The minimum number of microseconds to delay.
29 |
30 | @return MicroSeconds.
31 |
32 | **/
33 | UINTN
34 | EFIAPI
35 | S3Stall (
36 | IN UINTN MicroSeconds
37 | );
38 |
39 | #endif
40 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/SmmIoLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides services for SMM IO Operation.
3 |
4 | The SMM IO Library provides function for checking if IO resource is accessible inside of SMM.
5 |
6 | Copyright (c) 2017, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _SMM_IO_LIB_H_
18 | #define _SMM_IO_LIB_H_
19 |
20 | /**
21 | This function check if the MMIO resource is valid per processor architecture and
22 | valid per platform design.
23 |
24 | @param BaseAddress The MMIO start address to be checked.
25 | @param Length The MMIO length to be checked.
26 | @param Owner A GUID representing the owner of the resource.
27 | This GUID may be used by producer to correlate the device ownership of the resource.
28 | NULL means no specific owner.
29 |
30 | @retval TRUE This MMIO resource is valid per processor architecture and valid per platform design.
31 | @retval FALSE This MMIO resource is not valid per processor architecture or valid per platform design.
32 | **/
33 | BOOLEAN
34 | EFIAPI
35 | SmmIsMmioValid (
36 | IN EFI_PHYSICAL_ADDRESS BaseAddress,
37 | IN UINT64 Length,
38 | IN EFI_GUID *Owner OPTIONAL
39 | );
40 |
41 | #endif
42 |
43 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/SmmServicesTableLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to retrieve a pointer to the SMM Services Table.
3 | Only available to SMM module types.
4 |
5 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef __SMM_SERVICES_TABLE_LIB_H__
17 | #define __SMM_SERVICES_TABLE_LIB_H__
18 |
19 | #include
20 |
21 | ///
22 | /// Cache pointer to the SMM Services Table
23 | ///
24 | extern EFI_SMM_SYSTEM_TABLE2 *gSmst;
25 |
26 | /**
27 | This function allows the caller to determine if the driver is executing in
28 | System Management Mode(SMM).
29 |
30 | This function returns TRUE if the driver is executing in SMM and FALSE if the
31 | driver is not executing in SMM.
32 |
33 | @retval TRUE The driver is executing in System Management Mode (SMM).
34 | @retval FALSE The driver is not executing in System Management Mode (SMM).
35 |
36 | **/
37 | BOOLEAN
38 | EFIAPI
39 | InSmm (
40 | VOID
41 | );
42 |
43 | #endif
44 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/UefiBootServicesTableLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to retrieve a pointer to the EFI Boot Services Table.
3 | Only available to DXE and UEFI module types.
4 |
5 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef __UEFI_BOOT_SERVICES_TABLE_LIB_H__
17 | #define __UEFI_BOOT_SERVICES_TABLE_LIB_H__
18 |
19 | ///
20 | /// Cache the Image Handle
21 | ///
22 | extern EFI_HANDLE gImageHandle;
23 |
24 | ///
25 | /// Cache pointer to the EFI System Table
26 | ///
27 | extern EFI_SYSTEM_TABLE *gST;
28 |
29 | ///
30 | /// Cache pointer to the EFI Boot Services Table
31 | ///
32 | extern EFI_BOOT_SERVICES *gBS;
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Library/UefiRuntimeServicesTableLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides a service to retrieve a pointer to the EFI Runtime Services Table.
3 |
4 | This library does not contain any functions or macros. It simply exports the
5 | global variable gRT that is a pointer to the EFI Runtime Services Table as defined
6 | in the UEFI Specification. The global variable gRT must be preinitialized to NULL.
7 | The library constructor must set gRT to point at the EFI Runtime Services Table so
8 | it is available at the module's entry point. Since there is overhead in initializing
9 | this global variable, only those modules that actually require access to the EFI
10 | Runtime Services Table should use this library.
11 | Only available to DXE and UEFI module types.
12 |
13 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
14 | This program and the accompanying materials
15 | are licensed and made available under the terms and conditions of the BSD License
16 | which accompanies this distribution. The full text of the license may be found at
17 | http://opensource.org/licenses/bsd-license.php
18 |
19 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 |
22 | **/
23 |
24 | #ifndef __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__
25 | #define __UEFI_RUNTIME_SERVICES_TABLE_LIB_H__
26 |
27 | ///
28 | /// Cached copy of the EFI Runtime Services Table
29 | ///
30 | extern EFI_RUNTIME_SERVICES *gRT;
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Pi/PiBootMode.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Present the boot mode values in PI.
3 |
4 | Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | PI Version 1.2.1A
15 |
16 | **/
17 |
18 | #ifndef __PI_BOOT_MODE_H__
19 | #define __PI_BOOT_MODE_H__
20 |
21 | ///
22 | /// EFI boot mode
23 | ///
24 | typedef UINT32 EFI_BOOT_MODE;
25 |
26 | //
27 | // 0x21 - 0xf..f are reserved.
28 | //
29 | #define BOOT_WITH_FULL_CONFIGURATION 0x00
30 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01
31 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02
32 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03
33 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04
34 | #define BOOT_ON_S4_RESUME 0x05
35 | #define BOOT_ON_S5_RESUME 0x06
36 | #define BOOT_WITH_MFG_MODE_SETTINGS 0x07
37 | #define BOOT_ON_S2_RESUME 0x10
38 | #define BOOT_ON_S3_RESUME 0x11
39 | #define BOOT_ON_FLASH_UPDATE 0x12
40 | #define BOOT_IN_RECOVERY_MODE 0x20
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Pi/PiDependency.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Present the dependency expression values in PI.
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | PI Version 1.0
15 |
16 | **/
17 | #ifndef __PI_DEPENDENCY_H__
18 | #define __PI_DEPENDENCY_H__
19 |
20 | ///
21 | /// If present, this must be the first and only opcode,
22 | /// EFI_DEP_BEFORE may be used by DXE and SMM drivers.
23 | ///
24 | #define EFI_DEP_BEFORE 0x00
25 |
26 | ///
27 | /// If present, this must be the first and only opcode,
28 | /// EFI_DEP_AFTER may be used by DXE and SMM drivers.
29 | ///
30 | #define EFI_DEP_AFTER 0x01
31 |
32 | #define EFI_DEP_PUSH 0x02
33 | #define EFI_DEP_AND 0x03
34 | #define EFI_DEP_OR 0x04
35 | #define EFI_DEP_NOT 0x05
36 | #define EFI_DEP_TRUE 0x06
37 | #define EFI_DEP_FALSE 0x07
38 | #define EFI_DEP_END 0x08
39 |
40 |
41 | ///
42 | /// If present, this must be the first opcode,
43 | /// EFI_DEP_SOR is only used by DXE driver.
44 | ///
45 | #define EFI_DEP_SOR 0x09
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/PiDxe.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | Root include file for Mde Package DXE_CORE, DXE, RUNTIME, SMM, SAL type modules.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials are licensed and made available under
7 | the terms and conditions of the BSD License that accompanies this distribution.
8 | The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php.
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef __PI_DXE_H__
17 | #define __PI_DXE_H__
18 |
19 | #include
20 | #include
21 |
22 | #include
23 |
24 | #endif
25 |
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/PiMm.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | Root include file for Mde Package MM modules.
4 |
5 | Copyright (c) 2017, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials are licensed and made available under
7 | the terms and conditions of the BSD License that accompanies this distribution.
8 | The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php.
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef __PI_MM_H__
17 | #define __PI_MM_H__
18 |
19 | #include
20 | #include
21 |
22 | #include
23 |
24 | #endif
25 |
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/PiPei.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | Root include file for Mde Package SEC, PEIM, PEI_CORE type modules.
4 |
5 | This is the include file for any module of type PEIM. PEIM
6 | modules only use types defined via this include file and can
7 | be ported easily to any environment.
8 |
9 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
10 | This program and the accompanying materials are licensed and made available under
11 | the terms and conditions of the BSD License that accompanies this distribution.
12 | The full text of the license may be found at
13 | http://opensource.org/licenses/bsd-license.php.
14 |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 |
18 | **/
19 |
20 | #ifndef __PI_PEI_H__
21 | #define __PI_PEI_H__
22 |
23 | #include
24 | #include
25 |
26 | #endif
27 |
28 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/PiSmm.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | Root include file for Mde Package SMM modules.
4 |
5 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials are licensed and made available under
7 | the terms and conditions of the BSD License that accompanies this distribution.
8 | The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php.
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | **/
15 |
16 | #ifndef __PI_SMM_H__
17 | #define __PI_SMM_H__
18 |
19 | #include
20 | #include
21 |
22 | #include
23 |
24 | #endif
25 |
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/BootInRecoveryMode.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This PPI is installed by the platform PEIM to designate that a recovery boot
3 | is in progress.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | This PPI is introduced in PI Version 1.0.
16 |
17 | **/
18 |
19 | #ifndef __BOOT_IN_RECOVERY_MODE_PPI_H__
20 | #define __BOOT_IN_RECOVERY_MODE_PPI_H__
21 |
22 | #define EFI_PEI_BOOT_IN_RECOVERY_MODE_PPI \
23 | { \
24 | 0x17ee496a, 0xd8e4, 0x4b9a, {0x94, 0xd1, 0xce, 0x82, 0x72, 0x30, 0x8, 0x50 } \
25 | }
26 |
27 |
28 | extern EFI_GUID gEfiPeiBootInRecoveryModePpiGuid;
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/EndOfPeiPhase.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This PPI will be installed at the end of PEI for all boot paths, including
3 | normal, recovery, and S3. It allows for PEIMs to possibly quiesce hardware,
4 | build handoff information for the next phase of execution,
5 | or provide some terminal processing behavior.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This PPI is introduced in PI Version 1.0.
18 |
19 | **/
20 |
21 | #ifndef __END_OF_PEI_PHASE_PPI_H__
22 | #define __END_OF_PEI_PHASE_PPI_H__
23 |
24 | #define EFI_PEI_END_OF_PEI_PHASE_PPI_GUID \
25 | { \
26 | 0x605EA650, 0xC65C, 0x42e1, {0xBA, 0x80, 0x91, 0xA5, 0x2A, 0xB6, 0x18, 0xC6 } \
27 | }
28 |
29 | extern EFI_GUID gEfiEndOfPeiSignalPpiGuid;
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/LoadImage.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | The file describes the PPI which notifies other drivers
3 | of the PEIM being initialized by the PEI Dispatcher.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | This PPI is introduced in PI Version 1.0.
16 |
17 | **/
18 |
19 | #ifndef __LOADED_IMAGE_PPI_H__
20 | #define __LOADED_IMAGE_PPI_H__
21 |
22 | #define EFI_PEI_LOADED_IMAGE_PPI_GUID \
23 | { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }
24 |
25 |
26 | typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
27 |
28 | ///
29 | /// This interface is installed by the PEI Dispatcher after the image has been
30 | /// loaded and after all security checks have been performed,
31 | /// to notify other PEIMs of the files which are being loaded.
32 | ///
33 | struct _EFI_PEI_LOADED_IMAGE_PPI {
34 | ///
35 | /// Address of the image at the address where it will be executed.
36 | ///
37 | EFI_PHYSICAL_ADDRESS ImageAddress;
38 | ///
39 | /// Size of the image as it will be executed.
40 | ///
41 | UINT64 ImageSize;
42 | ///
43 | /// File handle from which the image was loaded.
44 | /// Can be NULL, indicating the image was not loaded from a handle.
45 | ///
46 | EFI_PEI_FILE_HANDLE FileHandle;
47 | };
48 |
49 |
50 | extern EFI_GUID gEfiPeiLoadedImagePpiGuid;
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/MasterBootMode.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Boot Mode PPI.
3 |
4 | The Master Boot Mode PPI is installed by a PEIM to signal that a final
5 | boot has been determined and set. This signal is useful in that PEIMs
6 | with boot-mode-specific behavior can put this PPI in their dependency expression.
7 |
8 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
9 | This program and the accompanying materials
10 | are licensed and made available under the terms and conditions of the BSD License
11 | which accompanies this distribution. The full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | @par Revision Reference:
18 | This PPI is introduced in PI Version 1.0.
19 |
20 | **/
21 |
22 | #ifndef __MASTER_BOOT_MODE_PPI_H__
23 | #define __MASTER_BOOT_MODE_PPI_H__
24 |
25 | #define EFI_PEI_MASTER_BOOT_MODE_PEIM_PPI \
26 | { \
27 | 0x7408d748, 0xfc8c, 0x4ee6, {0x92, 0x88, 0xc4, 0xbe, 0xc0, 0x92, 0xa4, 0x10 } \
28 | }
29 |
30 | extern EFI_GUID gEfiPeiMasterBootModePpiGuid;
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/MemoryDiscovered.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Memory Discovered PPI.
3 |
4 | This PPI is published by the PEI Foundation when the main memory is installed.
5 | It is essentially a PPI with no associated interface. Its purpose is to be used
6 | as a signal for other PEIMs who can register for a notification on its installation.
7 |
8 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
9 | This program and the accompanying materials
10 | are licensed and made available under the terms and conditions of the BSD License
11 | which accompanies this distribution. The full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | @par Revision Reference:
18 | This PPI is introduced in PI Version 1.0.
19 |
20 | **/
21 |
22 | #ifndef __PEI_MEMORY_DISCOVERED_PPI_H__
23 | #define __PEI_MEMORY_DISCOVERED_PPI_H__
24 |
25 | #define EFI_PEI_PERMANENT_MEMORY_INSTALLED_PPI_GUID \
26 | { \
27 | 0xf894643d, 0xc449, 0x42d1, {0x8e, 0xa8, 0x85, 0xbd, 0xd8, 0xc6, 0x5b, 0xde } \
28 | }
29 |
30 | extern EFI_GUID gEfiPeiMemoryDiscoveredPpiGuid;
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/PeiCoreFvLocation.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Header file for Pei Core FV Location PPI.
3 |
4 | This PPI contains a pointer to the firmware volume which contains the PEI Foundation.
5 | If the PEI Foundation does not reside in the BFV, then SEC must pass this PPI as a part
6 | of the PPI list provided to the PEI Foundation Entry Point, otherwise the PEI Foundation
7 | shall assume that it resides within the BFV.
8 |
9 | Copyright (c) 2019, Intel Corporation. All rights reserved.
10 | This program and the accompanying materials
11 | are licensed and made available under the terms and conditions of the BSD License
12 | which accompanies this distribution. The full text of the license may be found at
13 | http://opensource.org/licenses/bsd-license.php
14 |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 |
18 | @par Revision Reference:
19 | This PPI is defined in UEFI Platform Initialization Specification 1.7 Volume 1:
20 | Standards
21 |
22 | **/
23 |
24 |
25 | #ifndef _EFI_PEI_CORE_FV_LOCATION_H_
26 | #define _EFI_PEI_CORE_FV_LOCATION_H_
27 |
28 | ///
29 | /// Global ID for EFI_PEI_CORE_FV_LOCATION_PPI
30 | ///
31 | #define EFI_PEI_CORE_FV_LOCATION_GUID \
32 | { \
33 | 0x52888eae, 0x5b10, 0x47d0, {0xa8, 0x7f, 0xb8, 0x22, 0xab, 0xa0, 0xca, 0xf4 } \
34 | }
35 |
36 | ///
37 | /// This PPI provides location of EFI PeiCoreFv.
38 | ///
39 | typedef struct {
40 | ///
41 | /// Pointer to the first byte of the firmware volume which contains the PEI Foundation.
42 | ///
43 | VOID *PeiCoreFvLocation;
44 | } EFI_PEI_CORE_FV_LOCATION_PPI;
45 |
46 | extern EFI_GUID gEfiPeiCoreFvLocationPpiGuid;
47 |
48 | #endif // _EFI_PEI_CORE_FV_LOCATION_H_
49 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/Reset.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Reset PPI used to reset the platform.
3 |
4 | This PPI is installed by some platform- or chipset-specific PEIM that
5 | abstracts the Reset Service to other agents.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This PPI is introduced in PI Version 1.0.
18 |
19 | **/
20 |
21 | #ifndef __RESET_PPI_H__
22 | #define __RESET_PPI_H__
23 |
24 | #define EFI_PEI_RESET_PPI_GUID \
25 | { \
26 | 0xef398d58, 0x9dfd, 0x4103, {0xbf, 0x94, 0x78, 0xc6, 0xf4, 0xfe, 0x71, 0x2f } \
27 | }
28 |
29 | //
30 | // EFI_PEI_RESET_PPI.ResetSystem() is equivalent to the
31 | // PEI Service ResetSystem().
32 | // It is introduced in PIPeiCis.h.
33 | //
34 |
35 | ///
36 | /// This PPI provides provide a simple reset service.
37 | ///
38 | typedef struct {
39 | EFI_PEI_RESET_SYSTEM ResetSystem;
40 | } EFI_PEI_RESET_PPI;
41 |
42 | extern EFI_GUID gEfiPeiResetPpiGuid;
43 |
44 | #endif
45 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/Reset2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Reset2 PPI used to reset the platform.
3 |
4 | This PPI is installed by some platform- or chipset-specific PEIM that
5 | abstracts the Reset Service to other agents.
6 |
7 | Copyright (c) 2015, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This PPI is introduced in PI Version 1.4.
18 |
19 | **/
20 |
21 | #ifndef __RESET2_PPI_H__
22 | #define __RESET2_PPI_H__
23 |
24 | #define EFI_PEI_RESET2_PPI_GUID \
25 | { \
26 | 0x6cc45765, 0xcce4, 0x42fd, {0xbc, 0x56, 0x1, 0x1a, 0xaa, 0xc6, 0xc9, 0xa8 } \
27 | }
28 |
29 | ///
30 | /// This PPI provides provide a simple reset service.
31 | ///
32 | typedef struct _EFI_PEI_RESET2_PPI {
33 | EFI_PEI_RESET2_SYSTEM ResetSystem;
34 | } EFI_PEI_RESET2_PPI;
35 |
36 | extern EFI_GUID gEfiPeiReset2PpiGuid;
37 |
38 | #endif
39 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/Stall.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Stall PPI.
3 |
4 | This ppi abstracts the blocking stall service to other agents.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | @par Revision Reference:
16 | This PPI is introduced in PI Version 1.0.
17 |
18 | **/
19 |
20 | #ifndef __STALL_PPI_H__
21 | #define __STALL_PPI_H__
22 |
23 | #define EFI_PEI_STALL_PPI_GUID \
24 | { 0x1f4c6f90, 0xb06b, 0x48d8, {0xa2, 0x01, 0xba, 0xe5, 0xf1, 0xcd, 0x7d, 0x56 } }
25 |
26 | typedef struct _EFI_PEI_STALL_PPI EFI_PEI_STALL_PPI;
27 |
28 | /**
29 | The Stall() function provides a blocking stall for at least the number
30 | of microseconds stipulated in the final argument of the API.
31 |
32 | @param PeiServices An indirect pointer to the PEI Services Table
33 | published by the PEI Foundation.
34 | @param This Pointer to the local data for the interface.
35 | @param Microseconds Number of microseconds for which to stall.
36 |
37 | @retval EFI_SUCCESS The service provided at least the required delay.
38 |
39 | **/
40 | typedef
41 | EFI_STATUS
42 | (EFIAPI *EFI_PEI_STALL)(
43 | IN CONST EFI_PEI_SERVICES **PeiServices,
44 | IN CONST EFI_PEI_STALL_PPI *This,
45 | IN UINTN Microseconds
46 | );
47 |
48 | ///
49 | /// This service provides a simple, blocking stall with platform-specific resolution.
50 | ///
51 | struct _EFI_PEI_STALL_PPI {
52 | ///
53 | /// The resolution in microseconds of the stall services.
54 | ///
55 | UINTN Resolution;
56 |
57 | EFI_PEI_STALL Stall;
58 | };
59 |
60 | extern EFI_GUID gEfiPeiStallPpiGuid;
61 |
62 | #endif
63 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/StatusCode.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Status Code PPI.
3 | This ppi provides a service that allows PEIMs to report status codes.
4 |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | This PPI is introduced in PI Version 1.0.
16 |
17 | **/
18 |
19 | #ifndef __STATUS_CODE_PPI_H__
20 | #define __STATUS_CODE_PPI_H__
21 |
22 | #define EFI_PEI_REPORT_PROGRESS_CODE_PPI_GUID \
23 | { 0x229832d3, 0x7a30, 0x4b36, {0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36 } }
24 |
25 | //
26 | // EFI_PEI_PROGRESS_CODE_PPI.ReportStatusCode() is equivalent to the
27 | // PEI Service ReportStatusCode().
28 | // It is introduced in PIPeiCis.h.
29 | //
30 |
31 | ///
32 | /// This PPI provides the service to report status code.
33 | /// There can be only one instance of this service in the system.
34 | ///
35 | typedef struct {
36 | EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;
37 | } EFI_PEI_PROGRESS_CODE_PPI;
38 |
39 | extern EFI_GUID gEfiPeiStatusCodePpiGuid;
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Ppi/TemporaryRamDone.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares Temporary RAM Done PPI.
3 | The PPI that provides a service to disable the use of Temporary RAM.
4 |
5 | Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | This PPI is introduced in PI Version 1.2.1.
16 |
17 | **/
18 |
19 | #ifndef __TEMPORARY_RAM_DONE_H__
20 | #define __TEMPORARY_RAM_DONE_H__
21 |
22 | #define EFI_PEI_TEMPORARY_RAM_DONE_PPI_GUID \
23 | { 0xceab683c, 0xec56, 0x4a2d, { 0xa9, 0x6, 0x40, 0x53, 0xfa, 0x4e, 0x9c, 0x16 } }
24 |
25 | /**
26 | TemporaryRamDone() disables the use of Temporary RAM. If present, this service is invoked
27 | by the PEI Foundation after the EFI_PEI_PERMANANT_MEMORY_INSTALLED_PPI is installed.
28 |
29 | @retval EFI_SUCCESS Use of Temporary RAM was disabled.
30 | @retval EFI_INVALID_PARAMETER Temporary RAM could not be disabled.
31 |
32 | **/
33 | typedef
34 | EFI_STATUS
35 | (EFIAPI * EFI_PEI_TEMPORARY_RAM_DONE) (
36 | VOID
37 | );
38 |
39 | ///
40 | /// This is an optional PPI that may be produced by SEC or a PEIM. If present, it provide a service to
41 | /// disable the use of Temporary RAM. This service may only be called by the PEI Foundation after the
42 | /// transition from Temporary RAM to Permanent RAM is complete. This PPI provides an alternative
43 | /// to the Temporary RAM Migration PPI for system architectures that allow Temporary RAM and
44 | /// Permanent RAM to be enabled and accessed at the same time with no side effects.
45 | ///
46 | typedef struct _EFI_PEI_TEMPORARY_RAM_DONE_PPI {
47 | EFI_PEI_TEMPORARY_RAM_DONE TemporaryRamDone;
48 | } EFI_PEI_TEMPORARY_RAM_DONE_PPI;
49 |
50 | extern EFI_GUID gEfiTemporaryRamDonePpiGuid;
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/Capsule.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Capsule Architectural Protocol as defined in PI1.0a Specification VOLUME 2 DXE
3 |
4 | The DXE Driver that produces this protocol must be a runtime driver.
5 | The driver is responsible for initializing the CapsuleUpdate() and
6 | QueryCapsuleCapabilities() fields of the UEFI Runtime Services Table.
7 | After the two fields of the UEFI Runtime Services Table have been initialized,
8 | the driver must install the EFI_CAPSULE_ARCH_PROTOCOL_GUID on a new handle
9 | with a NULL interface pointer. The installation of this protocol informs
10 | the DXE Foundation that the Capsule related services are now available and
11 | that the DXE Foundation must update the 32-bit CRC of the UEFI Runtime Services Table.
12 |
13 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
14 | This program and the accompanying materials
15 | are licensed and made available under the terms and conditions of the BSD License
16 | which accompanies this distribution. The full text of the license may be found at
17 | http://opensource.org/licenses/bsd-license.php
18 |
19 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 |
22 | **/
23 |
24 | #ifndef __ARCH_PROTOCOL_CAPSULE_ARCH_H__
25 | #define __ARCH_PROTOCOL_CAPSULE_ARCH_H__
26 |
27 | //
28 | // Global ID for the Capsule Architectural Protocol
29 | //
30 | #define EFI_CAPSULE_ARCH_PROTOCOL_GUID \
31 | { 0x5053697e, 0x2cbc, 0x4819, {0x90, 0xd9, 0x05, 0x80, 0xde, 0xee, 0x57, 0x54 }}
32 |
33 | extern EFI_GUID gEfiCapsuleArchProtocolGuid;
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/DriverSupportedEfiVersion.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | The protocol provides information about the version of the EFI
3 | specification that a driver is following. This protocol is
4 | required for EFI drivers that are on PCI and other plug-in
5 | cards.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | **/
17 |
18 | #ifndef __DRIVER_SUPPORTED_EFI_VERSION_H__
19 | #define __DRIVER_SUPPORTED_EFI_VERSION_H__
20 |
21 | #define EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL_GUID \
22 | { 0x5c198761, 0x16a8, 0x4e69, { 0x97, 0x2c, 0x89, 0xd6, 0x79, 0x54, 0xf8, 0x1d } }
23 |
24 |
25 | ///
26 | /// The EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL provides a
27 | /// mechanism for an EFI driver to publish the version of the EFI
28 | /// specification it conforms to. This protocol must be placed on
29 | /// the driver's image handle when the driver's entry point is
30 | /// called.
31 | ///
32 | typedef struct _EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL {
33 | ///
34 | /// The size, in bytes, of the entire structure. Future versions of this
35 | /// specification may grow the size of the structure.
36 | ///
37 | UINT32 Length;
38 | ///
39 | /// The latest version of the UEFI specification that this driver conforms to.
40 | ///
41 | UINT32 FirmwareVersion;
42 | } EFI_DRIVER_SUPPORTED_EFI_VERSION_PROTOCOL;
43 |
44 | extern EFI_GUID gEfiDriverSupportedEfiVersionProtocolGuid;
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/DxeMmReadyToLock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | DXE MM Ready To Lock protocol introduced in the PI 1.5 specification.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _DXE_MM_READY_TO_LOCK_H_
16 | #define _DXE_MM_READY_TO_LOCK_H_
17 |
18 | #define EFI_DXE_MM_READY_TO_LOCK_PROTOCOL_GUID \
19 | { \
20 | 0x60ff8964, 0xe906, 0x41d0, { 0xaf, 0xed, 0xf2, 0x41, 0xe9, 0x74, 0xe0, 0x8e } \
21 | }
22 |
23 | extern EFI_GUID gEfiDxeMmReadyToLockProtocolGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/DxeSmmReadyToLock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | DXE SMM Ready To Lock protocol introduced in the PI 1.2 specification.
3 |
4 | According to PI 1.4a specification, this UEFI protocol indicates that
5 | resources and services that should not be used by the third party code
6 | are about to be locked.
7 | This protocol is a mandatory protocol published by PI platform code.
8 | This protocol in tandem with the End of DXE Event facilitates transition
9 | of the platform from the environment where all of the components are
10 | under the authority of the platform manufacturer to the environment where
11 | third party extensible modules such as UEFI drivers and UEFI applications
12 | are executed. The protocol is published immediately after signaling of the
13 | End of DXE Event. PI modules that need to lock or protect their resources
14 | in anticipation of the invocation of 3rd party extensible modules should
15 | register for notification on installation of this protocol and effect the
16 | appropriate protections in their notification handlers. For example, PI
17 | platform code may choose to use notification handler to lock SMM by invoking
18 | EFI_SMM_ACCESS2_PROTOCOL.Lock() function.
19 |
20 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
21 | This program and the accompanying materials
22 | are licensed and made available under the terms and conditions of the BSD License
23 | which accompanies this distribution. The full text of the license may be found at
24 | http://opensource.org/licenses/bsd-license.php
25 |
26 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
27 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
28 |
29 | **/
30 |
31 | #ifndef _DXE_SMM_READY_TO_LOCK_H_
32 | #define _DXE_SMM_READY_TO_LOCK_H_
33 |
34 | #include
35 |
36 | #define EFI_DXE_SMM_READY_TO_LOCK_PROTOCOL_GUID EFI_DXE_MM_READY_TO_LOCK_PROTOCOL_GUID
37 |
38 | extern EFI_GUID gEfiDxeSmmReadyToLockProtocolGuid;
39 |
40 | #endif
41 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/EdidActive.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EDID Active Protocol from the UEFI 2.0 specification.
3 |
4 | Placed on the video output device child handle that is actively displaying output.
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __EDID_ACTIVE_H__
18 | #define __EDID_ACTIVE_H__
19 |
20 | #define EFI_EDID_ACTIVE_PROTOCOL_GUID \
21 | { \
22 | 0xbd8c1056, 0x9f36, 0x44ec, {0x92, 0xa8, 0xa6, 0x33, 0x7f, 0x81, 0x79, 0x86 } \
23 | }
24 |
25 | ///
26 | /// This protocol contains the EDID information for an active video output device. This is either the
27 | /// EDID information retrieved from the EFI_EDID_OVERRIDE_PROTOCOL if an override is
28 | /// available, or an identical copy of the EDID information from the
29 | /// EFI_EDID_DISCOVERED_PROTOCOL if no overrides are available.
30 | ///
31 | typedef struct {
32 | ///
33 | /// The size, in bytes, of the Edid buffer. 0 if no EDID information
34 | /// is available from the video output device. Otherwise, it must be a
35 | /// minimum of 128 bytes.
36 | ///
37 | UINT32 SizeOfEdid;
38 |
39 | ///
40 | /// A pointer to a read-only array of bytes that contains the EDID
41 | /// information for an active video output device. This pointer is
42 | /// NULL if no EDID information is available for the video output
43 | /// device. The minimum size of a valid Edid buffer is 128 bytes.
44 | /// EDID information is defined in the E-EDID EEPROM
45 | /// specification published by VESA (www.vesa.org).
46 | ///
47 | UINT8 *Edid;
48 | } EFI_EDID_ACTIVE_PROTOCOL;
49 |
50 | extern EFI_GUID gEfiEdidActiveProtocolGuid;
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/EdidDiscovered.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EDID Discovered Protocol from the UEFI 2.0 specification.
3 |
4 | This protocol is placed on the video output device child handle. It represents
5 | the EDID information being used for the output device represented by the child handle.
6 |
7 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | **/
17 |
18 | #ifndef __EDID_DISCOVERED_H__
19 | #define __EDID_DISCOVERED_H__
20 |
21 | #define EFI_EDID_DISCOVERED_PROTOCOL_GUID \
22 | { \
23 | 0x1c0c34f6, 0xd380, 0x41fa, {0xa0, 0x49, 0x8a, 0xd0, 0x6c, 0x1a, 0x66, 0xaa } \
24 | }
25 |
26 | ///
27 | /// This protocol contains the EDID information retrieved from a video output device.
28 | ///
29 | typedef struct {
30 | ///
31 | /// The size, in bytes, of the Edid buffer. 0 if no EDID information
32 | /// is available from the video output device. Otherwise, it must be a
33 | /// minimum of 128 bytes.
34 | ///
35 | UINT32 SizeOfEdid;
36 |
37 | ///
38 | /// A pointer to a read-only array of bytes that contains the EDID
39 | /// information for an active video output device. This pointer is
40 | /// NULL if no EDID information is available for the video output
41 | /// device. The minimum size of a valid Edid buffer is 128 bytes.
42 | /// EDID information is defined in the E-EDID EEPROM
43 | /// specification published by VESA (www.vesa.org).
44 | ///
45 | UINT8 *Edid;
46 | } EFI_EDID_DISCOVERED_PROTOCOL;
47 |
48 | extern EFI_GUID gEfiEdidDiscoveredProtocolGuid;
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/HiiPackageList.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI_HII_PACKAGE_LIST_PROTOCOL as defined in UEFI 2.1.
3 | Boot service LoadImage() installs EFI_HII_PACKAGE_LIST_PROTOCOL on the handle
4 | if the image contains a custom PE/COFF resource with the type 'HII'.
5 | The protocol's interface pointer points to the HII package list, which is
6 | contained in the resource's data.
7 |
8 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
9 | This program and the accompanying materials
10 | are licensed and made available under the terms and conditions of the BSD License
11 | which accompanies this distribution. The full text of the license may be found at
12 | http://opensource.org/licenses/bsd-license.php
13 |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 |
17 | **/
18 |
19 | #ifndef __HII_PACKAGE_LIST_H__
20 | #define __HII_PACKAGE_LIST_H__
21 |
22 | #define EFI_HII_PACKAGE_LIST_PROTOCOL_GUID \
23 | { 0x6a1ee763, 0xd47a, 0x43b4, {0xaa, 0xbe, 0xef, 0x1d, 0xe2, 0xab, 0x56, 0xfc}}
24 |
25 | typedef EFI_HII_PACKAGE_LIST_HEADER * EFI_HII_PACKAGE_LIST_PROTOCOL;
26 |
27 | extern EFI_GUID gEfiHiiPackageListProtocolGuid;
28 |
29 |
30 |
31 | #endif
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/LegacySpiSmmController.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines the Legacy SPI SMM Controler Protocol.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD
7 | License which accompanies this distribution. The full text of the license may
8 | be found at http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in UEFI PI Specification 1.6.
15 |
16 | **/
17 |
18 | #ifndef __LEGACY_SPI_SMM_CONTROLLER_PROTOCOL_H__
19 | #define __LEGACY_SPI_SMM_CONTROLLER_PROTOCOL_H__
20 |
21 | #include
22 |
23 | ///
24 | /// Global ID for the Legacy SPI SMM Controller Protocol
25 | ///
26 | #define EFI_LEGACY_SPI_SMM_CONTROLLER_PROTOCOL_GUID \
27 | { 0x62331b78, 0xd8d0, 0x4c8c, \
28 | { 0x8c, 0xcb, 0xd2, 0x7d, 0xfe, 0x32, 0xdb, 0x9b }}
29 |
30 | typedef
31 | struct _EFI_LEGACY_SPI_CONTROLLER_PROTOCOL
32 | EFI_LEGACY_SPI_SMM_CONTROLLER_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiLegacySpiSmmControllerProtocolGuid;
35 |
36 | #endif // __LEGACY_SPI_SMM_CONTROLLER_PROTOCOL_H__
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/LegacySpiSmmFlash.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines the Legacy SPI SMM Flash Protocol.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD
7 | License which accompanies this distribution. The full text of the license may
8 | be found at http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in UEFI PI Specification 1.6.
15 |
16 | **/
17 |
18 | #ifndef __LEGACY_SPI_SMM_FLASH_PROTOCOL_H__
19 | #define __LEGACY_SPI_SMM_FLASH_PROTOCOL_H__
20 |
21 | #include
22 |
23 | ///
24 | /// Global ID for the Legacy SPI SMM Flash Protocol
25 | ///
26 | #define EFI_LEGACY_SPI_SMM_FLASH_PROTOCOL_GUID \
27 | { 0x5e3848d4, 0x0db5, 0x4fc0, \
28 | { 0x97, 0x29, 0x3f, 0x35, 0x3d, 0x4f, 0x87, 0x9f }}
29 |
30 | typedef
31 | struct _EFI_LEGACY_SPI_FLASH_PROTOCOL
32 | EFI_LEGACY_SPI_SMM_FLASH_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiLegacySpiSmmFlashProtocolGuid;
35 |
36 | #endif // __SPI_SMM_FLASH_PROTOCOL_H__
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/MmEndOfDxe.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | MM End Of Dxe protocol introduced in the PI 1.5 specification.
3 |
4 | This protocol is a mandatory protocol published by MM Foundation code.
5 | This protocol is an MM counterpart of the End of DXE Event.
6 | This protocol prorogates End of DXE notification into MM environment.
7 | This protocol is installed prior to installation of the MM Ready to Lock Protocol.
8 |
9 | Copyright (c) 2017, Intel Corporation. All rights reserved.
10 | This program and the accompanying materials
11 | are licensed and made available under the terms and conditions of the BSD License
12 | which accompanies this distribution. The full text of the license may be found at
13 | http://opensource.org/licenses/bsd-license.php
14 |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 |
18 | **/
19 |
20 | #ifndef _MM_END_OF_DXE_H_
21 | #define _MM_END_OF_DXE_H_
22 |
23 | #define EFI_MM_END_OF_DXE_PROTOCOL_GUID \
24 | { \
25 | 0x24e70042, 0xd5c5, 0x4260, { 0x8c, 0x39, 0xa, 0xd3, 0xaa, 0x32, 0xe9, 0x3d } \
26 | }
27 |
28 | extern EFI_GUID gEfiMmEndOfDxeProtocolGuid;
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/MmPciRootBridgeIo.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | MM PCI Root Bridge IO protocol as defined in the PI 1.5 specification.
3 |
4 | This protocol provides PCI I/O and memory access within MM.
5 |
6 | Copyright (c) 2017, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _MM_PCI_ROOT_BRIDGE_IO_H_
18 | #define _MM_PCI_ROOT_BRIDGE_IO_H_
19 |
20 | #include
21 |
22 | #define EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID \
23 | { \
24 | 0x8bc1714d, 0xffcb, 0x41c3, { 0x89, 0xdc, 0x6c, 0x74, 0xd0, 0x6d, 0x98, 0xea } \
25 | }
26 |
27 | ///
28 | /// This protocol provides the same functionality as the PCI Root Bridge I/O Protocol defined in the
29 | /// UEFI 2.1 Specifcation, section 13.2, except that the functions for Map() and Unmap() may return
30 | /// EFI_UNSUPPORTED.
31 | ///
32 | typedef EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiMmPciRootBridgeIoProtocolGuid;
35 |
36 | #endif
37 |
38 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/MmReadyToLock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | MM Ready To Lock protocol introduced in the PI 1.5 specification.
3 |
4 | This protocol is a mandatory protocol published by the MM Foundation
5 | code when the system is preparing to lock certain resources and interfaces
6 | in anticipation of the invocation of 3rd party extensible modules.
7 | This protocol is an MM counterpart of the DXE MM Ready to Lock Protocol.
8 | This protocol prorogates resource locking notification into MM environment.
9 | This protocol is installed after installation of the MM End of DXE Protocol.
10 |
11 | Copyright (c) 2017, Intel Corporation. All rights reserved.
12 | This program and the accompanying materials
13 | are licensed and made available under the terms and conditions of the BSD License
14 | which accompanies this distribution. The full text of the license may be found at
15 | http://opensource.org/licenses/bsd-license.php
16 |
17 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 |
20 | **/
21 |
22 | #ifndef _MM_READY_TO_LOCK_H_
23 | #define _MM_READY_TO_LOCK_H_
24 |
25 | #define EFI_MM_READY_TO_LOCK_PROTOCOL_GUID \
26 | { \
27 | 0x47b7fa8c, 0xf4bd, 0x4af6, { 0x82, 0x00, 0x33, 0x30, 0x86, 0xf0, 0xd2, 0xc8 } \
28 | }
29 |
30 | extern EFI_GUID gEfiMmReadyToLockProtocolGuid;
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/MonotonicCounter.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Monotonic Counter Architectural Protocol as defined in PI SPEC VOLUME 2 DXE
3 |
4 | This code provides the services required to access the system's monotonic counter
5 |
6 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials are licensed and made available under
8 | the terms and conditions of the BSD License that accompanies this distribution.
9 | The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php.
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef __ARCH_PROTOCOL_MONTONIC_COUNTER_H__
18 | #define __ARCH_PROTOCOL_MONTONIC_COUNTER_H__
19 |
20 | ///
21 | /// Global ID for the Monotonic Counter Architectural Protocol.
22 | ///
23 | #define EFI_MONOTONIC_COUNTER_ARCH_PROTOCOL_GUID \
24 | {0x1da97072, 0xbddc, 0x4b30, {0x99, 0xf1, 0x72, 0xa0, 0xb5, 0x6f, 0xff, 0x2a} }
25 |
26 | extern EFI_GUID gEfiMonotonicCounterArchProtocolGuid;
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/PciEnumerationComplete.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | PCI Enumeration Complete Protocol as defined in the PI 1.1 specification.
3 | This protocol indicates that pci enumeration complete
4 |
5 | Copyright (c) 2009, Intel Corporation. All rights reserved.
6 | This program and the accompanying materials
7 | are licensed and made available under the terms and conditions of the BSD License
8 | which accompanies this distribution. The full text of the license may be found at
9 | http://opensource.org/licenses/bsd-license.php
10 |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 |
14 | @par Revision Reference:
15 | This Protocol is defined in UEFI Platform Initialization Specification 1.2
16 | Volume 5: Standards
17 |
18 | **/
19 |
20 | #ifndef _PCI_ENUMERATION_COMPLETE_H_
21 | #define _PCI_ENUMERATION_COMPLETE_H_
22 |
23 | #define EFI_PCI_ENUMERATION_COMPLETE_GUID \
24 | { \
25 | 0x30cfe3e7, 0x3de1, 0x4586, { 0xbe, 0x20, 0xde, 0xab, 0xa1, 0xb3, 0xb7, 0x93 } \
26 | }
27 |
28 | extern EFI_GUID gEfiPciEnumerationCompleteProtocolGuid;
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/PciOverride.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file declares EFI PCI Override protocol which provides the interface between
3 | the PCI bus driver/PCI Host Bridge Resource Allocation driver and an implementation's
4 | driver to describe the unique features of a platform.
5 | This protocol is optional.
6 |
7 | Copyright (c) 2009, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This Protocol is defined in UEFI Platform Initialization Specification 1.2
18 | Volume 5: Standards
19 |
20 | **/
21 |
22 | #ifndef _PCI_OVERRIDE_H_
23 | #define _PCI_OVERRIDE_H_
24 |
25 | ///
26 | /// EFI_PCI_OVERRIDE_PROTOCOL has the same structure with EFI_PCI_PLATFORM_PROTOCOL
27 | ///
28 | #include
29 |
30 | ///
31 | /// Global ID for the EFI_PCI_OVERRIDE_PROTOCOL
32 | ///
33 | #define EFI_PCI_OVERRIDE_GUID \
34 | { \
35 | 0xb5b35764, 0x460c, 0x4a06, {0x99, 0xfc, 0x77, 0xa1, 0x7c, 0x1b, 0x5c, 0xeb} \
36 | }
37 |
38 | ///
39 | /// Declaration for EFI_PCI_OVERRIDE_PROTOCOL
40 | ///
41 | typedef EFI_PCI_PLATFORM_PROTOCOL EFI_PCI_OVERRIDE_PROTOCOL;
42 |
43 |
44 | extern EFI_GUID gEfiPciOverrideProtocolGuid;
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/RealTimeClock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Real Time clock Architectural Protocol as defined in PI Specification VOLUME 2 DXE
3 |
4 | This code abstracts time and data functions. Used to provide
5 | Time and date related EFI runtime services.
6 |
7 | The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () UEFI 2.0
8 | services are added to the EFI system table and the
9 | EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL
10 | pointer.
11 |
12 | No CRC of the EFI system table is required, since that is done in the DXE core.
13 |
14 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
15 | This program and the accompanying materials
16 | are licensed and made available under the terms and conditions of the BSD License
17 | which accompanies this distribution. The full text of the license may be found at
18 | http://opensource.org/licenses/bsd-license.php
19 |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 |
23 | **/
24 |
25 | #ifndef __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
26 | #define __ARCH_PROTOCOL_REAL_TIME_CLOCK_H__
27 |
28 | ///
29 | /// Global ID for the Real Time Clock Architectural Protocol
30 | ///
31 | #define EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID \
32 | { 0x27CFAC87, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
33 |
34 | extern EFI_GUID gEfiRealTimeClockArchProtocolGuid;
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/Reset.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Reset Architectural Protocol as defined in PI Specification VOLUME 2 DXE
3 |
4 | Used to provide ResetSystem runtime services
5 |
6 | The ResetSystem () UEFI 2.0 service is added to the EFI system table and the
7 | EFI_RESET_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
8 |
9 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
10 | This program and the accompanying materials
11 | are licensed and made available under the terms and conditions of the BSD License
12 | which accompanies this distribution. The full text of the license may be found at
13 | http://opensource.org/licenses/bsd-license.php
14 |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 |
18 | **/
19 |
20 | #ifndef __ARCH_PROTOCOL_RESET_H__
21 | #define __ARCH_PROTOCOL_RESET_H__
22 |
23 | ///
24 | /// Global ID for the Reset Architectural Protocol
25 | ///
26 | #define EFI_RESET_ARCH_PROTOCOL_GUID \
27 | { 0x27CFAC88, 0x46CC, 0x11d4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } }
28 |
29 | extern EFI_GUID gEfiResetArchProtocolGuid;
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/S3SmmSaveState.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | S3 SMM Save State Protocol as defined in PI1.2 Specification VOLUME 5 Standard.
3 |
4 | The EFI_S3_SMM_SAVE_STATE_PROTOCOL publishes the PI SMMboot script abstractions
5 | On an S3 resume boot path the data stored via this protocol is replayed in the order it was stored.
6 | The order of replay is the order either of the S3 Save State Protocol or S3 SMM Save State Protocol
7 | Write() functions were called during the boot process. Insert(), Label(), and
8 | Compare() operations are ordered relative other S3 SMM Save State Protocol write() operations
9 | and the order relative to S3 State Save Write() operations is not defined. Due to these ordering
10 | restrictions it is recommended that the S3 State Save Protocol be used during the DXE phase when
11 | every possible.
12 | The EFI_S3_SMM_SAVE_STATE_PROTOCOL can be called at runtime and
13 | EFI_OUT_OF_RESOURCES may be returned from a runtime call. It is the responsibility of the
14 | platform to ensure enough memory resource exists to save the system state. It is recommended that
15 | runtime calls be minimized by the caller.
16 |
17 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
18 | This program and the accompanying materials
19 | are licensed and made available under the terms and conditions of the BSD License
20 | which accompanies this distribution. The full text of the license may be found at
21 | http://opensource.org/licenses/bsd-license.php
22 |
23 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
24 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
25 |
26 | @par Revision Reference:
27 | This PPI is defined in UEFI Platform Initialization Specification 1.2 Volume 5:
28 | Standards
29 |
30 | **/
31 |
32 | #ifndef __S3_SMM_SAVE_STATE_H__
33 | #define __S3_SMM_SAVE_STATE_H__
34 |
35 | #include
36 |
37 | #define EFI_S3_SMM_SAVE_STATE_PROTOCOL_GUID \
38 | {0x320afe62, 0xe593, 0x49cb, { 0xa9, 0xf1, 0xd4, 0xc2, 0xf4, 0xaf, 0x1, 0x4c }}
39 |
40 |
41 | typedef EFI_S3_SAVE_STATE_PROTOCOL EFI_S3_SMM_SAVE_STATE_PROTOCOL;
42 |
43 | extern EFI_GUID gEfiS3SmmSaveStateProtocolGuid;
44 |
45 | #endif // __S3_SMM_SAVE_STATE_H__
46 |
47 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SecurityPolicy.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Security Policy protocol as defined in PI Specification VOLUME 2 DXE
3 |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SECURITY_POLICY_H_
16 | #define _SECURITY_POLICY_H_
17 |
18 | ///
19 | /// Security policy protocol GUID definition
20 | ///
21 | #define EFI_SECURITY_POLICY_PROTOCOL_GUID \
22 | {0x78E4D245, 0xCD4D, 0x4a05, {0xA2, 0xBA, 0x47, 0x43, 0xE8, 0x6C, 0xFC, 0xAB} }
23 |
24 | extern EFI_GUID gEfiSecurityPolicyProtocolGuid;
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/ShellParameters.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI Shell protocol as defined in the UEFI Shell 2.0 specification.
3 |
4 | Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __EFI_SHELL_PARAMETERS_PROTOCOL_H__
16 | #define __EFI_SHELL_PARAMETERS_PROTOCOL_H__
17 |
18 | #include
19 |
20 | #define EFI_SHELL_PARAMETERS_PROTOCOL_GUID \
21 | { \
22 | 0x752f3136, 0x4e16, 0x4fdc, { 0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca } \
23 | }
24 |
25 | typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {
26 | ///
27 | /// Points to an Argc-element array of points to NULL-terminated strings containing
28 | /// the command-line parameters. The first entry in the array is always the full file
29 | /// path of the executable. Any quotation marks that were used to preserve
30 | /// whitespace have been removed.
31 | ///
32 | CHAR16 **Argv;
33 |
34 | ///
35 | /// The number of elements in the Argv array.
36 | ///
37 | UINTN Argc;
38 |
39 | ///
40 | /// The file handle for the standard input for this executable. This may be different
41 | /// from the ConInHandle in EFI_SYSTEM_TABLE.
42 | ///
43 | SHELL_FILE_HANDLE StdIn;
44 |
45 | ///
46 | /// The file handle for the standard output for this executable. This may be different
47 | /// from the ConOutHandle in EFI_SYSTEM_TABLE.
48 | ///
49 | SHELL_FILE_HANDLE StdOut;
50 |
51 | ///
52 | /// The file handle for the standard error output for this executable. This may be
53 | /// different from the StdErrHandle in EFI_SYSTEM_TABLE.
54 | ///
55 | SHELL_FILE_HANDLE StdErr;
56 | } EFI_SHELL_PARAMETERS_PROTOCOL;
57 |
58 | extern EFI_GUID gEfiShellParametersProtocolGuid;
59 |
60 | #endif
61 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmAccess2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI SMM Access2 Protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol is used to control the visibility of the SMRAM on the platform.
5 | It abstracts the location and characteristics of SMRAM. The expectation is
6 | that the north bridge or memory controller would publish this protocol.
7 |
8 | The principal functionality found in the memory controller includes the following:
9 | - Exposing the SMRAM to all non-SMM agents, or the "open" state
10 | - Shrouding the SMRAM to all but the SMM agents, or the "closed" state
11 | - Preserving the system integrity, or "locking" the SMRAM, such that the settings cannot be
12 | perturbed by either boot service or runtime agents
13 |
14 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
15 | This program and the accompanying materials
16 | are licensed and made available under the terms and conditions of the BSD License
17 | which accompanies this distribution. The full text of the license may be found at
18 | http://opensource.org/licenses/bsd-license.php
19 |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 |
23 | **/
24 |
25 | #ifndef _SMM_ACCESS2_H_
26 | #define _SMM_ACCESS2_H_
27 |
28 | #include
29 |
30 | #define EFI_SMM_ACCESS2_PROTOCOL_GUID EFI_MM_ACCESS_PROTOCOL_GUID
31 |
32 | typedef EFI_MM_ACCESS_PROTOCOL EFI_SMM_ACCESS2_PROTOCOL;
33 |
34 | typedef EFI_MM_OPEN EFI_SMM_OPEN2;
35 |
36 | typedef EFI_MM_CLOSE EFI_SMM_CLOSE2;
37 |
38 | typedef EFI_MM_LOCK EFI_SMM_LOCK2;
39 |
40 | typedef EFI_MM_CAPABILITIES EFI_SMM_CAPABILITIES2;
41 | extern EFI_GUID gEfiSmmAccess2ProtocolGuid;
42 |
43 | #endif
44 |
45 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmCommunication.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI SMM Communication Protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol provides a means of communicating between drivers outside of SMM and SMI
5 | handlers inside of SMM.
6 |
7 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | **/
17 |
18 | #ifndef _SMM_COMMUNICATION_H_
19 | #define _SMM_COMMUNICATION_H_
20 |
21 | #include
22 |
23 |
24 | typedef EFI_MM_COMMUNICATE_HEADER EFI_SMM_COMMUNICATE_HEADER;
25 |
26 | #define EFI_SMM_COMMUNICATION_PROTOCOL_GUID EFI_MM_COMMUNICATION_PROTOCOL_GUID
27 |
28 | typedef EFI_MM_COMMUNICATION_PROTOCOL EFI_SMM_COMMUNICATION_PROTOCOL;
29 |
30 | extern EFI_GUID gEfiSmmCommunicationProtocolGuid;
31 |
32 | #endif
33 |
34 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmControl2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI SMM Control2 Protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol is used initiate synchronous SMI activations. This protocol could be published by a
5 | processor driver to abstract the SMI IPI or a driver which abstracts the ASIC that is supporting the
6 | APM port. Because of the possibility of performing SMI IPI transactions, the ability to generate this
7 | event from a platform chipset agent is an optional capability for both IA-32 and x64-based systems.
8 |
9 | The EFI_SMM_CONTROL2_PROTOCOL is produced by a runtime driver. It provides an
10 | abstraction of the platform hardware that generates an SMI. There are often I/O ports that, when
11 | accessed, will generate the SMI. Also, the hardware optionally supports the periodic generation of
12 | these signals.
13 |
14 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
15 | This program and the accompanying materials
16 | are licensed and made available under the terms and conditions of the BSD License
17 | which accompanies this distribution. The full text of the license may be found at
18 | http://opensource.org/licenses/bsd-license.php
19 |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 |
23 | **/
24 |
25 | #ifndef _SMM_CONTROL2_H_
26 | #define _SMM_CONTROL2_H_
27 |
28 | #include
29 |
30 | #define EFI_SMM_CONTROL2_PROTOCOL_GUID EFI_MM_CONTROL_PROTOCOL_GUID
31 |
32 | typedef EFI_MM_CONTROL_PROTOCOL EFI_SMM_CONTROL2_PROTOCOL;
33 | typedef EFI_MM_PERIOD EFI_SMM_PERIOD;
34 |
35 | typedef EFI_MM_ACTIVATE EFI_SMM_ACTIVATE2;
36 |
37 | typedef EFI_MM_DEACTIVATE EFI_SMM_DEACTIVATE2;
38 | extern EFI_GUID gEfiSmmControl2ProtocolGuid;
39 |
40 | #endif
41 |
42 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmCpuIo2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM CPU I/O 2 protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol provides CPU I/O and memory access within SMM.
5 |
6 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _SMM_CPU_IO2_H_
18 | #define _SMM_CPU_IO2_H_
19 |
20 | #include
21 |
22 | #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID
23 |
24 | typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;
25 |
26 | ///
27 | /// Width of the SMM CPU I/O operations
28 | ///
29 | #define SMM_IO_UINT8 MM_IO_UINT8
30 | #define SMM_IO_UINT16 MM_IO_UINT16
31 | #define SMM_IO_UINT32 MM_IO_UINT32
32 | #define SMM_IO_UINT64 MM_IO_UINT64
33 |
34 | typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;
35 | typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;
36 |
37 | typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;
38 |
39 | extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmEndOfDxe.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM End Of Dxe protocol introduced in the PI 1.2.1 specification.
3 |
4 | According to PI 1.4a specification, this protocol indicates end of the
5 | execution phase when all of the components are under the authority of
6 | the platform manufacturer.
7 | This protocol is a mandatory protocol published by SMM Foundation code.
8 | This protocol is an SMM counterpart of the End of DXE Event.
9 | This protocol prorogates End of DXE notification into SMM environment.
10 | This protocol is installed prior to installation of the SMM Ready to Lock Protocol.
11 |
12 | Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
13 | This program and the accompanying materials
14 | are licensed and made available under the terms and conditions of the BSD License
15 | which accompanies this distribution. The full text of the license may be found at
16 | http://opensource.org/licenses/bsd-license.php
17 |
18 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 |
21 | **/
22 |
23 | #ifndef _SMM_END_OF_DXE_H_
24 | #define _SMM_END_OF_DXE_H_
25 |
26 | #include
27 |
28 | #define EFI_SMM_END_OF_DXE_PROTOCOL_GUID EFI_MM_END_OF_DXE_PROTOCOL_GUID
29 |
30 | extern EFI_GUID gEfiSmmEndOfDxeProtocolGuid;
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmGpiDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM General Purpose Input (GPI) Dispatch2 Protocol as defined in PI 1.1 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | This protocol provides the parent dispatch service for the General Purpose Input
6 | (GPI) SMI source generator.
7 |
8 | The EFI_SMM_GPI_DISPATCH2_PROTOCOL provides the ability to install child handlers for the
9 | given event types. Several inputs can be enabled. This purpose of this interface is to generate an
10 | SMI in response to any of these inputs having a true value provided.
11 |
12 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
13 | This program and the accompanying materials
14 | are licensed and made available under the terms and conditions of the BSD License
15 | which accompanies this distribution. The full text of the license may be found at
16 | http://opensource.org/licenses/bsd-license.php
17 |
18 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 |
21 | @par Revision Reference:
22 | This protocol is from PI Version 1.1.
23 |
24 | **/
25 |
26 | #ifndef _SMM_GPI_DISPATCH2_H_
27 | #define _SMM_GPI_DISPATCH2_H_
28 |
29 | #include
30 | #include
31 |
32 | #define EFI_SMM_GPI_DISPATCH2_PROTOCOL_GUID EFI_MM_GPI_DISPATCH_PROTOCOL_GUID
33 | ///
34 | /// The dispatch function's context.
35 | ///
36 | typedef EFI_MM_GPI_REGISTER_CONTEXT EFI_SMM_GPI_REGISTER_CONTEXT;
37 |
38 | typedef EFI_MM_GPI_REGISTER EFI_SMM_GPI_REGISTER2;
39 |
40 | typedef EFI_MM_GPI_UNREGISTER EFI_SMM_GPI_UNREGISTER2;
41 |
42 | typedef EFI_MM_GPI_DISPATCH_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL;
43 |
44 |
45 |
46 | extern EFI_GUID gEfiSmmGpiDispatch2ProtocolGuid;
47 |
48 | #endif
49 |
50 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmIoTrapDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM IO Trap Dispatch2 Protocol as defined in PI 1.1 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | This protocol provides a parent dispatch service for IO trap SMI sources.
6 |
7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This protocol is from PI Version 1.1.
18 |
19 | **/
20 |
21 | #ifndef _SMM_IO_TRAP_DISPATCH2_H_
22 | #define _SMM_IO_TRAP_DISPATCH2_H_
23 |
24 | #include
25 |
26 | #define EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL_GUID EFI_MM_IO_TRAP_DISPATCH_PROTOCOL_GUID
27 |
28 | ///
29 | /// IO Trap valid types
30 | ///
31 | typedef EFI_MM_IO_TRAP_DISPATCH_TYPE EFI_SMM_IO_TRAP_DISPATCH_TYPE;
32 |
33 | ///
34 | /// IO Trap context structure containing information about the
35 | /// IO trap event that should invoke the handler
36 | ///
37 | typedef EFI_MM_IO_TRAP_REGISTER_CONTEXT EFI_SMM_IO_TRAP_REGISTER_CONTEXT;
38 |
39 | ///
40 | /// IO Trap context structure containing information about the IO trap that occurred
41 | ///
42 | typedef EFI_MM_IO_TRAP_CONTEXT EFI_SMM_IO_TRAP_CONTEXT;
43 |
44 | typedef EFI_MM_IO_TRAP_DISPATCH_PROTOCOL EFI_SMM_IO_TRAP_DISPATCH2_PROTOCOL;
45 |
46 | typedef EFI_MM_IO_TRAP_DISPATCH_REGISTER EFI_SMM_IO_TRAP_DISPATCH2_REGISTER;
47 |
48 | typedef EFI_MM_IO_TRAP_DISPATCH_UNREGISTER EFI_SMM_IO_TRAP_DISPATCH2_UNREGISTER;
49 |
50 | extern EFI_GUID gEfiSmmIoTrapDispatch2ProtocolGuid;
51 |
52 | #endif
53 |
54 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmPciRootBridgeIo.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM PCI Root Bridge IO protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol provides PCI I/O and memory access within SMM.
5 |
6 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _SMM_PCI_ROOT_BRIDGE_IO_H_
18 | #define _SMM_PCI_ROOT_BRIDGE_IO_H_
19 |
20 | #include
21 |
22 | #define EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID
23 |
24 | ///
25 | /// This protocol provides the same functionality as the PCI Root Bridge I/O Protocol defined in the
26 | /// UEFI 2.1 Specifcation, section 13.2, except that the functions for Map() and Unmap() may return
27 | /// EFI_UNSUPPORTED.
28 | ///
29 | typedef EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL;
30 |
31 | extern EFI_GUID gEfiSmmPciRootBridgeIoProtocolGuid;
32 |
33 | #endif
34 |
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM Power Button Dispatch2 Protocol as defined in PI 1.1 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | This protocol provides the parent dispatch service for the power button SMI source generator.
6 |
7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This protocol is from PI Version 1.1.
18 |
19 | **/
20 |
21 | #ifndef _SMM_POWER_BUTTON_DISPATCH2_H_
22 | #define _SMM_POWER_BUTTON_DISPATCH2_H_
23 |
24 | #include
25 |
26 | #define EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID
27 |
28 | ///
29 | /// The dispatch function's context.
30 | ///
31 | typedef EFI_MM_POWER_BUTTON_REGISTER_CONTEXT EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT;
32 |
33 | typedef EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL;
34 |
35 | typedef EFI_MM_POWER_BUTTON_REGISTER EFI_SMM_POWER_BUTTON_REGISTER2;
36 |
37 | typedef EFI_MM_POWER_BUTTON_UNREGISTER EFI_SMM_POWER_BUTTON_UNREGISTER2;
38 |
39 | extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;
40 |
41 | #endif
42 |
43 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmReadyToLock.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM Ready To Lock protocol introduced in the PI 1.2 specification.
3 |
4 | According to PI 1.4a specification, this SMM protocol indicates that
5 | SMM resources and services that should not be used by the third party
6 | code are about to be locked.
7 | This protocol is a mandatory protocol published by the SMM Foundation
8 | code when the system is preparing to lock certain resources and interfaces
9 | in anticipation of the invocation of 3rd party extensible modules.
10 | This protocol is an SMM counterpart of the DXE SMM Ready to Lock Protocol.
11 | This protocol prorogates resource locking notification into SMM environment.
12 | This protocol is installed after installation of the SMM End of DXE Protocol.
13 |
14 | Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
15 | This program and the accompanying materials
16 | are licensed and made available under the terms and conditions of the BSD License
17 | which accompanies this distribution. The full text of the license may be found at
18 | http://opensource.org/licenses/bsd-license.php
19 |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 |
23 | **/
24 |
25 | #ifndef _SMM_READY_TO_LOCK_H_
26 | #define _SMM_READY_TO_LOCK_H_
27 |
28 | #include
29 |
30 | #define EFI_SMM_READY_TO_LOCK_PROTOCOL_GUID EFI_MM_READY_TO_LOCK_PROTOCOL_GUID
31 |
32 | extern EFI_GUID gEfiSmmReadyToLockProtocolGuid;
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmReportStatusCodeHandler.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This protocol provides registering and unregistering services to status code consumers while in DXE SMM.
3 |
4 | Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in PI Specification 1.1.
15 |
16 | **/
17 |
18 | #ifndef __SMM_REPORT_STATUS_CODE_HANDLER_PROTOCOL_H__
19 | #define __SMM_REPORT_STATUS_CODE_HANDLER_PROTOCOL_H__
20 |
21 | #include
22 |
23 | #define EFI_SMM_RSC_HANDLER_PROTOCOL_GUID EFI_MM_RSC_HANDLER_PROTOCOL_GUID
24 |
25 | typedef EFI_MM_RSC_HANDLER_CALLBACK EFI_SMM_RSC_HANDLER_CALLBACK;
26 |
27 | typedef EFI_MM_RSC_HANDLER_REGISTER EFI_SMM_RSC_HANDLER_REGISTER;
28 |
29 | typedef EFI_MM_RSC_HANDLER_UNREGISTER EFI_SMM_RSC_HANDLER_UNREGISTER;
30 |
31 | typedef EFI_MM_RSC_HANDLER_PROTOCOL EFI_SMM_RSC_HANDLER_PROTOCOL;
32 |
33 | extern EFI_GUID gEfiSmmRscHandlerProtocolGuid;
34 |
35 | #endif // __SMM_REPORT_STATUS_CODE_HANDLER_PROTOCOL_H__
36 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmStandbyButtonDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM Standby Button Dispatch2 Protocol as defined in PI 1.1 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | This protocol provides the parent dispatch service for the standby button SMI source generator.
6 |
7 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This protocol is from PI Version 1.1.
18 |
19 | **/
20 |
21 | #ifndef _SMM_STANDBY_BUTTON_DISPATCH2_H_
22 | #define _SMM_STANDBY_BUTTON_DISPATCH2_H_
23 |
24 | #include
25 |
26 | #define EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL_GUID EFI_MM_STANDBY_BUTTON_DISPATCH_PROTOCOL_GUID
27 |
28 | ///
29 | /// The dispatch function's context.
30 | ///
31 | typedef EFI_MM_STANDBY_BUTTON_REGISTER_CONTEXT EFI_SMM_STANDBY_BUTTON_REGISTER_CONTEXT;
32 |
33 | typedef EFI_MM_STANDBY_BUTTON_DISPATCH_PROTOCOL EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL;
34 |
35 | typedef EFI_MM_STANDBY_BUTTON_REGISTER EFI_SMM_STANDBY_BUTTON_REGISTER2;
36 |
37 | typedef EFI_MM_STANDBY_BUTTON_UNREGISTER EFI_SMM_STANDBY_BUTTON_UNREGISTER2;
38 |
39 | extern EFI_GUID gEfiSmmStandbyButtonDispatch2ProtocolGuid;
40 |
41 | #endif
42 |
43 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmStatusCode.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | EFI SMM Status Code Protocol as defined in the PI 1.2 specification.
3 |
4 | This protocol provides the basic status code services while in SMM.
5 |
6 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
7 | This program and the accompanying materials
8 | are licensed and made available under the terms and conditions of the BSD License
9 | which accompanies this distribution. The full text of the license may be found at
10 | http://opensource.org/licenses/bsd-license.php
11 |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 |
15 | **/
16 |
17 | #ifndef _SMM_STATUS_CODE_H__
18 | #define _SMM_STATUS_CODE_H__
19 |
20 | #include
21 |
22 | #define EFI_SMM_STATUS_CODE_PROTOCOL_GUID EFI_MM_STATUS_CODE_PROTOCOL_GUID
23 |
24 | typedef EFI_MM_STATUS_CODE_PROTOCOL EFI_SMM_STATUS_CODE_PROTOCOL;
25 |
26 | typedef EFI_MM_REPORT_STATUS_CODE EFI_SMM_REPORT_STATUS_CODE;
27 |
28 | extern EFI_GUID gEfiSmmStatusCodeProtocolGuid;
29 |
30 | #endif
31 |
32 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmSxDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM Sx Dispatch Protocol as defined in PI 1.2 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | Provides the parent dispatch service for a given Sx-state source generator.
6 |
7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | **/
17 |
18 | #ifndef _SMM_SX_DISPATCH2_H_
19 | #define _SMM_SX_DISPATCH2_H_
20 |
21 | #include
22 |
23 | #define EFI_SMM_SX_DISPATCH2_PROTOCOL_GUID EFI_MM_SX_DISPATCH_PROTOCOL_GUID
24 |
25 | ///
26 | /// The dispatch function's context
27 | ///
28 | typedef EFI_MM_SX_REGISTER_CONTEXT EFI_SMM_SX_REGISTER_CONTEXT;
29 |
30 | typedef EFI_MM_SX_DISPATCH_PROTOCOL EFI_SMM_SX_DISPATCH2_PROTOCOL;
31 |
32 | typedef EFI_MM_SX_REGISTER EFI_SMM_SX_REGISTER2;
33 |
34 | typedef EFI_MM_SX_UNREGISTER EFI_SMM_SX_UNREGISTER2;
35 |
36 | extern EFI_GUID gEfiSmmSxDispatch2ProtocolGuid;
37 |
38 | #endif
39 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SmmUsbDispatch2.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | SMM USB Dispatch2 Protocol as defined in PI 1.1 Specification
3 | Volume 4 System Management Mode Core Interface.
4 |
5 | Provides the parent dispatch service for the USB SMI source generator.
6 |
7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
8 | This program and the accompanying materials
9 | are licensed and made available under the terms and conditions of the BSD License
10 | which accompanies this distribution. The full text of the license may be found at
11 | http://opensource.org/licenses/bsd-license.php
12 |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 |
16 | @par Revision Reference:
17 | This protocol is from PI Version 1.1.
18 |
19 | **/
20 |
21 | #ifndef _SMM_USB_DISPATCH2_H_
22 | #define _SMM_USB_DISPATCH2_H_
23 |
24 | #include
25 |
26 | #define EFI_SMM_USB_DISPATCH2_PROTOCOL_GUID EFI_MM_USB_DISPATCH_PROTOCOL_GUID
27 |
28 | ///
29 | /// USB SMI event types
30 | ///
31 | typedef EFI_USB_MMI_TYPE EFI_USB_SMI_TYPE;
32 |
33 | ///
34 | /// The dispatch function's context.
35 | ///
36 | typedef EFI_MM_USB_REGISTER_CONTEXT EFI_SMM_USB_REGISTER_CONTEXT;
37 |
38 | typedef EFI_MM_USB_DISPATCH_PROTOCOL EFI_SMM_USB_DISPATCH2_PROTOCOL;
39 |
40 | typedef EFI_MM_USB_REGISTER EFI_SMM_USB_REGISTER2;
41 |
42 | typedef EFI_MM_USB_UNREGISTER EFI_SMM_USB_UNREGISTER2;
43 |
44 | extern EFI_GUID gEfiSmmUsbDispatch2ProtocolGuid;
45 |
46 | #endif
47 |
48 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SpiSmmConfiguration.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines the SPI SMM Configuration Protocol.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD
7 | License which accompanies this distribution. The full text of the license may
8 | be found at http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in UEFI PI Specification 1.6.
15 |
16 | **/
17 |
18 | #ifndef __SPI_SMM_CONFIGURATION_PROTOCOL_H__
19 | #define __SPI_SMM_CONFIGURATION_PROTOCOL_H__
20 |
21 | #include
22 |
23 | ///
24 | /// Global ID for the SPI SMM Configuration Protocol
25 | ///
26 | #define EFI_SPI_SMM_CONFIGURATION_PROTOCOL_GUID \
27 | { 0x995c6eca, 0x171b, 0x45fd, \
28 | { 0xa3, 0xaa, 0xfd, 0x4c, 0x9c, 0x9d, 0xef, 0x59 }}
29 |
30 | typedef
31 | struct _EFI_SPI_CONFIGURATION_PROTOCOL
32 | EFI_SPI_SMM_CONFIGURATION_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiSpiSmmConfigurationProtocolGuid;
35 |
36 | #endif // __SPI_SMM_CONFIGURATION_H__
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SpiSmmHc.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines the SPI SMM Host Controller Protocol.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD
7 | License which accompanies this distribution. The full text of the license may
8 | be found at http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in UEFI PI Specification 1.6.
15 |
16 | **/
17 |
18 | #ifndef __SPI_SMM_HC_H__
19 | #define __SPI_SMM_HC_H__
20 |
21 | #include
22 |
23 | ///
24 | /// Global ID for the SPI SMM Host Controller Protocol
25 | ///
26 | #define EFI_SPI_SMM_HC_PROTOCOL_GUID \
27 | { 0xe9f02217, 0x2093, 0x4470, \
28 | { 0x8a, 0x54, 0x5c, 0x2c, 0xff, 0xe7, 0x3e, 0xcb }}
29 |
30 | typedef
31 | struct _EFI_SPI_HC_PROTOCOL
32 | EFI_SPI_SMM_HC_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiSpiSmmHcProtocolGuid;
35 |
36 | #endif // __SPI_SMM_HC_H__
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Protocol/SpiSmmNorFlash.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | This file defines the SPI SMM NOR Flash Protocol.
3 |
4 | Copyright (c) 2017, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD
7 | License which accompanies this distribution. The full text of the license may
8 | be found at http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | @par Revision Reference:
14 | This Protocol was introduced in UEFI PI Specification 1.6.
15 |
16 | **/
17 |
18 | #ifndef __SPI_SMM_NOR_FLASH_PROTOCOL_H__
19 | #define __SPI_SMM_NOR_FLASH_PROTOCOL_H__
20 |
21 | #include
22 |
23 | ///
24 | /// Global ID for the SPI SMM NOR Flash Protocol
25 | ///
26 | #define EFI_SPI_SMM_NOR_FLASH_PROTOCOL_GUID \
27 | { 0xaab18f19, 0xfe14, 0x4666, \
28 | { 0x86, 0x04, 0x87, 0xff, 0x6d, 0x66, 0x2c, 0x9a } }
29 |
30 | typedef
31 | struct _EFI_SPI_NOR_FLASH_PROTOCOL
32 | EFI_SPI_SMM_NOR_FLASH_PROTOCOL;
33 |
34 | extern EFI_GUID gEfiSpiSmmNorFlashProtocolGuid;
35 |
36 | #endif // __SPI_SMM_NOR_FLASH_PROTOCOL_H__
37 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Uefi.h:
--------------------------------------------------------------------------------
1 | /** @file
2 |
3 | Root include file for Mde Package UEFI, UEFI_APPLICATION type modules.
4 |
5 | This is the include file for any module of type UEFI and UEFI_APPLICATION. Uefi modules only use
6 | types defined via this include file and can be ported easily to any
7 | environment.
8 |
9 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
10 | This program and the accompanying materials are licensed and made available under
11 | the terms and conditions of the BSD License that accompanies this distribution.
12 | The full text of the license may be found at
13 | http://opensource.org/licenses/bsd-license.php.
14 |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 |
18 | **/
19 |
20 | #ifndef __PI_UEFI_H__
21 | #define __PI_UEFI_H__
22 |
23 | #include
24 | #include
25 |
26 | #endif
27 |
28 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/Uefi/UefiAcpiDataTable.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | UEFI ACPI Data Table Definition.
3 |
4 | Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials are licensed and made available under
6 | the terms and conditions of the BSD License that accompanies this distribution.
7 | The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php.
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef __UEFI_ACPI_DATA_TABLE_H__
16 | #define __UEFI_ACPI_DATA_TABLE_H__
17 |
18 | #include
19 |
20 | #pragma pack(1)
21 | typedef struct {
22 | EFI_ACPI_DESCRIPTION_HEADER Header;
23 | GUID Identifier;
24 | UINT16 DataOffset;
25 | } EFI_ACPI_DATA_TABLE;
26 | #pragma pack()
27 |
28 | #endif
29 |
30 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/MdePkg/Include/X64/Nasm.inc:
--------------------------------------------------------------------------------
1 | ;------------------------------------------------------------------------------
2 | ;
3 | ; Copyright (c) 2019, Intel Corporation. All rights reserved.
4 | ; This program and the accompanying materials
5 | ; are licensed and made available under the terms and conditions of the BSD License
6 | ; which accompanies this distribution. The full text of the license may be found at
7 | ; http://opensource.org/licenses/bsd-license.php.
8 | ;
9 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 | ;
12 | ; Abstract:
13 | ;
14 | ; This file provides macro definitions for NASM files.
15 | ;
16 | ;------------------------------------------------------------------------------
17 |
18 | %macro SETSSBSY 0
19 | DB 0xF3, 0x0F, 0x01, 0xE8
20 | %endmacro
21 |
22 | %macro READSSP_RAX 0
23 | DB 0xF3, 0x48, 0x0F, 0x1E, 0xC8
24 | %endmacro
25 |
26 | %macro INCSSP_RAX 0
27 | DB 0xF3, 0x48, 0x0F, 0xAE, 0xE8
28 | %endmacro
29 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/OpensslLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/OpensslLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Guid/ShellAliasGuid.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for Shell Variable for Get/Set via runtime services.
3 |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELL_ALIAS_VARIABLE_GUID_H_
16 | #define _SHELL_ALIAS_VARIABLE_GUID_H_
17 |
18 | #define SHELL_ALIAS_VARIABLE_GUID \
19 | { \
20 | 0x0053d9d6, 0x2659, 0x4599, { 0xa2, 0x6b, 0xef, 0x45, 0x36, 0xe6, 0x31, 0xa9 } \
21 | }
22 |
23 | extern EFI_GUID gShellAliasGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Guid/ShellEnvironment2Ext.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for EFI shell Environment2 Extension.
3 |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELLPKG_SHELL_ENV2_EXT_GUID_H_
16 | #define _SHELLPKG_SHELL_ENV2_EXT_GUID_H_
17 |
18 | #define SHELLPKG_SHELL_ENV2_EXT_GUID \
19 | { \
20 | 0xd2c18636, 0x40e5, 0x4eb5, {0xa3, 0x1b, 0x36, 0x69, 0x5f, 0xd4, 0x2c, 0x87} \
21 | }
22 |
23 | extern EFI_GUID gEfiShellEnvironment2ExtGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Guid/ShellMapGuid.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for Shell Map for Get/Set via runtime services.
3 |
4 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELL_MAP_GUID_H_
16 | #define _SHELL_MAP_GUID_H_
17 |
18 | #define SHELL_MAP_GUID \
19 | { \
20 | 0x51271e13, 0x7de3, 0x43af, { 0x8b, 0xc2, 0x71, 0xad, 0x3b, 0x82, 0x43, 0x25 } \
21 | }
22 |
23 | extern EFI_GUID gShellMapGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Guid/ShellPkgTokenSpace.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for ShellPkg PCD Token Space.
3 |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELLPKG_TOKEN_SPACE_GUID_H_
16 | #define _SHELLPKG_TOKEN_SPACE_GUID_H_
17 |
18 | #define EFI_SHELLPKG_TOKEN_SPACE_GUID \
19 | { \
20 | 0x171e9188, 0x31d3, 0x40f5, { 0xb1, 0xc, 0x53, 0x9b, 0x2d, 0xb9, 0x40, 0xcd } \
21 | }
22 |
23 | extern EFI_GUID gEfiShellPkgTokenSpaceGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Guid/ShellVariableGuid.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | GUID for Shell Variable for Get/Set via runtime services.
3 |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELL_VARIABLE_GUID_H_
16 | #define _SHELL_VARIABLE_GUID_H_
17 |
18 | #define SHELL_VARIABLE_GUID \
19 | { \
20 | 0x158def5a, 0xf656, 0x419c, { 0xb0, 0x27, 0x7a, 0x31, 0x92, 0xc0, 0x79, 0xd2 } \
21 | }
22 |
23 | extern EFI_GUID gShellVariableGuid;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Library/BcfgCommandLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Header file for BCFG command library.
3 |
4 | Copyright (c) 2014, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _BCFG_COMMAND_LIB_H_
16 | #define _BCFG_COMMAND_LIB_H_
17 |
18 | /**
19 | "Constructor" for the library.
20 |
21 | This will register the handler for the bcfg command.
22 |
23 | @param[in] ImageHandle the image handle of the process
24 | @param[in] SystemTable the EFI System Table pointer
25 | @param[in] Name the profile name to use
26 |
27 | @retval EFI_SUCCESS the shell command handlers were installed sucessfully
28 | @retval EFI_UNSUPPORTED the shell level required was not found.
29 | **/
30 | EFI_STATUS
31 | EFIAPI
32 | BcfgLibraryRegisterBcfgCommand (
33 | IN EFI_HANDLE ImageHandle,
34 | IN EFI_SYSTEM_TABLE *SystemTable,
35 | IN CONST CHAR16 *Name
36 | );
37 |
38 | /**
39 | "Destructor" for the library. free any resources.
40 |
41 | @param ImageHandle The image handle of the process.
42 | @param SystemTable The EFI System Table pointer.
43 | **/
44 | EFI_STATUS
45 | EFIAPI
46 | BcfgLibraryUnregisterBcfgCommand (
47 | IN EFI_HANDLE ImageHandle,
48 | IN EFI_SYSTEM_TABLE *SystemTable
49 | );
50 |
51 | #endif
52 |
53 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/ShellPkg/Include/Library/ShellCEntryLib.h:
--------------------------------------------------------------------------------
1 | /** @file
2 | Provides application point extension for "C" style main function.
3 |
4 | Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
5 | This program and the accompanying materials
6 | are licensed and made available under the terms and conditions of the BSD License
7 | which accompanies this distribution. The full text of the license may be found at
8 | http://opensource.org/licenses/bsd-license.php
9 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 |
13 | **/
14 |
15 | #ifndef _SHELL_C_ENTRY_LIB_
16 | #define _SHELL_C_ENTRY_LIB_
17 |
18 | /**
19 | UEFI application entry point which has an interface similar to a
20 | standard C main function.
21 |
22 | The ShellCEntryLib library instance wrappers the actual UEFI application
23 | entry point and calls this ShellAppMain function.
24 |
25 | @param[in] Argc The number of parameters.
26 | @param[in] Argv The array of pointers to parameters.
27 |
28 | @retval 0 The application exited normally.
29 | @retval Other An error occurred.
30 |
31 | **/
32 | INTN
33 | EFIAPI
34 | ShellAppMain (
35 | IN UINTN Argc,
36 | IN CHAR16 **Argv
37 | );
38 |
39 | #endif
40 |
41 |
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiApplicationEntryPoint.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiApplicationEntryPoint.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiBootServicesTableLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiBootServicesTableLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiDebugLibConOut.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiDebugLibConOut.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiDevicePathLibDevicePathProtocol.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiDevicePathLibDevicePathProtocol.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiDriverEntryPoint.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiDriverEntryPoint.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiFileHandleLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiFileHandleLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiHiiLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiHiiLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiHiiServicesLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiHiiServicesLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiMemoryAllocationLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiMemoryAllocationLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiMemoryLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiMemoryLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiRuntimeLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiRuntimeLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiRuntimeServicesTableLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiRuntimeServicesTableLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiShellLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiShellLib.lib
--------------------------------------------------------------------------------
/Voyager/Voyager/edk2/UefiSortLib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/Voyager/edk2/UefiSortLib.lib
--------------------------------------------------------------------------------
/Voyager/example/example.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {a575c9e1-1d0c-410a-8456-2743e2f93f86}
14 |
15 |
16 |
17 |
18 | Source Files
19 |
20 |
21 | Source Files
22 |
23 |
24 |
25 |
26 | Header Files
27 |
28 |
29 | Header Files\util
30 |
31 |
32 | Header Files\util
33 |
34 |
35 | Header Files
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Voyager/example/example.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Voyager/example/libvoyager.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/Voyager/example/libvoyager.lib
--------------------------------------------------------------------------------
/Voyager/libvoyager/com.asm:
--------------------------------------------------------------------------------
1 | _text segment
2 | hypercall proc
3 | cpuid
4 | ret
5 | hypercall endp
6 | _text ends
7 | end
--------------------------------------------------------------------------------
/Voyager/libvoyager/libvoyager.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30621.155
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libvoyager", "libvoyager\libvoyager.vcxproj", "{F468E79E-CC93-4A7F-844E-984117B5B08B}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example\example.vcxproj", "{1770C4FB-345F-40DD-B4A2-2A5DC8A50866}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|x64 = Debug|x64
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {F468E79E-CC93-4A7F-844E-984117B5B08B}.Debug|x64.ActiveCfg = Debug|x64
17 | {F468E79E-CC93-4A7F-844E-984117B5B08B}.Debug|x64.Build.0 = Debug|x64
18 | {F468E79E-CC93-4A7F-844E-984117B5B08B}.Release|x64.ActiveCfg = Release|x64
19 | {F468E79E-CC93-4A7F-844E-984117B5B08B}.Release|x64.Build.0 = Release|x64
20 | {1770C4FB-345F-40DD-B4A2-2A5DC8A50866}.Debug|x64.ActiveCfg = Debug|x64
21 | {1770C4FB-345F-40DD-B4A2-2A5DC8A50866}.Debug|x64.Build.0 = Debug|x64
22 | {1770C4FB-345F-40DD-B4A2-2A5DC8A50866}.Release|x64.ActiveCfg = Release|x64
23 | {1770C4FB-345F-40DD-B4A2-2A5DC8A50866}.Release|x64.Build.0 = Release|x64
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {BA7C21A6-0410-4D98-92D4-1F66944EAC47}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/Voyager/libvoyager/libvoyager.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 |
14 |
15 | Source Files
16 |
17 |
18 |
19 |
20 | Header Files
21 |
22 |
23 |
24 |
25 | Source Files
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Voyager/libvoyager/libvoyager.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/img/2004--1507-supported-green.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/Intel-supported-green.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/Legacy_BIOS-Unsupported-red.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/Secure Boot-Unsupported-red.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/amd_badge.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/img/hookchain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/img/hookchain.png
--------------------------------------------------------------------------------
/img/sections.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/img/sections.PNG
--------------------------------------------------------------------------------
/img/unknown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backengineering/Voyager/8c99d1617b8bdf0c64650451b8d1b39fb01a1e13/img/unknown.png
--------------------------------------------------------------------------------
/launch.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | net session >nul 2>&1
3 | if %errorLevel% == 0 (
4 | :: mount the efi partition to X: drive...
5 | mountvol X: /S
6 |
7 | :: bootmgfw is a system file so we are going to strip those attributes away...
8 | attrib -s -h X:\EFI\Microsoft\Boot\bootmgfw.efi
9 |
10 | :: backup bootmgfw.efi (this is needed for voyager to work since voyager restores bootmgfw.efi)
11 | move X:\EFI\Microsoft\Boot\bootmgfw.efi X:\EFI\Microsoft\Boot\bootmgfw.efi.backup
12 |
13 | :: copy payload and bootmgfw.efi to EFI partition...
14 | xcopy %~dp0bootmgfw.efi X:\EFI\Microsoft\Boot\
15 | xcopy %~dp0payload.dll X:\EFI\Microsoft\Boot\
16 |
17 | echo press enter to reboot...
18 | pause
19 |
20 | :: enable hyper-v and reboot now...
21 | BCDEDIT /Set {current} hypervisorlaunchtype auto
22 | shutdown /r /t 0
23 | ) else (
24 | echo Failure: Please run as admin.
25 | pause
26 | )
--------------------------------------------------------------------------------