mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +00:00
pcdisk.c: corrected printf type (suppresses warning in some gcc versions)
Added powerpc arch variant in freeldr svn path=/trunk/; revision=21153
This commit is contained in:
parent
dd1ba06289
commit
13bef77734
6 changed files with 71 additions and 33 deletions
|
@ -5,6 +5,7 @@
|
||||||
<xi:include href="freeldr/freeldr_startup.rbuild" />
|
<xi:include href="freeldr/freeldr_startup.rbuild" />
|
||||||
<xi:include href="freeldr/freeldr_base64k.rbuild" />
|
<xi:include href="freeldr/freeldr_base64k.rbuild" />
|
||||||
<xi:include href="freeldr/freeldr_base.rbuild" />
|
<xi:include href="freeldr/freeldr_base.rbuild" />
|
||||||
|
<xi:include href="freeldr/freeldr_arch.rbuild" />
|
||||||
<xi:include href="freeldr/freeldr_main.rbuild" />
|
<xi:include href="freeldr/freeldr_main.rbuild" />
|
||||||
<xi:include href="freeldr/setupldr_main.rbuild" />
|
<xi:include href="freeldr/setupldr_main.rbuild" />
|
||||||
<xi:include href="freeldr/freeldr.rbuild" />
|
<xi:include href="freeldr/freeldr.rbuild" />
|
||||||
|
|
|
@ -341,7 +341,7 @@ static BOOL PcDiskInt13ExtensionsSupported(ULONG DriveNumber)
|
||||||
if (RegsOut.w.cx == 0x0000 && DriveNumber != 0x9f)
|
if (RegsOut.w.cx == 0x0000 && DriveNumber != 0x9f)
|
||||||
{
|
{
|
||||||
// CX = API subset support bitmap
|
// CX = API subset support bitmap
|
||||||
printf("Suspicious API subset support bitmap 0x%x on device 0x%x\n", RegsOut.w.cx, DriveNumber);
|
printf("Suspicious API subset support bitmap 0x%x on device 0x%lx\n", RegsOut.w.cx, DriveNumber);
|
||||||
LastSupported = FALSE;
|
LastSupported = FALSE;
|
||||||
return LastSupported;
|
return LastSupported;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<library>freeldr_startup</library>
|
<library>freeldr_startup</library>
|
||||||
<library>freeldr_base64k</library>
|
<library>freeldr_base64k</library>
|
||||||
<library>freeldr_base</library>
|
<library>freeldr_base</library>
|
||||||
|
<library>freeldr_arch</library>
|
||||||
<library>freeldr_main</library>
|
<library>freeldr_main</library>
|
||||||
<library>rossym</library>
|
<library>rossym</library>
|
||||||
<library>string</library>
|
<library>string</library>
|
||||||
|
|
67
reactos/boot/freeldr/freeldr/freeldr_arch.rbuild
Normal file
67
reactos/boot/freeldr/freeldr/freeldr_arch.rbuild
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<directory name="arch">
|
||||||
|
<directory name="i386">
|
||||||
|
<if property="ARCH" value="i386">
|
||||||
|
<module name="freeldr_arch" type="objectlibrary">
|
||||||
|
<include base="freeldr_base">include</include>
|
||||||
|
<include base="freeldr_base">cache</include>
|
||||||
|
<include base="ntoskrnl">include</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
|
<!--
|
||||||
|
<define name="DEBUG" />
|
||||||
|
-->
|
||||||
|
<compilerflag>-ffreestanding</compilerflag>
|
||||||
|
<compilerflag>-fno-builtin</compilerflag>
|
||||||
|
<compilerflag>-fno-inline</compilerflag>
|
||||||
|
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||||
|
<compilerflag>-Os</compilerflag>
|
||||||
|
<file>_alloca.S</file>
|
||||||
|
<file>archmach.c</file>
|
||||||
|
<file>hardware.c</file>
|
||||||
|
<file>hwacpi.c</file>
|
||||||
|
<file>hwapm.c</file>
|
||||||
|
<file>hwcpu.c</file>
|
||||||
|
<file>hwpci.c</file>
|
||||||
|
<file>i386disk.c</file>
|
||||||
|
<file>i386rtl.c</file>
|
||||||
|
<file>i386vid.c</file>
|
||||||
|
<file>machpc.c</file>
|
||||||
|
<file>pccons.c</file>
|
||||||
|
<file>pcdisk.c</file>
|
||||||
|
<file>pcmem.c</file>
|
||||||
|
<file>pcrtc.c</file>
|
||||||
|
<file>pcvideo.c</file>
|
||||||
|
<file>portio.c</file>
|
||||||
|
<file>machxbox.c</file>
|
||||||
|
<file>xboxcons.c</file>
|
||||||
|
<file>xboxdisk.c</file>
|
||||||
|
<file>xboxfont.c</file>
|
||||||
|
<file>xboxhw.c</file>
|
||||||
|
<file>xboxi2c.c</file>
|
||||||
|
<file>xboxmem.c</file>
|
||||||
|
<file>xboxrtc.c</file>
|
||||||
|
<file>xboxvideo.c</file>
|
||||||
|
</module>
|
||||||
|
</if>
|
||||||
|
</directory>
|
||||||
|
<directory name="powerpc">
|
||||||
|
<if property="ARCH" value="powerpc">
|
||||||
|
<module name="freeldr_arch" type="objectlibrary">
|
||||||
|
<include base="freeldr_base">include</include>
|
||||||
|
<include base="freeldr_base">cache</include>
|
||||||
|
<include base="ntoskrnl">include</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
|
<!--
|
||||||
|
<define name="DEBUG" />
|
||||||
|
-->
|
||||||
|
<compilerflag>-ffreestanding</compilerflag>
|
||||||
|
<compilerflag>-fno-builtin</compilerflag>
|
||||||
|
<compilerflag>-fno-inline</compilerflag>
|
||||||
|
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||||
|
<compilerflag>-Os</compilerflag>
|
||||||
|
<file>boot.s</file>
|
||||||
|
<file>mach.c</file>
|
||||||
|
<file>mboot.c</file>
|
||||||
|
</module>
|
||||||
|
</if>
|
||||||
|
</directory>
|
||||||
|
</directory>
|
|
@ -11,38 +11,6 @@
|
||||||
<compilerflag>-fno-inline</compilerflag>
|
<compilerflag>-fno-inline</compilerflag>
|
||||||
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
<compilerflag>-fno-zero-initialized-in-bss</compilerflag>
|
||||||
<compilerflag>-Os</compilerflag>
|
<compilerflag>-Os</compilerflag>
|
||||||
<directory name="arch">
|
|
||||||
<if property="ARCH" value="i386">
|
|
||||||
<directory name="i386">
|
|
||||||
<file>_alloca.S</file>
|
|
||||||
<file>archmach.c</file>
|
|
||||||
<file>hardware.c</file>
|
|
||||||
<file>hwacpi.c</file>
|
|
||||||
<file>hwapm.c</file>
|
|
||||||
<file>hwcpu.c</file>
|
|
||||||
<file>hwpci.c</file>
|
|
||||||
<file>i386disk.c</file>
|
|
||||||
<file>i386rtl.c</file>
|
|
||||||
<file>i386vid.c</file>
|
|
||||||
<file>machpc.c</file>
|
|
||||||
<file>pccons.c</file>
|
|
||||||
<file>pcdisk.c</file>
|
|
||||||
<file>pcmem.c</file>
|
|
||||||
<file>pcrtc.c</file>
|
|
||||||
<file>pcvideo.c</file>
|
|
||||||
<file>portio.c</file>
|
|
||||||
<file>machxbox.c</file>
|
|
||||||
<file>xboxcons.c</file>
|
|
||||||
<file>xboxdisk.c</file>
|
|
||||||
<file>xboxfont.c</file>
|
|
||||||
<file>xboxhw.c</file>
|
|
||||||
<file>xboxi2c.c</file>
|
|
||||||
<file>xboxmem.c</file>
|
|
||||||
<file>xboxrtc.c</file>
|
|
||||||
<file>xboxvideo.c</file>
|
|
||||||
</directory>
|
|
||||||
</if>
|
|
||||||
</directory>
|
|
||||||
<directory name="cache">
|
<directory name="cache">
|
||||||
<file>blocklist.c</file>
|
<file>blocklist.c</file>
|
||||||
<file>cache.c</file>
|
<file>cache.c</file>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<library>freeldr_startup</library>
|
<library>freeldr_startup</library>
|
||||||
<library>freeldr_base64k</library>
|
<library>freeldr_base64k</library>
|
||||||
<library>freeldr_base</library>
|
<library>freeldr_base</library>
|
||||||
|
<library>freeldr_arch</library>
|
||||||
<library>setupldr_main</library>
|
<library>setupldr_main</library>
|
||||||
<library>rossym</library>
|
<library>rossym</library>
|
||||||
<library>string</library>
|
<library>string</library>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue