Create a new buffer list and stores the old one to OldBufferList @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList. **/
| 1435 | @param OldBufferList The temporary list head used to store the nodes in BufferToFreeList. |
| 1436 | **/ |
| 1437 | VOID |
| 1438 | SaveBufferList ( |
| 1439 | OUT LIST_ENTRY *OldBufferList |
| 1440 | ) |
| 1441 | { |
| 1442 | CopyMem (OldBufferList, &ShellInfoObject.BufferToFreeList.Link, sizeof (LIST_ENTRY)); |
| 1443 | InitializeListHead (&ShellInfoObject.BufferToFreeList.Link); |
| 1444 | } |
| 1445 | |
| 1446 | /** |
| 1447 | Restore previous nodes into BufferToFreeList . |
no test coverage detected