aboutsummaryrefslogtreecommitdiffstats
path: root/menu/biosio.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu/biosio.h')
-rw-r--r--menu/biosio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu/biosio.h b/menu/biosio.h
index e9bd5046..c17cc8f4 100644
--- a/menu/biosio.h
+++ b/menu/biosio.h
@@ -49,7 +49,7 @@ static inline unsigned char readbiosb(unsigned short addr)
asm("movw %2,%%fs ; "
"movb %%fs:%1,%0"
- : "=r" (v)
+ : "=abcd" (v)
: "m" (*(unsigned char *)(unsigned int)addr),
"r" ((unsigned short)0));
return v;