Allocates memory in pages.
#include <nks/memory.h>
void *NXPageAlloc (
size_t pageCount,
unsigned long flags);
Specifies the number of memory pages to allocate.
Specifies the initial state of the pages and uses the following flags:
If successful, returns a pointer to the allocated memory; otherwise returns NULL.
For sample code, see Memory.c.