ReactOS 0.4.16-dev-329-g9223134
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
14typedef 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
28
31
32#endif /* _UMAMGR_H_ */
unsigned char BOOLEAN
unsigned short USHORT
Definition: pedump.c:61
uint16_t * PUSHORT
Definition: typedefs.h:56
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
BOOLEAN UmaMgrInitialize(VOID)
Definition: umamgr.c:375
UMA_DESC_TYPE
Definition: umamgr.h:15
@ UMA_ROM
Definition: umamgr.h:18
@ UMA_SYSTEM
Definition: umamgr.h:17
@ UMA_FREE
Definition: umamgr.h:16
@ UMA_VDD
Definition: umamgr.h:20
@ UMA_UMB
Definition: umamgr.h:19
VOID UmaMgrCleanup(VOID)
Definition: umamgr.c:616
BOOLEAN UmaDescReserve(IN OUT PUSHORT UmbSegment, IN OUT PUSHORT Size)
Definition: umamgr.c:84
BOOLEAN UmaDescRelease(IN USHORT UmbSegment)
Definition: umamgr.c:207
BOOLEAN UmaDescReallocate(IN USHORT UmbSegment, IN OUT PUSHORT Size)
Definition: umamgr.c:260
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533