mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Removed certain ARM Machine Callbacks which we shouldn't need at all until much later for SetupLDR.
Kept the ArmDisk ones though since they'll be needed for NAND boot, but improved the assertions. svn path=/trunk/; revision=32171
This commit is contained in:
parent
5dfb41e641
commit
2c11320128
1 changed files with 26 additions and 59 deletions
|
@ -24,6 +24,32 @@ FrLdrStartup(IN ULONG Magic)
|
|||
//
|
||||
}
|
||||
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetDriveGeometry(IN ULONG DriveNumber,
|
||||
OUT PGEOMETRY Geometry)
|
||||
{
|
||||
ASSERT(gRamDiskBase == NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskReadLogicalSectors(IN ULONG DriveNumber,
|
||||
IN ULONGLONG SectorNumber,
|
||||
IN ULONG SectorCount,
|
||||
IN PVOID Buffer)
|
||||
{
|
||||
ASSERT(gRamDiskBase == NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ULONG
|
||||
ArmDiskGetCacheableBlockCount(IN ULONG DriveNumber)
|
||||
{
|
||||
ASSERT(gRamDiskBase == NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetBootVolume(IN PULONG DriveNumber,
|
||||
IN PULONGLONG StartSector,
|
||||
|
@ -55,19 +81,6 @@ ArmDiskGetBootVolume(IN PULONG DriveNumber,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
VOID
|
||||
ArmDiskGetBootDevice(OUT PULONG BootDevice)
|
||||
{
|
||||
while (TRUE);
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskBootingFromFloppy(VOID)
|
||||
{
|
||||
while (TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetSystemVolume(IN PCHAR SystemPath,
|
||||
OUT PCHAR RemainingPath,
|
||||
|
@ -81,14 +94,6 @@ ArmDiskGetSystemVolume(IN PCHAR SystemPath,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetBootPath(IN PCHAR BootPath,
|
||||
IN unsigned Size)
|
||||
{
|
||||
while (TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskNormalizeSystemPath(IN PCHAR SystemPath,
|
||||
IN unsigned Size)
|
||||
|
@ -97,40 +102,6 @@ ArmDiskNormalizeSystemPath(IN PCHAR SystemPath,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetDriveGeometry(IN ULONG DriveNumber,
|
||||
OUT PGEOMETRY Geometry)
|
||||
{
|
||||
ASSERT(FALSE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskGetPartitionEntry(IN ULONG DriveNumber,
|
||||
IN ULONG PartitionNumber,
|
||||
OUT PPARTITION_TABLE_ENTRY PartitionTableEntry)
|
||||
{
|
||||
while (TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
ArmDiskReadLogicalSectors(IN ULONG DriveNumber,
|
||||
IN ULONGLONG SectorNumber,
|
||||
IN ULONG SectorCount,
|
||||
IN PVOID Buffer)
|
||||
{
|
||||
ASSERT(FALSE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ULONG
|
||||
ArmDiskGetCacheableBlockCount(IN ULONG DriveNumber)
|
||||
{
|
||||
ASSERT(FALSE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID
|
||||
ArmPrepareForReactOS(IN BOOLEAN Setup)
|
||||
{
|
||||
|
@ -190,12 +161,8 @@ MachInit(IN PCCH CommandLine)
|
|||
MachVtbl.GetMemoryMap = ArmMemGetMemoryMap;
|
||||
MachVtbl.DiskGetBootVolume = ArmDiskGetBootVolume;
|
||||
MachVtbl.DiskGetSystemVolume = ArmDiskGetSystemVolume;
|
||||
MachVtbl.DiskGetBootPath = ArmDiskGetBootPath;
|
||||
MachVtbl.DiskGetBootDevice = ArmDiskGetBootDevice;
|
||||
MachVtbl.DiskBootingFromFloppy = ArmDiskBootingFromFloppy;
|
||||
MachVtbl.DiskNormalizeSystemPath = ArmDiskNormalizeSystemPath;
|
||||
MachVtbl.DiskReadLogicalSectors = ArmDiskReadLogicalSectors;
|
||||
MachVtbl.DiskGetPartitionEntry = ArmDiskGetPartitionEntry;
|
||||
MachVtbl.DiskGetDriveGeometry = ArmDiskGetDriveGeometry;
|
||||
MachVtbl.DiskGetCacheableBlockCount = ArmDiskGetCacheableBlockCount;
|
||||
MachVtbl.HwDetect = ArmHwDetect;
|
||||
|
|
Loading…
Reference in a new issue