2014-02-17 22:20:03 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
2015-09-18 17:01:49 +00:00
|
|
|
* FILE: subsystems/mvdm/ntvdm/bios/bios32/bios32.h
|
2014-02-17 22:20:03 +00:00
|
|
|
* PURPOSE: VDM 32-bit BIOS
|
|
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIOS32_H_
|
|
|
|
#define _BIOS32_H_
|
|
|
|
|
2015-10-04 11:49:28 +00:00
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
|
|
|
|
// #include <bios/bios.h>
|
|
|
|
|
2014-02-17 22:20:03 +00:00
|
|
|
/* DEFINES ********************************************************************/
|
|
|
|
|
2015-05-09 23:48:09 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
BIOS_MEMORY_AVAILABLE = 1,
|
|
|
|
BIOS_MEMORY_RESERVED = 2,
|
|
|
|
BIOS_MEMORY_ACPI_RECLAIMABLE = 3,
|
|
|
|
BIOS_MEMORY_ACPI_NVS = 4
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
ULONGLONG BaseAddress;
|
|
|
|
ULONGLONG Length;
|
|
|
|
ULONG Type;
|
|
|
|
} BIOS_MEMORY_MAP, *PBIOS_MEMORY_MAP;
|
|
|
|
|
2014-03-02 22:50:31 +00:00
|
|
|
// #define BIOS_EQUIPMENT_INTERRUPT 0x11
|
|
|
|
// #define BIOS_MEMORY_SIZE 0x12
|
|
|
|
// #define BIOS_MISC_INTERRUPT 0x15
|
|
|
|
// #define BIOS_TIME_INTERRUPT 0x1A
|
|
|
|
// #define BIOS_SYS_TIMER_INTERRUPT 0x1C
|
2014-02-17 22:20:03 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
|
2014-03-02 01:45:57 +00:00
|
|
|
BOOLEAN Bios32Initialize(VOID);
|
2014-02-17 22:20:03 +00:00
|
|
|
VOID Bios32Cleanup(VOID);
|
|
|
|
|
2015-10-04 11:49:28 +00:00
|
|
|
#endif // _BIOS32_H_
|
|
|
|
|
|
|
|
/* EOF */
|