James Tabor wrote:
Hi!
Hartmut Birr wrote:
Hi,
can you please try:
M:\Sandbox\ros_work\reactos>svn diff hal\halx86\include\hal.h
Index: hal/halx86/include/hal.h
===================================================================
--- hal/halx86/include/hal.h (Revision 15545)
+++ hal/halx86/include/hal.h (Arbeitskopie)
@@ -419,7 +419,7 @@
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
- __asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r"
(offset));
+ __asm__ __volatile__("movb %%fs:(%1),%0":"=g" (b):"0"
(offset));
return b;
}
Do you have specify 'OARCH := athlon-xp' or something else?
- Hartmut
Sorry Hartmut,
OARCH:= tested athlon-xp and i486 with patch and still getting this
halmp: [CC] mpsirql.c
{standard input}: Assembler messages:
{standard input}:2377: Error: bad register name `%sil'
make[1]: *** [mpsirql.o] Error 1
make: *** [halx86/mp] Error 2
I get this only for an optimized build. Please try:
M:\Sandbox\ros_work\reactos>svn diff hal\halx86\include\hal.h
Index: hal/halx86/include/hal.h
===================================================================
--- hal/halx86/include/hal.h (Revision 15545)
+++ hal/halx86/include/hal.h (Arbeitskopie)
@@ -419,7 +419,7 @@
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
- __asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r"
(offset));
+ __asm__ __volatile__("movb %%fs:(%1),%0":"=A" (b):"0"
(offset));
return b;
}
- Hartmut