From 5dfb41e641ed5ad61cd8fe6cf14bc557c33ca923 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Wed, 6 Feb 2008 20:38:59 +0000 Subject: [PATCH] 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) svn path=/trunk/; revision=32170 --- reactos/boot/freeldr/freeldr/arch/arm/stubs.c | 2 +- reactos/boot/freeldr/freeldr/ui/noui.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/boot/freeldr/freeldr/arch/arm/stubs.c b/reactos/boot/freeldr/freeldr/arch/arm/stubs.c index 87b22710a16..a2ab61a2b6c 100644 --- a/reactos/boot/freeldr/freeldr/arch/arm/stubs.c +++ b/reactos/boot/freeldr/freeldr/arch/arm/stubs.c @@ -40,7 +40,7 @@ ArmDiskGetBootVolume(IN PULONG DriveNumber, // Use magic ramdisk drive number and count the number of 512-byte sectors // *DriveNumber = 0x49; - *StartSector = 0; + *StartSector = 63; *SectorCount = gRamDiskSize * 512; // diff --git a/reactos/boot/freeldr/freeldr/ui/noui.c b/reactos/boot/freeldr/freeldr/ui/noui.c index 56922eee18e..a52c81cf45c 100644 --- a/reactos/boot/freeldr/freeldr/ui/noui.c +++ b/reactos/boot/freeldr/freeldr/ui/noui.c @@ -43,6 +43,7 @@ VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCST VOID NoUiDrawStatusText(PCSTR StatusText) { + printf("%s\n", StatusText); } VOID NoUiUpdateDateTime(VOID)