Restore previous nodes into BufferToFreeList . @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList. **/
| 1449 | @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList. |
| 1450 | **/ |
| 1451 | VOID |
| 1452 | RestoreBufferList ( |
| 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 | /** |
no test coverage detected