[ros-diffs] [navaraf] 13586: Fix inline assembler register
specification (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153).
navaraf at svn.reactos.com
navaraf at svn.reactos.com
Tue Feb 15 20:40:30 CET 2005
Fix inline assembler register specification
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153).
Modified:
branches/cache_manager_rewrite/reactos/hal/halx86/include/hal.h
_____
Modified:
branches/cache_manager_rewrite/reactos/hal/halx86/include/hal.h
--- branches/cache_manager_rewrite/reactos/hal/halx86/include/hal.h
2005-02-15 19:26:13 UTC (rev 13585)
+++ branches/cache_manager_rewrite/reactos/hal/halx86/include/hal.h
2005-02-15 19:40:30 UTC (rev 13586)
@@ -417,13 +417,13 @@
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
- __asm__ __volatile__("movb %%fs:(%1),%0":"=g" (b):"0" (offset));
+ __asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"0" (offset));
return b;
}
static inline VOID Ki386WriteFsByte(ULONG offset, BYTE value)
{
- __asm__ __volatile__("movb %0,%%fs:(%1)"::"r" (value), "r"
(offset));
+ __asm__ __volatile__("movb %0,%%fs:(%1)"::"q" (value), "r"
(offset));
}
#elif defined(_MSC_VER)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050215/ed02cc71/attachment.html
More information about the Ros-diffs
mailing list