forked from xt-sys/exectos
Add PFN related structures and definitions
This commit is contained in:
38
sdk/xtdk/mmtypes.h
Normal file
38
sdk/xtdk/mmtypes.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: sdk/xtdk/mmtypes.h
|
||||
* DESCRIPTION: Memory management data structures
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTDK_MMTYPES_H
|
||||
#define __XTDK_MMTYPES_H
|
||||
|
||||
#include <xtbase.h>
|
||||
|
||||
|
||||
/* Color tables structure definition */
|
||||
typedef struct _MMCOLOR_TABLES
|
||||
{
|
||||
ULONG_PTR Flink;
|
||||
PVOID Blink;
|
||||
ULONG_PTR Count;
|
||||
} MMCOLOR_TABLES, *PMMCOLOR_TABLES;
|
||||
|
||||
/* Page Frame Entry structure definition */
|
||||
typedef struct _MMPFNENTRY
|
||||
{
|
||||
USHORT Modified:1;
|
||||
USHORT ReadInProgress:1;
|
||||
USHORT WriteInProgress:1;
|
||||
USHORT PrototypePte:1;
|
||||
USHORT PageColor:4;
|
||||
USHORT PageLocation:3;
|
||||
USHORT RemovalRequested:1;
|
||||
USHORT CacheAttribute:2;
|
||||
USHORT Rom:1;
|
||||
USHORT ParityError:1;
|
||||
} MMPFNENTRY, *PMMPFNENTRY;
|
||||
|
||||
#endif /* __XTDK_MMTYPES_H */
|
Reference in New Issue
Block a user