Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Mov AX, 0xDEAD

Recommended Posts


@reboot12

Without -all switch I get this for out.txt

Dietmar

Save Variable Stores
Variable NV+BS '4599D26F-1A11-49B8-B91F-858745CFF824:StdDefaults' DataSize = 24F6
Variable NV+RT+BS '97E8965F-C761-4F48-B6E4-9FFA9CB2A2D6:DeploymentModeNv' DataSize = 1
Variable NV+BS '550E42E1-B6FA-4E99-BBD9-1A901F001D7A:VendorKeysNv' DataSize = 1
Variable NV+BS '2FE2CBFC-B9AA-4A93-AB5B-40173B581C42:FmpState' DataSize = 14
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:WriteOnceStatus' DataSize = 40
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:SmbiosEntryPointTable' DataSize = 8
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:SmbiosEntryPointTableF000' DataSize = 8
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:SmbiosV3EntryPointTable' DataSize = 8
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:SmbiosScratchBuffer' DataSize = 8
Variable NV+RT+BS '4B3082A3-80C6-4D7E-9CD0-583917265DF1:MaximumTableSize' DataSize = 2
Variable NV+RT+BS 'E20939BE-32D4-41BE-A150-897F85D49829:MemoryOverwriteRequestControl' DataSize = 1
Variable NV+RT+BS 'Efi:ConIn' DataSize = 44
Variable NV+RT+BS '8F132913-6907-4192-A227-6CBCD7A50E6C:ASR_USER_DEF_VER' DataSize = 21
Variable NV+BS '7B59104A-C00D-4158-87FF-F04D6396A915:SecureBootSetup' DataSize = 7
Variable NV+RT+BS 'Efi:BootOrder' DataSize = 2
Variable NV+RT+BS 'Efi:Boot0001' DataSize = CE
Variable NV+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:Setup' DataSize = D38
Variable NV+BS '72C5E28C-7783-43A1-8767-FAD73FCCAFA4:SaSetup' DataSize = 6D3
Variable NV+BS 'B08F97FF-E6E8-4193-A997-5E9E9B0ADB32:CpuSetup' DataSize = 3C1
Variable NV+BS '4570B7F1-ADE8-4943-8DC3-406472842384:PchSetup' DataSize = 80D
Variable NV+RT+BS '01368881-C4AD-4B1D-B631-D57A8EC8DB6B:MonotonicCounter' DataSize = 4
Variable NV+BS '5432122D-D034-49D2-A6DE-65A829EB4C74:MeSetup' DataSize = 36
Variable NV+RT+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:CaseOpenStatus' DataSize = 1
Variable NV+RT+BS 'Efi:LoadSetupDefault' DataSize = 1
Variable NV+BS '711C703F-C285-4B10-A3B0-36ECBD3C8BE2:CapsuleLongModeBuffer' DataSize = 18
Variable NV+RT+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:InitSetupVariable' DataSize = 1
Variable NV+BS '78CE2354-CFBC-4643-AEBA-07A27FA892BF:WdtPersistentData' DataSize = 1
Variable NV+RT+BS '7D3DCEEE-CBCE-4EA7-8709-6E552F1EDBDE:TPMPERBIOSFLAGS' DataSize = 6
Variable NV+RT+BS 'A8A2093B-FEFA-43C1-8E62-CE526847265E:AMITCGPPIVAR' DataSize = 18
Variable NV+BS '70FFF0FF-A543-45B9-8BE3-1BDB90412080:PCRBitmap' DataSize = 14
Variable NV+BS 'F3ED95DF-828E-41C7-BCA0-16C41965A634:TcgInternalSyncFlag' DataSize = 1
Variable NV+RT+BS 'Efi:HwErrRecSupport' DataSize = 2
Variable NV+BS '0EAB05C1-766A-4805-A039-3081DE0210C7:FmpState' DataSize = 14
Variable NV+BS '269BD1ED-2BC6-4979-B682-D9C8F5533DDF:SysFwMeLsv' DataSize = 4
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:SPLC' DataSize = 9
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:WAND' DataSize = 7
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:WRDD' DataSize = 3
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:WRDS' DataSize = C
Variable NV+RT+BS '42780DD5-9A7D-404C-80E4-7F7094360394:BRDS' DataSize = 8
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:EWRD' DataSize = 21
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:WGDS' DataSize = 13
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:SADS' DataSize = 2
Variable NV+RT+BS '42780DD5-9A7D-404C-80E4-7F7094360394:SADS' DataSize = 2
Variable NV+RT+BS '92DAAF2F-C02B-455B-B2EC-F5A3594F4AEA:GPC' DataSize = D
Variable NV+RT+BS '42780DD5-9A7D-404C-80E4-7F7094360394:GPC' DataSize = D
Variable NV+BS 'C94F8C4D-9B9A-45FE-8A55-238B67302643:MemoryConfig' DataSize = F6D8
Variable NV+BS '999BD818-7DF7-4A9A-A502-9B75033E6A0F:EsrtNonFmp' DataSize = 28
Variable NV+RT+BS 'EA1FCAEE-3A77-4BB8-9B98-518E75D29A99:MotherBoardHealth' DataSize = 10
Variable NV+BS 'FC876842-D8F0-4844-AE32-1FF843797B17:UsbTypeC' DataSize = 4
Variable NV+BS '1E785E1A-8EC4-49E4-8275-FBBDEDED18E7:BoardInfoSetup' DataSize = F
Variable NV+BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0303_0_NV' DataSize = 3
Variable NV+BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0F03_0_NV' DataSize = 3
Variable NV+BS 'C095791A-3001-47B2-80C9-EAC7319F2FA4:FirmwarePerformance' DataSize = 10
Variable NV+BS '973218B9-1697-432A-8B34-4884B5DFB359:S3MemoryVariable' DataSize = 18
Variable NV+RT+BS 'BB983CCF-151D-40E1-A07B-4A17BE168292:MemoryOverwriteRequestControlLock' DataSize = 1
Variable NV+BS '60B5E939-0FCF-4227-BA83-6BBED45BC0E3:BootState' DataSize = 1
Variable NV+RT+BS '7D3DCEEE-CBCE-4EA7-8709-6E552F1EDBDE:SIDSUPPORT' DataSize = 1
Variable NV+BS '5432122D-D034-49D2-A6DE-65A829EB4C74:MeSetupStorage' DataSize = 12
Variable NV+BS '64192DCA-D034-49D2-A6DE-65A829EB4C74:IccAdvancedSetupDataVar' DataSize = 8
Variable NV+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:SanitizeSetup' DataSize = 3E
Variable NV+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:PlatformLastLangCodes' DataSize = 32
Variable NV+RT+BS '45CF35F6-0D6E-4D04-856A-0370A5B16F53:DefaultBootOrder' DataSize = 2
Variable NV+BS '999BD818-7DF7-4A9A-A502-9B75033E6A0F:EsrtFmp' DataSize = 50
Variable NV+BS 'C5912ED9-83C2-4BFF-9936-231FEB85F3E8:ConstructDefaults4FirstBoot' DataSize = 8
Variable NV+BS '4B4D31BE-88C6-446A-A4A9-4AD0F612B32E:EvaluateDefaults4FirstBoot' DataSize = 8
Variable NV+BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0400_0_NV' DataSize = 3
Variable NV+BS 'C61C31A3-CB5D-46DD-9FE5-8A82BBC72483:AmiWrapperSetup' DataSize = 4
Variable NV+BS 'D353E18D-9DE4-4C4B-B851-C3790D287D13:WpbtSetupData' DataSize = 1
Variable NV+RT+BS '81C76078-BFDE-4368-9790-570914C01A65:AmiHardwareSignatureSetupUpdateCountVar' DataSize = 4
Variable NV+BS 'E3CACF62-3062-4E1D-978E-46807AB9747D:PlatformConfigurationChange' DataSize = 4
Variable NV+BS '8732B833-5367-422C-A77D-99E5B51039A8:HSTI_RESULTS' DataSize = 4B5
Variable NV+BS '01368881-C4AD-4B1D-B631-D57A8EC8DB6B:AcpiResetVar' DataSize = 10
Variable NV+BS '1B838190-4625-4EAD-ABC9-CD5E6AF18FE0:HiiDBSize' DataSize = 8
Variable NV+BS '01368881-C4AD-4B1D-B631-D57A8EC8DB6B:PreviousMemoryTypeInformation' DataSize = 40
Variable NV+BS '01368881-C4AD-4B1D-B631-D57A8EC8DB6B:MemoryTypeInformation' DataSize = 40
Variable NV+BS 'ShellAlias:copy' DataSize = 6
Variable NV+BS 'ShellAlias:del' DataSize = 6
Variable NV+BS 'ShellAlias:dir' DataSize = 6
Variable NV+BS 'ShellAlias:md' DataSize = C
Variable NV+BS 'ShellAlias:rd' DataSize = 6
Variable NV+BS 'ShellAlias:cr' DataSize = 54
Variable NV+RT+BS 'Efi:PlatformLang' DataSize = 6
Variable NV+RT+BS 'Efi:Timeout' DataSize = 2
Variable NV+BS 'C811FA38-42C8-4579-A9BB-60E94EDDFB34:AMITSESetup' DataSize = 41
Variable NV+BS 'A1D89A3A-4A90-429D-4365-1F64C3A29614:NhltEndpointsTableConfigurationVariable' DataSize = 11
Variable NV+BS 'AAF8E719-48F8-4099-A6F7-645FBD694C3D:SiSetup' DataSize = 7
Variable NV+BS 'DE0A5E74-4E3E-3D96-A440-2C96ECBD3C97:DebugConfigData' DataSize = 11
Variable NV+BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0501_0_NV' DataSize = 3
Variable NV+BS '6B0CC1BC-910F-411E-B6CB-0E314D0BB8C1:SioSetupData' DataSize = 1
Variable NV+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:UsbSupport' DataSize = 31
Variable NV+BS 'D1405D16-7AFC-4695-BB12-41459D3695A2:NetworkStackVar' DataSize = 8
Variable NV+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:SdioDevConfiguration' DataSize = 52
Variable NV+BS '8F132913-6907-4192-A227-6CBCD7A50E6C:ASRockEasySetup' DataSize = 1
Variable NV+BS 'ACA9F304-21E2-4852-9875-7FF4881D67A5:PCI_COMMON' DataSize = 8
Variable RT+BS 'Efi:SetupMode' DataSize = 1
Variable RT+BS 'Efi:SecureBoot' DataSize = 1
Variable RT+BS 'Efi:SignatureSupport' DataSize = 90
Variable RT+BS 'Efi:VendorKeys' DataSize = 1
Variable RT+BS '7B59104A-C00D-4158-87FF-F04D6396A915:AuthVarPreBootPhase' DataSize = 1
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:AmiCpuSetupFeatures' DataSize = 34
Variable BS '78259433-7B6D-4DB3-9AE8-36C4C2C3A17D:MeInfoSetup' DataSize = 11
Variable RT+BS '5BD6B672-B6EA-4D6A-B590-18A932B78794:BootMediaInfo' DataSize = C
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:UsbControllerNum' DataSize = 4
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:UsbMassDevNum' DataSize = 2
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:UsbMassDevValid' DataSize = 20
Variable RT+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:ASRTseHookData' DataSize = 1
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:NBPlatformData' DataSize = 48
Variable RT+BS '01368881-C4AD-4B1D-B631-D57A8EC8DB6B:OA3MSDMvariable' DataSize = 18
Variable RT+BS 'Efi:dbxDefault' DataSize = 28CC
Variable RT+BS 'Efi:dbDefault' DataSize = C47
Variable RT+BS 'Efi:KEKDefault' DataSize = 618
Variable RT+BS 'Efi:PKDefault' DataSize = 280
Variable RT+BS '7D3DCEEE-CBCE-4EA7-8709-6E552F1EDBDE:TpmServFlags' DataSize = 8
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:SetupVolatileData' DataSize = 6D
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:SetupCpuFeatures' DataSize = 40
Variable BS 'B8A9DE42-DC5B-4529-8C6A-8D89455B4F6E:SecurePchSmmVariableName' DataSize = 4
Variable RT+BS 'B08F97FF-E6E8-4193-A997-5E9E9B0ADB32:CpuSetupVolatileData' DataSize = B
Variable RT+BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:TbtSetupVolatileData' DataSize = 6
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:DebugSetupVolatileData' DataSize = 4
Variable BS 'FC8BE767-89F1-4D6E-8099-6F021EBC87CC:IsaIrqMask' DataSize = 2
Variable BS 'FC8BE767-89F1-4D6E-8099-6F021EBC87CC:IsaDmaMask' DataSize = 1
Variable RT+BS 'Efi:OsIndicationsSupported' DataSize = 8
Variable BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0501_0_VV' DataSize = 9
Variable BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0400_0_VV' DataSize = 9
Variable BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0303_0_VV' DataSize = 9
Variable BS '560BF58A-1E0D-4D7E-953F-2980A261E031:PNP0F03_0_VV' DataSize = 9
Variable BS '5820DE98-FC8E-4B0B-A4B9-0A940D162A7E:SIO_DEV_STATUS_VAR' DataSize = 2
Variable RT+BS 'Efi:ConInDev' DataSize = 44
Variable RT+BS 'Efi:BootOptionSupport' DataSize = 4
Variable BS '5432122D-D034-49D2-A6DE-65A829EB4C74:MeBackupStorage' DataSize = 12
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:ColdReset' DataSize = D38
Variable BS '72C5E28C-7783-43A1-8767-FAD73FCCAFA4:SaColdReset' DataSize = 6D3
Variable BS '5432122D-D034-49D2-A6DE-65A829EB4C74:MeColdReset' DataSize = 36
Variable BS 'B08F97FF-E6E8-4193-A997-5E9E9B0ADB32:CpuColdReset' DataSize = 3C1
Variable BS '4570B7F1-ADE8-4943-8DC3-406472842384:PchColdReset' DataSize = 80D
Variable BS 'AAF8E719-48F8-4099-A6F7-645FBD694C3D:SiColdReset' DataSize = 7
Variable BS 'C61C31A3-CB5D-46DD-9FE5-8A82BBC72483:AmiWrapperColdReset' DataSize = 4
Variable BS 'C143929C-BF5D-423B-999B-0F2DD2B61FF7:AmiGopPolicySetupData' DataSize = 2
Variable BS 'C143929C-BF5D-423B-999B-0F2DD2B61FF7:ChildHandleDpVar0' DataSize = 2C
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:NBGopPlatformData' DataSize = 2
Variable BS '3DD0DE67-02D7-4129-914A-9F377CC34B0D:HDDSecConfig' DataSize = 356
Variable BS 'C9456C5D-6CA5-4B5B-B1B2-C75C905BB90F:NvmeDriverManager' DataSize = 5
Variable BS 'EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9:TcgNvmeVar' DataSize = 1
Variable RT+BS 'Efi:PlatformLangCodes' DataSize = 32
Variable BS 'B4909CF3-7B93-4751-9BD8-5BA8220B9BB2:BootManager' DataSize = 2
Variable BS '052E6EB0-F240-42C5-8309-45874545C6B4:BootNowCount' DataSize = 2
Variable BS 'C0B4FB05-15E5-4588-9FE9-B3D39C067715:DriverManager' DataSize = 2
Variable RT+BS 'Efi:BootCurrent' DataSize = 2
Variable RT+BS '1B838190-4625-4EAD-ABC9-CD5E6AF18FE0:HiiDB' DataSize = 8
Variable BS '504AF431-3025-4D32-9FBF-E9F31855551D:NvLockMailbox' DataSize = 8
Variable BS 'ShellProtId:Image' DataSize = 10
Variable BS 'ShellProtId:Dpath' DataSize = 10
Variable BS 'ShellProtId:ImageDpath' DataSize = 10
Variable BS 'ShellProtId:DpathUtil' DataSize = 10
Variable BS 'ShellProtId:DpathToText' DataSize = 10
Variable BS 'ShellProtId:DpathFromText' DataSize = 10
Variable BS 'ShellProtId:PcAnsi' DataSize = 10
Variable BS 'ShellProtId:Vt100' DataSize = 10
Variable BS 'ShellProtId:Vt100+' DataSize = 10
Variable BS 'ShellProtId:VtUtf8' DataSize = 10
Variable BS 'ShellProtId:DriverBinding' DataSize = 10
Variable BS 'ShellProtId:PlatformOverride' DataSize = 10
Variable BS 'ShellProtId:BusSpecificDriverOverride' DataSize = 10
Variable BS 'ShellProtId:Diagnostics' DataSize = 10
Variable BS 'ShellProtId:Diagnostics2' DataSize = 10
Variable BS 'ShellProtId:ComponentName' DataSize = 10
Variable BS 'ShellProtId:ComponentName2' DataSize = 10
Variable BS 'ShellProtId:PlatformDriverConfig' DataSize = 10
Variable BS 'ShellProtId:DriverEFIVersion' DataSize = 10
Variable BS 'ShellProtId:TxtinEx' DataSize = 10
Variable BS 'ShellProtId:Txtin' DataSize = 10
Variable BS 'ShellProtId:Txtout' DataSize = 10
Variable BS 'ShellProtId:SimplePointer' DataSize = 10
Variable BS 'ShellProtId:AbsolutePointer' DataSize = 10
Variable BS 'ShellProtId:SerialIo' DataSize = 10
Variable BS 'ShellProtId:GraphicsOutput' DataSize = 10
Variable BS 'ShellProtId:EdidDiscovered' DataSize = 10
Variable BS 'ShellProtId:EdidActive' DataSize = 10
Variable BS 'ShellProtId:EdidOverride' DataSize = 10
Variable BS 'ShellProtId:ConIn' DataSize = 10
Variable BS 'ShellProtId:ConOut' DataSize = 10
Variable BS 'ShellProtId:StdErr' DataSize = 10
Variable BS 'ShellProtId:Load' DataSize = 10
Variable BS 'ShellProtId:Load2' DataSize = 10
Variable BS 'ShellProtId:Fs' DataSize = 10
Variable BS 'ShellProtId:GenFileInfo' DataSize = 10
Variable BS 'ShellProtId:TapeIo' DataSize = 10
Variable BS 'ShellProtId:DiskIo' DataSize = 10
Variable BS 'ShellProtId:BlkIo' DataSize = 10
Variable BS 'ShellProtId:UnicodeCollation' DataSize = 10
Variable BS 'ShellProtId:UnicodeCollation2' DataSize = 10
Variable BS 'ShellProtId:PciRootBridgeIo' DataSize = 10
Variable BS 'ShellProtId:PciIo' DataSize = 10
Variable BS 'ShellProtId:ScsiPassThru' DataSize = 10
Variable BS 'ShellProtId:ScsiIo' DataSize = 10
Variable BS 'ShellProtId:ExtScsiPassThru' DataSize = 10
Variable BS 'ShellProtId:IScsiInitName' DataSize = 10
Variable BS 'ShellProtId:UsbIo' DataSize = 10
Variable BS 'ShellProtId:UsbHc' DataSize = 10
Variable BS 'ShellProtId:UsbHc2' DataSize = 10
Variable BS 'ShellProtId:DebugSupport' DataSize = 10
Variable BS 'ShellProtId:DebugPort' DataSize = 10
Variable BS 'ShellProtId:Decompress' DataSize = 10
Variable BS 'ShellProtId:AcpiTable' DataSize = 10
Variable BS 'ShellProtId:EbcInterp' DataSize = 10
Variable BS 'ShellProtId:Net' DataSize = 10
Variable BS 'ShellProtId:Nii' DataSize = 10
Variable BS 'ShellProtId:Pxebc' DataSize = 10
Variable BS 'ShellProtId:PxebcCallback' DataSize = 10
Variable BS 'ShellProtId:Bis' DataSize = 10
Variable BS 'ShellProtId:MNPSb' DataSize = 10
Variable BS 'ShellProtId:MNP' DataSize = 10
Variable BS 'ShellProtId:ARPSb' DataSize = 10
Variable BS 'ShellProtId:ARP' DataSize = 10
Variable BS 'ShellProtId:DHCPv4Sb' DataSize = 10
Variable BS 'ShellProtId:DHCPv4' DataSize = 10
Variable BS 'ShellProtId:TCPv4Sb' DataSize = 10
Variable BS 'ShellProtId:TCPv4' DataSize = 10
Variable BS 'ShellProtId:IPv4Sb' DataSize = 10
Variable BS 'ShellProtId:IPv4' DataSize = 10
Variable BS 'ShellProtId:IPv4Config' DataSize = 10
Variable BS 'ShellProtId:UDPv4Sb' DataSize = 10
Variable BS 'ShellProtId:UDPv4' DataSize = 10
Variable BS 'ShellProtId:MTFTPv4Sb' DataSize = 10
Variable BS 'ShellProtId:MTFTPv4' DataSize = 10
Variable BS 'ShellProtId:AuthInfo' DataSize = 10
Variable BS 'ShellProtId:HashSb' DataSize = 10
Variable BS 'ShellProtId:Hash' DataSize = 10
Variable BS 'ShellProtId:HiiFont' DataSize = 10
Variable BS 'ShellProtId:HiiString' DataSize = 10
Variable BS 'ShellProtId:HiiImage' DataSize = 10
Variable BS 'ShellProtId:HiiDatabase' DataSize = 10
Variable BS 'ShellProtId:HiiConfRouting' DataSize = 10
Variable BS 'ShellProtId:HiiConfAccess' DataSize = 10
Variable BS 'ShellProtId:FormBrowser2' DataSize = 10
Variable BS 'ShellProtId:ShellInt' DataSize = 10
Variable BS 'ShellProtId:SEnv' DataSize = 10
Variable BS 'ShellProtId:ShellProtId' DataSize = 10
Variable BS 'ShellProtId:ShellDevPathMap' DataSize = 10
Variable BS 'ShellProtId:ShellAlias' DataSize = 10
Variable BS 'ShellProtId:G0' DataSize = 10
Variable BS 'ShellProtId:DevIo' DataSize = 10
Variable BS 'ShellProtId:Tcp' DataSize = 10
Variable BS 'ShellProtId:UgaDraw' DataSize = 10
Variable BS 'ShellProtId:UgaIo' DataSize = 10
Variable BS 'ShellProtId:Efi' DataSize = 10
Variable BS 'ShellProtId:FileSysInfo' DataSize = 10
Variable BS 'ShellProtId:ESP' DataSize = 10
Variable BS 'ShellProtId:GPT MBR' DataSize = 10
Variable BS 'ShellProtId:Configuration' DataSize = 10
Variable BS 'ShellProtId:Configuration2' DataSize = 10
Variable BS 'ShellProtId:IsaIo' DataSize = 10
Variable BS 'ShellProtId:IsaAcpi' DataSize = 10
Variable BS 'ShellProtId:WinNtThunk' DataSize = 10
Variable BS 'ShellProtId:WinNtDriverIo' DataSize = 10
Variable BS 'ShellProtId:SerialPrivate' DataSize = 10
Variable BS 'ShellProtId:Unknown Device' DataSize = 10
Variable BS 'SEnv:efishellmode' DataSize = C
Variable BS 'ShellDevPathMap:fs0' DataSize = 4A
Variable BS 'ShellDevPathMap:fs1' DataSize = 4C
Variable BS 'ShellDevPathMap:blk0' DataSize = 4A
Variable BS 'ShellDevPathMap:blk1' DataSize = 4C
Variable BS 'ShellDevPathMap:blk2' DataSize = 20
Variable BS 'ShellDevPathMap:blk3' DataSize = 22
Variable BS 'ShellDevPathMap:hd11a65535a1' DataSize = 4A
Variable BS 'ShellDevPathMap:hd8m0d0b' DataSize = 4C
Variable BS 'SEnv:path' DataSize = E4

 

Link to comment
Share on other sites

Make files in UEFI Shell 2.2

Maybe this need edit:

504AF431-3025-4D32-9FBF-E9F31855551D NvLockMailbox
4B3082A3-80C6-4D7E-9CD0-583917265DF1 WriteOnceStatus

dmpstore WriteOnceStatus -guid 4b3082a3-80c6-4d7e-9cd0-583917265df1 -s writestatus.bin
dmpstore NvLockMailbox -guid 504AF431-3025-4D32-9FBF-E9F31855551D -s mailbox.bin

Link to comment
Share on other sites

Posted (edited)

@reboot12 @Dietmar

not sure if can be helpful here but you can try with "setup_var" which can be used to change hidden UEFI values by using a modded Grub EFI shell  (rename it as bootia32.efi / bootx64.efi) 

Well, it's used to boot legacy mode, on systems that do not have exit to EFI shell on BIOS exit page

 

example here

https://www.bios-mods.com/forum/showthread.php?tid=12774&pid=59489#pid59489

 

and about CFG Lock, you can try...

https://github.com/QuanTrieuPCYT/Dell-Latitude-5480_Hackintosh/blob/main/Disable_CFG_Lock.md

 

anyway, sure you both know more than me about this and, perhaps,  AmiSetupWriter.efi can do the same. 

 

 

[...] what `setup_var` does is access an EFI variable called "Setup". The variable contains a binary blob, and the command sets a particular binary value at a given offset inside that blob.

What IFRextract calls "VarStore" is mapped onto an EFI variable, via the GUID and "name" field that IFRextract reports for each varstore.

You can use the  `dmpstore`  command builtin to UEFI Shell to inspect EFI vars, including the "Setup" var.

See [2] for an EFI application which provides similar functionality to the `setup_var` command. To use it, save the `setup_var.efi` EFI application on any file system accessible by UEFI Shell, then boot into UEFI Shell and run `setup_var.efi` to do what you need.

I've also seen references that imply `setup_var` is UEFI shell builtin command, but that doesn't seem to be the case. from what I can tell that command was (at least once) available via patches to either UEFI shell, or grub. But never in upstream "UEFI shell"

 

[1] https://github.com/datasone/setup_var.efi
[2] https://github.com/LongSoft/Universal-IFR-Extractor

credits: user JamesKen @ archlinux org

Edited by sonyu
Link to comment
Share on other sites

@sonyu

Grub.efi, AmiSetupWriter.efi, SceEfi64.efi, RU.efi, dmpstore - these are different tools that are used for the same - to change CMOS and EFI VARIABLES e.g. BIOS Lock in my AMI UEFI BIOS:

  • using IFR Extractor (best from UBU) make file setup_extr.txt from bios file
  • search BIOS Lock variable - offset is 0xB52 VarStore is 0x1 and this ID is Setup EFI VARIABLE:
0x4F0D0         One Of: BIOS Lock, VarStoreInfo (VarOffset/VarName): 0xB52, VarStore: 0x1, QuestionId: 0xC42, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 9A 0A 9B 0A 42 0C 01 00 52 0B 10 10 00 01 00}
search VarStoreId 0x1 - Name: Setup:
0x2BDF5     VarStore: VarStoreId: 0x1 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x1331, Name: Setup {24 1C 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 01 00 31 13 53 65 74 75 70 00}

Now if we know where the BIOS Lock setting is to change them by using various tools - AmiSetupWriter.efi is very simple - we only need to know offset:

AmiSetupWriter 0xB52 0x0

In RU.efi we need to know EFI VARIABLE and Offset:
ru.png

But these tools will not help if EFI VARIABLES are write protected.

 

Link to comment
Share on other sites

Posted (edited)

@reboot12

Always the same message "Write Protected".

The funny thing on the webside  https://github.com/ab3lkaizen/SCEHUB#ASRock 

is, that they tell, to succeed to write to such a write protected variable.

 

In the end, only EEpromer helps. I can do,

but where exact are those AmiSetupWriter 0xCB3 0x0 and AmiSetupWriter 0xCBE 0x1

stored in Bios? At least, the configurations file for them is stored in Bios

Dietmar

The corresponding Hex values are this: Is therein the 01, which I have to change to 00?

 

01 86 8F 29 84 1F 05 91 88 1F 89 1F 2C 05 01 00 B3 0C 10 10 00 01 00 09 07 86 1F 00 00 01 09 07 87 1F 00 00 00 5B 06 00 00 00 01 5B 06 01 00 00 01 29 02

 

Edited by Dietmar
Link to comment
Share on other sites

Posted (edited)

@reboot12

I found this. But how to find with this the exact place, where the Variable is stored for to make UEFI write protected?

I think, it is some Offset in the NVRAM region, but where exact I have to use the EEpromwrite to change this variable from 01==>00

Dietmar

0x4AB15     Form: UEFI Variables Protection, FormId: 0x298F {01 86 8F 29 84 1F}
0x4AB1B         One Of: Password protection of Runtime Variables, VarStoreInfo (VarOffset/VarName): 0xCB3, VarStore: 0x1, QuestionId: 0x52C, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 88 1F 89 1F 2C 05 01 00 B3 0C 10 10 00 01 00}
0x4AB2C             One Of Option: Enable, Value (8 bit): 0x1 {09 07 86 1F 00 00 01}
0x4AB33             One Of Option: Disable, Value (8 bit): 0x0 {09 07 87 1F 00 00 00}
0x4AB3A             Default: DefaultId: 0x0, Value (8 bit): 0x1 {5B 06 00 00 00 01}
0x4AB40             Default: DefaultId: 0x1, Value (8 bit): 0x1 {5B 06 01 00 00 01}
0x4AB46         End One Of {29 02}

 

Edited by Dietmar
Link to comment
Share on other sites

Posted (edited)

After crazy search in original Bios I found the place, where the UEFI variables are set to Write Protected

Dietmar

010101010101010101000001000001556E02011E414646641E466464000000000000000000000000000000000002011E414646641E4664640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000FF0000000000010100000000020202010000020000000000000104FF0000000000000000000000

EDIT: It can be found at 2(!) places in Bios. I replace both 01 ==> 00.

 

Überprüfung auf Unterschiede

1. F:\n100Biosmodd\06modd.ROM: 16.777.216 Bytes
2. F:\n100Biosmodd\06.ROM: 16.777.216 Bytes
Offsets: hexadez.

 500D6B:    00    01
 FAD8A3:    00    01

2 Abweichung(en) gefunden.

 

Edited by Dietmar
Link to comment
Share on other sites

Posted (edited)

@reboot12

Next search with UEFI Tool. I found those Hex Values in 3(!) different raw files. In each of those raw files exact 1 times:

Needs to be checked VERY careful, I search for a sequence of about 300 Bytes each.

CEF5B9A3-476D-497F-9FDC-E98143E0422C

EE4E5898-3914-4259-9D6E-DC7BD79403CF

77D3DC50-D42B-4916-AC80-8F469035D150

Dietmar

 

Edited by Dietmar
Link to comment
Share on other sites

Posted (edited)

@reboot12

Here is the original Bios 1.06 file and the modded 1.06 one without Write Protect for the UEFI NVRAM variables for

ASRock N100DC-ITX board, Bios Version 1.06

Dietmar

https://ufile.io/b28vzhl0

 

EDIT: Cool, I can flash this Bios without EEPromer. Instant flash tells: Secure fail,

but FTP.efi for 128 Bios works from USB stick.

Edited by Dietmar
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...