mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-22 21:01:31 +01:00
add ability to dump smc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
830c0c41fe
commit
38106e53a7
@ -495,7 +495,7 @@ GetSmcKeys (BOOLEAN WriteToSMC)
|
||||
}
|
||||
FreePool(Name);
|
||||
}
|
||||
/*
|
||||
#if CHECK_SMC
|
||||
VOID DumpSmcKeys()
|
||||
{
|
||||
if (!gAppleSmc || !gAppleSmc->DumpData) {
|
||||
@ -503,7 +503,7 @@ VOID DumpSmcKeys()
|
||||
}
|
||||
gAppleSmc->DumpData(gAppleSmc);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
/** Searches for GPT HDD dev path node and return pointer to partition GUID or NULL. */
|
||||
EFI_GUID
|
||||
|
@ -81,7 +81,9 @@ PutNvramPlistToRtVars (VOID);
|
||||
|
||||
VOID
|
||||
GetSmcKeys(BOOLEAN WriteToSMC);
|
||||
|
||||
#if CHECK_SMC
|
||||
VOID DumpSmcKeys();
|
||||
#endif
|
||||
|
||||
EFI_STATUS
|
||||
SetStartupDiskVolume (
|
||||
|
Loading…
Reference in New Issue
Block a user