ReactOS
0.4.16-dev-92-g0c2cdca
bios32.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: GPL - See COPYING in the top level directory
3
* PROJECT: ReactOS Virtual DOS Machine
4
* FILE: subsystems/mvdm/ntvdm/bios/bios32/bios32.h
5
* PURPOSE: VDM 32-bit BIOS
6
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7
*/
8
9
#ifndef _BIOS32_H_
10
#define _BIOS32_H_
11
12
/* INCLUDES *******************************************************************/
13
14
// #include <bios/bios.h>
15
16
/* DEFINES ********************************************************************/
17
18
enum
19
{
20
BIOS_MEMORY_AVAILABLE
= 1,
21
BIOS_MEMORY_RESERVED
= 2,
22
BIOS_MEMORY_ACPI_RECLAIMABLE
= 3,
23
BIOS_MEMORY_ACPI_NVS
= 4
24
};
25
26
typedef
struct
27
{
28
ULONGLONG
BaseAddress
;
29
ULONGLONG
Length
;
30
ULONG
Type
;
31
}
BIOS_MEMORY_MAP
, *
PBIOS_MEMORY_MAP
;
32
33
// #define BIOS_EQUIPMENT_INTERRUPT 0x11
34
// #define BIOS_MEMORY_SIZE 0x12
35
// #define BIOS_MISC_INTERRUPT 0x15
36
// #define BIOS_TIME_INTERRUPT 0x1A
37
// #define BIOS_SYS_TIMER_INTERRUPT 0x1C
38
39
/* FUNCTIONS ******************************************************************/
40
41
BOOLEAN
Bios32Initialize
(
VOID
);
42
VOID
Bios32Cleanup
(
VOID
);
43
44
#endif
// _BIOS32_H_
45
46
/* EOF */
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
Type
Type
Definition:
Type.h:7
Bios32Cleanup
VOID Bios32Cleanup(VOID)
Definition:
bios32.c:1289
Bios32Initialize
BOOLEAN Bios32Initialize(VOID)
Definition:
bios32.c:1246
PBIOS_MEMORY_MAP
struct BIOS_MEMORY_MAP * PBIOS_MEMORY_MAP
BIOS_MEMORY_ACPI_NVS
@ BIOS_MEMORY_ACPI_NVS
Definition:
bios32.h:23
BIOS_MEMORY_RESERVED
@ BIOS_MEMORY_RESERVED
Definition:
bios32.h:21
BIOS_MEMORY_ACPI_RECLAIMABLE
@ BIOS_MEMORY_ACPI_RECLAIMABLE
Definition:
bios32.h:22
BIOS_MEMORY_AVAILABLE
@ BIOS_MEMORY_AVAILABLE
Definition:
bios32.h:20
void
Definition:
nsiface.idl:2307
BaseAddress
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition:
mmfuncs.h:404
Length
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition:
ntddpcm.h:102
BIOS_MEMORY_MAP
Definition:
osloader.h:32
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
ULONGLONG
uint64_t ULONGLONG
Definition:
typedefs.h:67
subsystems
mvdm
ntvdm
bios
bios32
bios32.h
Generated on Mon Oct 7 2024 06:16:22 for ReactOS by
1.9.6