Carbon


PageState

Header: MacMemory.h

The GetPageState function obtains the state value of a page of logical memory. The PageState data type define constants that represent these possible state values.

typedef SInt16 PageState;

Debuggers need a way to display the contents of memory without paging or to display the contents of pages currently on disk. The GetPageState function obtains a constant from the PageState data type to specify the state of a page containing a virtual address. A debugger can use this information to determine whether certain memory addresses should be referenced. Note that ROM and I/O space are not pageable and therefore are considered not paged.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)