ReactOS  0.4.14-dev-614-gbfd8a84
bios32.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BIOS_MEMORY_MAP
 

Typedefs

typedef struct BIOS_MEMORY_MAPPBIOS_MEMORY_MAP
 

Enumerations

enum  { BIOS_MEMORY_AVAILABLE = 1, BIOS_MEMORY_RESERVED = 2, BIOS_MEMORY_ACPI_RECLAIMABLE = 3, BIOS_MEMORY_ACPI_NVS = 4 }
 

Functions

BOOLEAN Bios32Initialize (VOID)
 
VOID Bios32Cleanup (VOID)
 

Typedef Documentation

◆ PBIOS_MEMORY_MAP

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BIOS_MEMORY_AVAILABLE 
BIOS_MEMORY_RESERVED 
BIOS_MEMORY_ACPI_RECLAIMABLE 
BIOS_MEMORY_ACPI_NVS 

Definition at line 18 of file bios32.h.

Function Documentation

◆ Bios32Cleanup()

VOID Bios32Cleanup ( VOID  )

Definition at line 1285 of file bios32.c.

1286 {
1289  VidBios32Cleanup();
1290  KbdBiosCleanup();
1291 }
VOID VidBios32Cleanup(VOID)
Definition: vidbios32.c:67
VOID MouseBios32Cleanup(VOID)
Definition: moubios32.c:538
VOID DiskBios32Cleanup(VOID)
Definition: dskbios32.c:701
VOID KbdBiosCleanup(VOID)
Definition: kbdbios.c:93

Referenced by BiosCleanup().

◆ Bios32Initialize()

BOOLEAN Bios32Initialize ( VOID  )

Definition at line 1242 of file bios32.c.

1243 {
1244  /*
1245  * Initialize BIOS/Keyboard/Video ROM static data
1246  */
1247 
1248  /* System BIOS Copyright */
1250 
1251  /* System BIOS Version */
1253 
1254  /* System BIOS Date */
1256 
1257  /* Bootstrap code */
1260 
1261  /* BIOS ROM Information */
1263 
1264  /* System BIOS Model (same as Bct->Model) */
1266 
1267  /* Initialize the Keyboard and Video BIOS */
1269  {
1270  /* Stop the VDM */
1272  return FALSE;
1273  }
1274 
1275  /* Redefine our POST function */
1277 
1279  ROM_AREA_END - TO_LINEAR(BIOS_SEGMENT, 0x0000) + 1);
1280 
1281  /* We are done */
1282  return TRUE;
1283 }
#define TRUE
Definition: types.h:120
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
BOOLEAN WriteProtectRom(IN PVOID RomLocation, IN ULONG RomSize)
Definition: rom.c:138
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler)
Definition: bop.c:29
static const CHAR BiosVersion[]
Definition: bios32.c:139
#define BIOS_MODEL
Definition: bios32.c:110
#define SEG_OFF_TO_PTR(seg, off)
Definition: emulator.h:28
BOOLEAN KbdBiosInitialize(VOID)
Definition: kbdbios.c:85
#define BOP_RESET
Definition: bios.c:33
static const BYTE Bootstrap[]
Definition: bios32.c:147
static const BYTE PostCode[]
Definition: bios32.c:157
static const CHAR BiosCopyright[]
Definition: bios32.c:138
BOOLEAN VidBiosInitialize(VOID)
Definition: vidbios.c:3981
#define TO_LINEAR(seg, off)
Definition: emulator.h:22
#define ROM_AREA_END
Definition: rom.h:15
VOID EmulatorTerminate(VOID)
Definition: emulator.c:503
static const CHAR BiosDate[]
Definition: bios32.c:141
BOOLEAN DiskBios32Initialize(VOID)
Definition: dskbios32.c:674
static const BIOS_CONFIG_TABLE BiosConfigTable
Definition: bios32.c:115
BOOLEAN MouseBiosInitialize(VOID)
Definition: moubios32.c:533
BYTE * PBYTE
Definition: pedump.c:66
VOID WINAPI Bios32Post(LPWORD Stack)
Definition: bios32.c:1064
#define BIOS_SEGMENT
Definition: bios.h:29

Referenced by BiosInitialize().