mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user