Add full paging support for AMD64 and i686 architectures, including PAE support
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -12,8 +12,26 @@
|
||||
#include "xtcommon.h"
|
||||
|
||||
|
||||
/* Page Table entry with PAE support structure definition */
|
||||
/* Page Table entry structure definition */
|
||||
typedef struct _HARDWARE_PTE
|
||||
{
|
||||
UINT32 Valid:1;
|
||||
UINT32 Write:1;
|
||||
UINT32 Owner:1;
|
||||
UINT32 WriteThrough:1;
|
||||
UINT32 CacheDisable:1;
|
||||
UINT32 Accessed:1;
|
||||
UINT32 Dirty:1;
|
||||
UINT32 LargePage:1;
|
||||
UINT32 Global:1;
|
||||
UINT32 CopyOnWrite:1;
|
||||
UINT32 Prototype:1;
|
||||
UINT32 Reserved:1;
|
||||
UINT32 PageFrameNumber:20;
|
||||
} HARDWARE_PTE, *PHARDWARE_PTE;
|
||||
|
||||
/* Page Table entry with PAE support structure definition */
|
||||
typedef struct _HARDWARE_PTE_PAE
|
||||
{
|
||||
ULONGLONG Valid:1;
|
||||
ULONGLONG Write:1;
|
||||
@@ -31,6 +49,6 @@ typedef struct _HARDWARE_PTE
|
||||
ULONGLONG Reserved1:12;
|
||||
ULONGLONG SoftwareWsIndex:11;
|
||||
ULONGLONG NoExecute:1;
|
||||
} HARDWARE_PTE, *PHARDWARE_PTE;
|
||||
} HARDWARE_PTE_PAE, *PHARDWARE_PTE_PAE;
|
||||
|
||||
#endif /* __XTDK_I686_MMTYPES_H */
|
||||
|
Reference in New Issue
Block a user