ReactOS  0.4.14-dev-384-g5b37caa
umamgr.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: GPLv2+ - See COPYING in the top level directory
3  * PROJECT: ReactOS Virtual DOS Machine
4  * FILE: subsystems/mvdm/ntvdm/bios/umamgr.h
5  * PURPOSE: Upper Memory Area Manager
6  * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7  */
8 
9 #ifndef _UMAMGR_H_
10 #define _UMAMGR_H_
11 
12 /* DEFINITIONS ****************************************************************/
13 
14 typedef enum
15 {
16  UMA_FREE = 0, // Free RAM block
17  UMA_SYSTEM, // System memory (eg. VGA memory, etc...)
18  UMA_ROM, // ROM block
19  UMA_UMB, // Upper memory block
20  UMA_VDD // VDD-reserved block
22 
23 /* FUNCTIONS ******************************************************************/
24 
26 BOOLEAN UmaDescRelease(IN USHORT UmbSegment);
28 
31 
32 #endif /* _UMAMGR_H_ */
BOOLEAN UmaDescReserve(IN OUT PUSHORT UmbSegment, IN OUT PUSHORT Size)
Definition: umamgr.c:84
#define IN
Definition: typedefs.h:38
BOOLEAN UmaMgrInitialize(VOID)
Definition: umamgr.c:375
Definition: umamgr.h:19
VOID UmaMgrCleanup(VOID)
Definition: umamgr.c:616
unsigned char BOOLEAN
Definition: umamgr.h:18
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
BOOLEAN UmaDescRelease(IN USHORT UmbSegment)
Definition: umamgr.c:207
unsigned short USHORT
Definition: pedump.c:61
Definition: umamgr.h:20
BOOLEAN UmaDescReallocate(IN USHORT UmbSegment, IN OUT PUSHORT Size)
Definition: umamgr.c:260
#define OUT
Definition: typedefs.h:39
UMA_DESC_TYPE
Definition: umamgr.h:14
unsigned short * PUSHORT
Definition: retypes.h:2