MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / IsTableSaved

Function IsTableSaved

rEFIt_UEFI/Platform/AcpiPatcher.cpp:772–784  ·  view source on GitHub ↗

Returns TRUE is TableEntry is already saved. */

Source from the content-addressed store, hash-verified

770
771/** Returns TRUE is TableEntry is already saved. */
772BOOLEAN IsTableSaved(VOID *TableEntry)
773{
774 UINTN Index;
775
776 if (mSavedTables != NULL) {
777 for (Index = 0; Index < mSavedTablesNum; Index++) {
778 if (mSavedTables[Index] == TableEntry) {
779 return TRUE;
780 }
781 }
782 }
783 return FALSE;
784}
785
786/** Adds TableEntry to mSavedTables if not already there. */
787VOID MarkTableAsSaved(VOID *TableEntry)

Callers 5

MarkTableAsSavedFunction · 0.85
DumpChildSsdtFunction · 0.85
DumpTableFunction · 0.85
DumpFadtTablesFunction · 0.85
DumpTablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected