forked from xt-sys/exectos
39 lines
896 B
C
39 lines
896 B
C
|
/**
|
||
|
* 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 */
|