From 85446d50caa3a459f39997b0ca8155e2f4fe7140 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 9 Feb 2010 02:33:31 +0000 Subject: [PATCH 1/1] [FREELDR]: Do not build Disk/Partition support for ARM, we use ram disks. svn path=/trunk/; revision=45521 --- reactos/boot/freeldr/freeldr/disk/disk.c | 3 +++ reactos/boot/freeldr/freeldr/disk/partition.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/reactos/boot/freeldr/freeldr/disk/disk.c b/reactos/boot/freeldr/freeldr/disk/disk.c index 1ca0a941499..16ee1be7ad9 100644 --- a/reactos/boot/freeldr/freeldr/disk/disk.c +++ b/reactos/boot/freeldr/freeldr/disk/disk.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef _M_ARM #include #include @@ -167,3 +168,5 @@ DiskNormalizeSystemPath(char *SystemPath, unsigned Size) // This function is in arch/i386/i386disk.c //ULONG DiskGetCacheableBlockCount(ULONG DriveNumber) + +#endif diff --git a/reactos/boot/freeldr/freeldr/disk/partition.c b/reactos/boot/freeldr/freeldr/disk/partition.c index a0198bfff06..7dd07aa230f 100644 --- a/reactos/boot/freeldr/freeldr/disk/partition.c +++ b/reactos/boot/freeldr/freeldr/disk/partition.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef _M_ARM #include #include @@ -238,3 +239,5 @@ BOOLEAN DiskReadBootRecord(ULONG DriveNumber, ULONGLONG LogicalSectorNumber, PMA return TRUE; } + +#endif -- 2.17.1