mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[FREELDR] Fix pc98 build
This commit is contained in:
@@ -61,4 +61,14 @@ VOID MachVideoGetFontsFromFirmware(PULONG RomFontPointers)
|
||||
MachVtbl.VideoGetFontsFromFirmware(RomFontPointers);
|
||||
}
|
||||
|
||||
ULONG
|
||||
MachGetBootSectorLoadAddress(IN UCHAR DriveNumber)
|
||||
{
|
||||
#if defined(SARCH_PC98)
|
||||
return Pc98GetBootSectorLoadAddress(DriveNumber);
|
||||
#else
|
||||
return 0x7C00;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
@ cdecl Relocator16Boot()
|
||||
@ stdcall RtlAssert(ptr ptr long ptr)
|
||||
@ cdecl StallExecutionProcessor()
|
||||
@ cdecl MachGetBootSectorLoadAddress()
|
||||
|
||||
# Additional stuff for scsiport
|
||||
@ stdcall CpDoesPortExist(ptr)
|
||||
|
||||
@@ -130,6 +130,7 @@ VOID MachInit(const char *CmdLine);
|
||||
#define MachHwIdle() \
|
||||
MachVtbl.HwIdle()
|
||||
|
||||
|
||||
/* ARC FUNCTIONS **************************************************************/
|
||||
|
||||
TIMEINFO* ArcGetTime(VOID);
|
||||
@@ -139,5 +140,6 @@ PCONFIGURATION_COMPONENT_DATA MachHwDetect(_In_opt_ PCSTR Options);
|
||||
VOID MachPrepareForReactOS(VOID);
|
||||
VOID MachGetExtendedBIOSData(PULONG ExtendedBIOSDataArea, PULONG ExtendedBIOSDataSize);
|
||||
VOID MachVideoGetFontsFromFirmware(PULONG RomFontPointers);
|
||||
ULONG MachGetBootSectorLoadAddress(IN UCHAR DriveNumber);
|
||||
|
||||
/* EOF */
|
||||
|
||||
@@ -161,11 +161,7 @@ LoadAndBootSector(
|
||||
return Status;
|
||||
}
|
||||
|
||||
#if defined(SARCH_PC98)
|
||||
LoadAddress = Pc98GetBootSectorLoadAddress(BiosDriveNumber);
|
||||
#else
|
||||
LoadAddress = 0x7C00;
|
||||
#endif
|
||||
LoadAddress = MachGetBootSectorLoadAddress(BiosDriveNumber);
|
||||
|
||||
/*
|
||||
* Now try to load the boot sector: disk MBR (when PartitionNumber == 0),
|
||||
|
||||
Reference in New Issue
Block a user