include vmm.inc
mov esi, List ; list handle
VMMCall List_Remove_First
jz list_empty ; zero flag set if list is empty
mov [Node], eax ; address of node removed
Removes the first node from a list. Uses EAX, Flags.
This service does not free the node. It is up to the virtual device to free the node, or attach it to another list.
List_Create, List_Remove