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

Function RestoreBufferList

ShellPkg/Application/Shell/Shell.c:1451–1458  ·  view source on GitHub ↗

Restore previous nodes into BufferToFreeList . @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList. **/

Source from the content-addressed store, hash-verified

1449 @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList.
1450**/
1451VOID
1452RestoreBufferList (
1453 IN OUT LIST_ENTRY *OldBufferList
1454 )
1455{
1456 FreeBufferList (&ShellInfoObject.BufferToFreeList);
1457 CopyMem (&ShellInfoObject.BufferToFreeList.Link, OldBufferList, sizeof (LIST_ENTRY));
1458}
1459
1460
1461/**

Callers 2

DoShellPromptFunction · 0.85
RunScriptFileHandleFunction · 0.85

Calls 2

FreeBufferListFunction · 0.85
CopyMemFunction · 0.50

Tested by

no test coverage detected