Workaround for GCC inline assembly bug, hopefully fixed for good. Builds for me in both checked and free

Bug details and status here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


svn path=/trunk/; revision=15584
This commit is contained in:
KJK::Hyperion 2005-05-28 15:41:09 +00:00
parent 2990d277fb
commit 28d278bd08

View file

@ -419,7 +419,7 @@ HalQueryDisplayOwnership();
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
__asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r" (offset));
__asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"r" (offset));
return b;
}