Fix warnings in inline assembly (I hope this doesnt expose a GCC bug and
thus break the build for others, using 3.4.2 myself and everything
works)
Modified: trunk/reactos/ntoskrnl/kd/wrappers/bochs.c
_____
Modified: trunk/reactos/ntoskrnl/kd/wrappers/bochs.c
--- trunk/reactos/ntoskrnl/kd/wrappers/bochs.c 2005-06-13 14:36:02 UTC
(rev 15883)
+++ trunk/reactos/ntoskrnl/kd/wrappers/bochs.c 2005-06-13 15:29:05 UTC
(rev 15884)
@@ -26,14 +26,14 @@
{
#if defined(_M_IX86) && defined(__GNUC__)
/* Don't use WRITE_PORT_UCHAR because hal isn't initialized
yet in the very early boot phase. */
- __asm__("outb %0, %w1\n\t" :: "a" ('\r'),
"d"
(BOCHS_LOGGER_PORT));
+ __asm__("outb %b0, %w1\n\t" :: "a" ('\r'),
"d"
(BOCHS_LOGGER_PORT));
#else
WRITE_PORT_UCHAR((PUCHAR)BOCHS_LOGGER_PORT, '\r');
#endif
}
#if defined(_M_IX86) && defined(__GNUC__)
/* Don't use WRITE_PORT_UCHAR because hal isn't initialized yet
in the very early boot phase. */
- __asm__("outb %0, %w1\n\t" :: "a" (*Message), "d"
(BOCHS_LOGGER_PORT));
+ __asm__("outb %b0, %w1\n\t" :: "a" (*Message), "d"
(BOCHS_LOGGER_PORT));
#else
WRITE_PORT_UCHAR((PUCHAR)BOCHS_LOGGER_PORT, *Message);
#endif
Show replies by date