FrameManager$pop function <nucleus/kernel.h>

The FrameManager$pop function pops the first entry from a frame list and returns it.

Syntax

pfn_t
FrameManager$pop(
	enum FrameState list
);

Parameters

list

The index of the list from which the frame should be popped. This cannot be FRAME_USED.

Return value

The page frame number of the popped entry.