diff --git a/Protocols/DumpUefiCalls/Lib.c b/Protocols/DumpUefiCalls/Lib.c index 1091bccd9..ea39f993e 100644 --- a/Protocols/DumpUefiCalls/Lib.c +++ b/Protocols/DumpUefiCalls/Lib.c @@ -91,6 +91,10 @@ EFI_GUID mAppleImageCodecProtocolGuid = {0x0DFCE9F6, 0xC4E3, 0x45EE, {0xA0, 0x EFI_GUID mAppleEfiVendorGuid = {0xAC39C713, 0x7E50, 0x423D, {0x88, 0x9D, 0x27, 0x8F, 0xCC, 0x34, 0x22, 0xB6}}; EFI_GUID mAppleEFINVRAMTRBSecureGuid = {0xF68DA75E, 0x1B55, 0x4E70, {0xB4, 0x1B, 0xA7, 0xB7, 0xA5, 0xB7, 0x58, 0xEA}}; EFI_GUID mDataHubOptionsGuid = {0x0021001C, 0x3CE3, 0x41F8, {0x99, 0xC6, 0xEC, 0xF5, 0xDA, 0x75, 0x47, 0x31}}; +EFI_GUID mRestartDataProtocolGiud = {0x03B99B90, 0xECCF, 0x451D, {0x80, 0x9E, 0x83, 0x41, 0xFC, 0xB8, 0x30, 0xAC}}; +EFI_GUID mAppleUserInterfaceThemeProtocolGuid = {0xD5B0AC65, 0x9A2D, 0x4D2A, {0xBB, 0xD6, 0xE8, 0x71, 0xA9, 0x5E, 0x04, 0x35}}; +EFI_GUID mApfsEfiBootRecordInfoProtocolGuid = {0x03B8D751, 0xA02F, 0x4FF8, {0x9B, 0x1A, 0x55, 0x24, 0xAF, 0xA3, 0x94, 0x5F}}; +EFI_GUID mApplePlatformInfoDatabaseProtocolGuid = {0xAC5E4829, 0xA8FD, 0x440B, {0xAF, 0x33, 0x9F, 0xFE, 0x01, 0x3B, 0x12, 0xD8}}; EFI_GUID mNotifyMouseActivity = {0xF913C2C2, 0x5351, 0x4FDB, {0x93, 0x44, 0x70, 0xFF, 0xED, 0xB8, 0x42, 0x25}}; EFI_GUID mEfiDataHubProtocolGuid = {0xAE80D021, 0x618E, 0x11D4, {0xBC, 0xD7, 0x00, 0x80, 0xC7, 0x3C, 0x88, 0x81}}; @@ -128,38 +132,43 @@ EFI_GUID mSaPegDataVariableGuid = {0xC4975200, 0x64F1, 0x4FB6, {0x97, 0x73, 0 EFI_GUID mAmiNvramSpdMapGuid = {0x717FC150, 0xABD9, 0x4614, {0x80, 0x15, 0x0B, 0x33, 0x23, 0xEA, 0xB9, 0x5C}}; EFI_GUID mShellVariableGuid = {0x158DEF5A, 0xF656, 0x419C, {0xB0, 0x27, 0x7A, 0x31, 0x92, 0xC0, 0x79, 0xD2}}; EFI_GUID mTerminalVarGuid = {0x560BF58A, 0x1E0D, 0x4D7E, {0x95, 0x3F, 0x29, 0x80, 0xA2, 0x61, 0xE0, 0x31}}; -EFI_GUID mAmiTseSetupGuid = {0xC811FA38, 0x42C8, 0x4579, {0xA9, 0xBB, 0x60, 0xE9, 0x4E, 0xDD, 0xFB, 0x34}}; -EFI_GUID mAmiNetworkStackGuid = {0xD1405D16, 0x7AFC, 0x4695, {0xBB, 0x12, 0x41, 0x45, 0x9D, 0x36, 0x95, 0xA2}}; + +//AMI UEFI +EFI_GUID mAmiTseSetupGuid = {0xC811FA38, 0x42C8, 0x4579, {0xA9, 0xBB, 0x60, 0xE9, 0x4E, 0xDD, 0xFB, 0x34}}; +EFI_GUID mAmiNetworkStackGuid = {0xD1405D16, 0x7AFC, 0x4695, {0xBB, 0x12, 0x41, 0x45, 0x9D, 0x36, 0x95, 0xA2}}; EFI_GUID mAmiRecoveryFormSetGuid = {0x80E1202E, 0x2697, 0x4264, {0x9C, 0xC9, 0x80, 0x76, 0x2C, 0x3E, 0x58, 0x63}}; EFI_GUID mAmiIsaDmaIrqMaskVarGuid = {0xFC8BE767, 0x89F1, 0x4D6E, {0x80, 0x99, 0x6F, 0x02, 0x1E, 0xBC, 0x87, 0xCC}}; -EFI_GUID mAmiNvRamMailboxVariableGuid = {0x54913A6D, 0xF4EE, 0x4CDB, {0x84, 0x75, 0x74, 0x06, 0x2B, 0xFC, 0xEC, 0xF5}}; -EFI_GUID mAmiTableDataVarGuid = {0x4BAFC2B4, 0x02DC, 0x4104, {0xB2, 0x36, 0xD6, 0xF1, 0xB9, 0x8D, 0x9E, 0x84}}; -EFI_GUID mCpuWakeUpBufferVariableGuid = {0xDF665292, 0x79D7, 0x40E2, {0xBA, 0x51, 0xF7, 0xD4, 0x94, 0x62, 0x81, 0x85}}; -EFI_GUID mMeSetupInfoGuid = {0x78259433, 0x7B6D, 0x4DB3, {0x9A, 0xE8, 0x36, 0xC4, 0xC2, 0xC3, 0xA1, 0x7D}}; +EFI_GUID mAmiNvRamMailboxVariableGuid = {0x54913A6D, 0xF4EE, 0x4CDB, {0x84, 0x75, 0x74, 0x06, 0x2B, 0xFC, 0xEC, 0xF5}}; +EFI_GUID mAmiTableDataVarGuid = {0x4BAFC2B4, 0x02DC, 0x4104, {0xB2, 0x36, 0xD6, 0xF1, 0xB9, 0x8D, 0x9E, 0x84}}; EFI_GUID mAmiSecurityFormSetGuid = {0x981CEAEE, 0x931C, 0x4A17, {0xB9, 0xC8, 0x66, 0xC7, 0xBC, 0xFD, 0x77, 0xE1}}; -EFI_GUID mAmiDriverHealthCountGuid = {0x7459A7D4, 0x6533, 0x4480, {0xBB, 0xA7, 0x79, 0xE2, 0x5A, 0x44, 0x43, 0xC9}}; +EFI_GUID mAmiDriverHealthCountGuid = {0x7459A7D4, 0x6533, 0x4480, {0xBB, 0xA7, 0x79, 0xE2, 0x5A, 0x44, 0x43, 0xC9}}; EFI_GUID mAmiDriverHlthEnableGuid = {0x0885F288, 0x418C, 0x4bE1, {0xA6, 0xAF, 0x8B, 0xAD, 0x61, 0xDA, 0x08, 0xFE}}; -EFI_GUID mSioDevStatusVarGuid = {0x5820DE98, 0xFC8E, 0x4B0B, {0xA4, 0xB9, 0x0A, 0x94, 0x0D, 0x16, 0x2A, 0x7E}}; +EFI_GUID mAmiBootManagerGuid = {0xB4909CF3, 0x7B93, 0x4751, {0x9B, 0xD8, 0x5B, 0xA8, 0x22, 0x0B, 0x9B, 0xB2}}; +EFI_GUID mAmiBootNowCountGuid = {0x052E6EB0, 0xF240, 0x42C5, {0x83, 0x09, 0x45, 0x87, 0x45, 0x45, 0xC6, 0xB4}}; +EFI_GUID mAmiBootFlowVariableGuid = {0xEF152FB4, 0x7B2F, 0x427D, {0xBD, 0xB4, 0x7E, 0x0A, 0x05, 0x82, 0x6E, 0x64}}; +EFI_GUID mAmiSystemAccessGuid = {0xE770BB69, 0xBCB4, 0x4D04, {0x9E, 0x97, 0x23, 0xFF, 0x94, 0x56, 0xFE, 0xAC}}; +EFI_GUID mAmiFastBootVariableGuid = {0xB540A530, 0x6978, 0x4DA7, {0x91, 0xCB, 0x72, 0x07, 0xD7, 0x64, 0xD2, 0x62}}; +EFI_GUID mAmiSmbiosDynamicDataGuid = {0xE380280C, 0x4C35, 0x4AA3, {0xB9, 0x61, 0x7A, 0xE4, 0x89, 0xA2, 0xB9, 0x26}}; +EFI_GUID mMeSetupInfoGuid = {0x78259433, 0x7B6D, 0x4DB3, {0x9A, 0xE8, 0x36, 0xC4, 0xC2, 0xC3, 0xA1, 0x7D}}; +EFI_GUID mMeBiosExtensionGuid = {0x1BAD711C, 0xD451, 0x4241, {0xB1, 0xF3, 0x85, 0x37, 0x81, 0x2E, 0x0C, 0x70}}; +EFI_GUID mAmiKeycodeProtocolGuid = {0x0ADFB62D, 0xFF74, 0x484C, {0x89, 0x44, 0xF8, 0x5C, 0x4B, 0xEA, 0x87, 0xA8}}; + +EFI_GUID mCpuWakeUpBufferVariableGuid = {0xDF665292, 0x79D7, 0x40E2, {0xBA, 0x51, 0xF7, 0xD4, 0x94, 0x62, 0x81, 0x85}}; +EFI_GUID mSmramCpuDataVariableGuid = {0x429501D9, 0xE447, 0x40F4, {0x86, 0x7B, 0x75, 0xC9, 0x3A, 0x1D, 0xB5, 0x4E}}; +EFI_GUID mSioDevStatusVarGuid = {0x5820DE98, 0xFC8E, 0x4B0B, {0xA4, 0xB9, 0x0A, 0x94, 0x0D, 0x16, 0x2A, 0x7E}}; EFI_GUID mEfiIp6ServiceBindingProtocolGuid = {0xEC835DD3, 0xFE0F, 0x617B, {0xA6, 0x21, 0xB3, 0x50, 0xC3, 0xE1, 0x33, 0x88}}; EFI_GUID mEfiUdp6ServiceBindingProtocolGuid = {0x66ED4721, 0x3C98, 0x4D3E, {0x81, 0xE3, 0xD0, 0x3D, 0xD3, 0x9A, 0x72, 0x54}}; EFI_GUID mEfiTcp6ServiceBindingProtocolGuid = {0xEC20EB79, 0x6C1A, 0x4664, {0x9A, 0x0D, 0xD2, 0xE4, 0xCC, 0x16, 0xD6, 0x64}}; -EFI_GUID mSmramCpuDataVariableGuid = {0x429501D9, 0xE447, 0x40F4, {0x86, 0x7B, 0x75, 0xC9, 0x3A, 0x1D, 0xB5, 0x4E}}; -EFI_GUID mLegacyDeviceOrderGuid = {0xA56074DB, 0x65FE, 0x45F7, {0xBD, 0x21, 0x2D, 0x2B, 0xDD, 0x8E, 0x96, 0x52}}; -EFI_GUID mAmiBootManagerGuid = {0xB4909CF3, 0x7B93, 0x4751, {0x9B, 0xD8, 0x5B, 0xA8, 0x22, 0x0B, 0x9B, 0xB2}}; -EFI_GUID mAmiBootNowCountGuid = {0x052E6EB0, 0xF240, 0x42C5, {0x83, 0x09, 0x45, 0x87, 0x45, 0x45, 0xC6, 0xB4}}; -EFI_GUID mAmiBootFlowVariableGuid = {0xEF152FB4, 0x7B2F, 0x427D, {0xBD, 0xB4, 0x7E, 0x0A, 0x05, 0x82, 0x6E, 0x64}}; -EFI_GUID mAmiSystemAccessGuid = {0xE770BB69, 0xBCB4, 0x4D04, {0x9E, 0x97, 0x23, 0xFF, 0x94, 0x56, 0xFE, 0xAC}}; -EFI_GUID mAmiFastBootVariableGuid = {0xB540A530, 0x6978, 0x4DA7, {0x91, 0xCB, 0x72, 0x07, 0xD7, 0x64, 0xD2, 0x62}}; -EFI_GUID mAmiSmbiosDynamicDataGuid = {0xE380280C, 0x4C35, 0x4AA3, {0xB9, 0x61, 0x7A, 0xE4, 0x89, 0xA2, 0xB9, 0x26}}; +EFI_GUID mLegacyDeviceOrderGuid = {0xA56074DB, 0x65FE, 0x45F7, {0xBD, 0x21, 0x2D, 0x2B, 0xDD, 0x8E, 0x96, 0x52}}; EFI_GUID mEfiFirmwareVolume2ProtocolGuid = {0x220E73B6, 0x6BDB, 0x4413, {0x84, 0x05, 0xB9, 0x74, 0xB1, 0x08, 0x61, 0x9A}}; EFI_GUID mEfiIp4ConfigProtocolGuid = {0x3B95AA31, 0x3793, 0x434B, {0x86, 0x67, 0xC8, 0x07, 0x08, 0x92, 0xE0, 0x5E}}; EFI_GUID mEfiIp6ConfigProtocolGuid = {0x937FE521, 0x95AE, 0x4D1A, {0x89, 0x29, 0x48, 0xBC, 0xD9, 0x0A, 0xD3, 0x1A}}; EFI_GUID mEfiDhcp4ServiceBindingProtocolGuid = {0x9D9A39D8, 0xBD42, 0x4A73, {0xA4, 0xD5, 0x8E, 0xE9, 0x4B, 0xE1, 0x13, 0x80}}; EFI_GUID mEfiDhcp6ServiceBindingProtocolGuid = {0x9FB9A8A1, 0x2F4A, 0x43A6, {0x88, 0x9C, 0xD0, 0xF7, 0xB6, 0xC4, 0x7A, 0xD5}}; -EFI_GUID mEfiIpSec2ProtocolGuid = {0xA3979E64, 0xACE8, 0x4DDC, {0xBC, 0x07, 0x4D, 0x66, 0xB8, 0xFD, 0x09, 0x77}}; -EFI_GUID mEfiPerformanceProtocolGuid = {0xFFECFFFF, 0x923C, 0x14D2, {0x9E, 0x3F, 0x22, 0xA0, 0xC9, 0x69, 0x56, 0x3B}}; +EFI_GUID mEfiIpSec2ProtocolGuid = {0xA3979E64, 0xACE8, 0x4DDC, {0xBC, 0x07, 0x4D, 0x66, 0xB8, 0xFD, 0x09, 0x77}}; +EFI_GUID mEfiPerformanceProtocolGuid = {0xFFECFFFF, 0x923C, 0x14D2, {0x9E, 0x3F, 0x22, 0xA0, 0xC9, 0x69, 0x56, 0x3B}}; EFI_GUID mEfiPciRootBridgeIoProtocolGuid = {0x2F707EBB, 0x4A1A, 0x11D4, {0x9A, 0x38, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D}}; -EFI_GUID mMtcVendorGuid = {0xEB704011, 0x1402, 0x11D3, {0x8E, 0x77, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B}}; +EFI_GUID mMtcVendorGuid = {0xEB704011, 0x1402, 0x11D3, {0x8E, 0x77, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B}}; EFI_GUID mEfiUsbIoProtocolGuid = {0x2B2F68D6, 0x0CD2, 0x44CF, {0x8E, 0x8B, 0xBB, 0xA2, 0x0B, 0x1B, 0x5B, 0x75}}; EFI_GUID mEfiUsb2HcProtocolGuid = {0x3E745226, 0x9818, 0x45B6, {0xA2, 0xAC, 0xD7, 0xCD, 0x0E, 0x8B, 0xA2, 0xBC}}; EFI_GUID mEfiUsbHcProtocolGuid = {0xF5089266, 0x1AA0, 0x4953, {0x97, 0xD8, 0x56, 0x2F, 0x8A, 0x73, 0xB5, 0x19}}; @@ -188,6 +197,10 @@ EFI_GUID mEfiGenericMemTestProtocolGuid = {0x309DE7F1, 0x7F5E, 0x4ACE, {0xB4, 0 EFI_GUID mEfiHashProtocolGuid = {0xc5184932, 0xdba5, 0x46db, { 0xa5, 0xba, 0xcc, 0x0b, 0xda, 0x9c, 0x14, 0x35}}; EFI_GUID mEfiHashServiceBindingProtocolGuid = {0x42881c98, 0xa4f3, 0x44b0, { 0xa3, 0x9d, 0xdf, 0xa1, 0x86, 0x67, 0xd8, 0xcd}}; +EFI_GUID mEfiHdaControllerInfoProtocolGuid = { 0xE5FC2CAF, 0x0291, 0x46F2, { 0x87, 0xF8, 0x10, 0xC7, 0x58, 0x72, 0x58, 0x04}}; +EFI_GUID mEfiHdaIoProtocolGuid = { 0xA090D7F9, 0xB50A, 0x4EA1, { 0xBD, 0xE9, 0x1A, 0xA5, 0xE9, 0x81, 0x2F, 0x45}}; +EFI_GUID mEfiHdaCodecInfoProtocolGuid = { 0x6C9CDDE1, 0xE8A5, 0x43E5, { 0xBE, 0x88, 0xDA, 0x15, 0xBC, 0x1C, 0x02, 0x50}}; +EFI_GUID mEfiAudioIoProtocolGuid = { 0xF05B559C, 0x1971, 0x4AF5, { 0xB2, 0xAE, 0xD6, 0x08, 0x08, 0xF7, 0x4F, 0x70}}; // From MacOsxBootloader source: EFI_GUID mAppleAcpiVariableGuid = {0xAF9FFD67, 0xEC10, 0x488A, {0x9D, 0xFC, 0x6C, 0xBF, 0x5E, 0xE2, 0x2C, 0x2E}}; @@ -202,6 +215,8 @@ EFI_GUID mEfiOSInfoProtocolGuid = {0xC5C5DA95, 0x7D5C, 0x45E6, {0xB2, EFI_GUID mAppleGraphConfigProtocolGuid = {0x03622D6D, 0x362A, 0x4E47, {0x97, 0x10, 0xC2, 0x38, 0xB2, 0x37, 0x55, 0xC1}}; EFI_GUID mAppleEventProtocolGuid = {0x33BE0EF1, 0x89C9, 0x4A6D, {0xBB, 0x9F, 0x69, 0xDC, 0x8D, 0xD5, 0x16, 0xB9}}; +EFI_GUID mAppleSMCStateProtocolGuid = {0x5301FE59, 0x1770, 0x4166, {0xA1, 0x69, 0x00, 0xC4, 0xBD, 0xE4, 0xA1, 0x62}}; +EFI_GUID mAppleKeyMapDatabaseProtocolGuid = {0x584B9EBE, 0x80C1, 0x4BD6, {0x98, 0xB0, 0xA7, 0x78, 0x6E, 0xC2, 0xF2, 0xE2}}; // Shell guids EFI_GUID ShellInt = {0x47C7B223, 0xC42A, 0x11D2, {0x8E, 0x57, 0x0, 0xA0, 0xC9, 0x69, 0x72, 0x3B}}; @@ -224,6 +239,11 @@ MAP_EFI_GUID_STR EfiGuidStrMap[] = { {&gEfiDiskIoProtocolGuid, L"gEfiDiskIoProtocolGuid"}, {&gEfiDiskIo2ProtocolGuid, L"gEfiDiskIo2ProtocolGuid"}, {&gEfiGraphicsOutputProtocolGuid, L"gEfiGraphicsOutputProtocolGuid"}, + + {&mEfiHdaControllerInfoProtocolGuid, L"gEfiHdaControllerInfoProtocolGuid"}, + {&mEfiHdaIoProtocolGuid, L"gEfiHdaIoProtocolGuid"}, + {&mEfiHdaCodecInfoProtocolGuid, L"gEfiHdaCodecInfoProtocolGuid"}, + {&mEfiAudioIoProtocolGuid, L"gEfiAudioIoProtocolGuid"}, {&mEfiConsoleControlProtocolGuid, L"gEfiConsoleControlProtocolGuid"}, {&mAppleFirmwarePasswordProtocolGuid, L"gAppleFirmwarePasswordProtocolGuid"}, @@ -238,6 +258,13 @@ MAP_EFI_GUID_STR EfiGuidStrMap[] = { {&mAppleEfiVendorGuid, L"gAppleEfiVendorGuid"}, {&mAppleEFINVRAMTRBSecureGuid, L"gAppleEFINVRAMTRBSecureGuid"}, {&mDataHubOptionsGuid, L"gDataHubOptionsGuid"}, + {&mRestartDataProtocolGiud, L"gRestartDataProtocolGiud"}, + {&mAppleUserInterfaceThemeProtocolGuid, L"gAppleUserInterfaceThemeProtocolGuid"}, + {&mApfsEfiBootRecordInfoProtocolGuid, L"gApfsEfiBootRecordInfoProtocolGuid"}, + {&mApplePlatformInfoDatabaseProtocolGuid, L"gApplePlatformInfoDatabaseProtocolGuid"}, + {&mAppleSMCStateProtocolGuid, L"gAppleSMCStateProtocolGuid"}, + {&mAppleKeyMapDatabaseProtocolGuid, L"gAppleKeyMapDatabaseProtocolGuid"}, + {&mNotifyMouseActivity, L"gNotifyMouseActivity"}, {&mEfiDataHubProtocolGuid, L"gEfiDataHubProtocolGuid"}, {&mEfiMiscSubClassGuid, L"gEfiMiscSubClassGuid"}, @@ -268,6 +295,7 @@ MAP_EFI_GUID_STR EfiGuidStrMap[] = { {&mEfiApplePlatformInfoGuid, L"gEfiApplePlatformInfoGuid"}, {&mEfiOzmosisNvramGuid, L"gEfiOzmosisNvramGuid"}, {&mEfiWdtPersistentDataGuid, L"gEfiWdtPersistentDataGuid"}, + {&mAmiDefaultsVariableGuid, L"gAmiDefaultsVariableGuid"}, {&mEfiRomImageAddressGuid, L"gEfiRomImageAddressGuid"}, {&mAmiSetupGuid, L"gAmiSetupGuid"}, @@ -291,6 +319,7 @@ MAP_EFI_GUID_STR EfiGuidStrMap[] = { {&mAmiTableDataVarGuid, L"gAmiTableDataVarGuid"}, {&mCpuWakeUpBufferVariableGuid, L"gCpuWakeUpBufferVariableGuid"}, {&mMeSetupInfoGuid, L"gMeSetupInfoGuid"}, + {&mMeBiosExtensionGuid, L"gMeBiosExtensionGuid"}, {&mAmiSecurityFormSetGuid, L"gAmiSecurityFormSetGuid"}, {&mAmiDriverHealthCountGuid, L"gAmiDriverHealthCountGuid"}, {&mAmiDriverHlthEnableGuid, L"gAmiDriverHlthEnableGuid"}, @@ -306,6 +335,8 @@ MAP_EFI_GUID_STR EfiGuidStrMap[] = { {&mAmiSystemAccessGuid, L"gAmiSystemAccessGuid"}, {&mAmiFastBootVariableGuid, L"gAmiFastBootVariableGuid"}, {&mAmiSmbiosDynamicDataGuid, L"gAmiSmbiosDynamicDataGuid"}, + {&mAmiKeycodeProtocolGuid, L"gAmiKeycodeProtocolGuid"}, + {&mEfiFirmwareVolume2ProtocolGuid, L"gEfiFirmwareVolume2ProtocolGuid"}, {&mEfiIp4ConfigProtocolGuid, L"gEfiIp4ConfigProtocolGuid"}, {&mEfiIp6ConfigProtocolGuid, L"gEfiIp6ConfigProtocolGuid"},