83 if (BiosFileName ==
NULL)
87 else if (BiosFileName[0] !=
'\0')
92 DPRINT1(
"BIOS file '%s' loading %s at address 0x%08x; GetLastError() = %u\n",
111 RomFileName[
ARRAYSIZE(RomFileName)-1] =
'\0';
119 if (RomAddress == 0)
goto Skip;
122 DPRINT1(
"ROM file '%s' loading %s at address 0x%08x; GetLastError() = %u\n",
123 RomFileName, Success2 ?
"succeeded" :
"failed", RomAddress,
GetLastError());
126 RomFile +=
strlen(RomFile) + 1;
145 wprintf(
L"FATAL: Failed to initialize the UMA manager.\n");
UINT32 strtoul(const char *String, char **Terminator, UINT32 Base)
ACPI_SIZE strlen(const char *String)
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
DWORD WINAPI GetLastError(VOID)
BOOLEAN Bios32Initialize(VOID)
#define SEG_OFF_TO_PTR(seg, off)
BOOLEAN LoadBios(IN PCSTR BiosFileName, OUT PVOID *BiosLocation OPTIONAL, OUT PULONG BiosSize OPTIONAL)
struct _BIOS_CONFIG_TABLE * PBIOS_CONFIG_TABLE
BOOLEAN LoadRom(IN PCSTR RomFileName, IN PVOID RomLocation, OUT PULONG RomSize OPTIONAL)
static BOOLEAN Bios32Loaded
BOOLEAN UmaMgrInitialize(VOID)
VOID WINAPI WinNtVdmBiosReset(LPWORD Stack)
char * strchr(const char *String, int ch)
struct BIOS_DATA_AREA * PBIOS_DATA_AREA
VOID WINAPI BiosEquipmentService(LPWORD Stack)
VOID WINAPI BiosGetMemorySize(LPWORD Stack)