[ros-diffs] [ros-arm-bringup] 32170: We now report the correct sector start for the ramdisk -- the actual volume boot sector is at 0x63, not 0x00 which is the MBR. FreeLDR now reads freeldr.ini correctly and continues all the way to hardware detection (ArmHwDetect)

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Wed Feb 6 21:38:59 CET 2008


Author: ros-arm-bringup
Date: Wed Feb  6 23:38:59 2008
New Revision: 32170

URL: http://svn.reactos.org/svn/reactos?rev=32170&view=rev
Log:
We now report the correct sector start for the ramdisk -- the actual volume boot sector is at 0x63, not 0x00 which is the MBR.
FreeLDR now reads freeldr.ini correctly and continues all the way to hardware detection (ArmHwDetect)

Modified:
    trunk/reactos/boot/freeldr/freeldr/arch/arm/stubs.c
    trunk/reactos/boot/freeldr/freeldr/ui/noui.c

Modified: trunk/reactos/boot/freeldr/freeldr/arch/arm/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/arm/stubs.c?rev=32170&r1=32169&r2=32170&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/arm/stubs.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/arm/stubs.c Wed Feb  6 23:38:59 2008
@@ -40,7 +40,7 @@
     // Use magic ramdisk drive number and count the number of 512-byte sectors
     //
     *DriveNumber = 0x49;
-    *StartSector = 0;
+    *StartSector = 63;
     *SectorCount = gRamDiskSize * 512;
 
     //

Modified: trunk/reactos/boot/freeldr/freeldr/ui/noui.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/ui/noui.c?rev=32170&r1=32169&r2=32170&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/ui/noui.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/ui/noui.c Wed Feb  6 23:38:59 2008
@@ -43,6 +43,7 @@
 
 VOID NoUiDrawStatusText(PCSTR StatusText)
 {
+    printf("%s\n", StatusText);
 }
 
 VOID NoUiUpdateDateTime(VOID)




More information about the Ros-diffs mailing list