Because today night or tomorrow I will reduce the range of the _M_IX86-defined code in
it.
H.
-----Message d'origine-----
De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Timo Kreuzer
Envoyé : lundi 2 février 2015 08:08
À : ros-dev(a)reactos.org
Objet : Re: [ros-dev] [ros-diffs] [hbelusca] 66143: [FREELDR] - Remove an unexisting
function declaration. - Move some boot methods back to suitable place. - Whitespace
fixes.
Why are you moving a file out of the i386 folder and then add #ifdef
_M_IX86 around all the code???
Am 01.02.2015 um 18:49 schrieb hbelusca(a)svn.reactos.org:
---
trunk/reactos/boot/freeldr/freeldr/arch/i386/custom.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/custom.c [iso-8859-1] Sun Feb 1 17:49:11 2015
@@ -19,6 +19,7 @@
#include <freeldr.h>
+#ifdef _M_IX86
const CHAR BootDrivePrompt[] = "Enter the boot drive.\n\nExamples:\nfd0 - first
floppy drive\nhd0 - first hard drive\nhd1 - second hard drive\ncd0 - first CD-ROM
drive.\n\nBIOS drive numbers may also be used:\n0 - first floppy drive\n0x80 - first hard
drive\n0x81 - second hard drive";
const CHAR BootPartitionPrompt[] = "Enter the boot partition.\n\nEnter 0 for
the active (bootable) partition.";
@@ -448,3 +449,5 @@
DiskStopFloppyMotor();
Reboot();
}
+
+#endif // _M_IX86