Implement canonical address validation routine
This commit is contained in:
@@ -9,6 +9,24 @@
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the given address is canonical.
|
||||
*
|
||||
* @param VirtualAddress
|
||||
* Specifies the virtual address to check.
|
||||
*
|
||||
* @return This routine returns TRUE, as all addresses in i686 are canonical.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTAPI
|
||||
BOOLEAN
|
||||
MM::PageMap::CanonicalAddress(IN PVOID VirtualAddress)
|
||||
{
|
||||
/* All addresses in i686 are canonical */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets Page Map Level (PML) for current paging mode.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user