Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define PAGE_ADDRESS ( pv   )     ((uintptr_t)(pv) & ~(uintptr_t)0xfff)

Get the page aligned address of a POINTER in the CURRENT context.

Page aligned address (it's an uintptr_t).
pv The virtual address to align.
Physical addresses are always masked using X86_PTE_PAE_PG_MASK!

This only works with POINTERS in the current context. Do NOT use on guest address or physical address!

Definition at line 99 of file param.h.

Referenced by PATMPatchSysenterXP(), and patmReadBytes().

Generated by  Doxygen 1.6.0   Back to index