mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user