projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc97564
)
Fix struct bregs - it shouldn't have multiple members with the same name.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 7 May 2011 17:56:48 +0000
(13:56 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 7 May 2011 17:56:48 +0000
(13:56 -0400)
This fixes a compile error on gcc 4.6.
src/bregs.h
patch
|
blob
|
history
diff --git
a/src/bregs.h
b/src/bregs.h
index 9a381d0f95d5e6c262f99624c1dd04846d76b672..f026fa81e513faa70c342c2997149a390ec33c1e 100644
(file)
--- a/
src/bregs.h
+++ b/
src/bregs.h
@@
-37,9
+37,9
@@
struct bregs {
u16 ds;
u16 es;
- UREG(edi, di, di
_hi, di_lo
);
- UREG(esi, si, si
_hi, si_lo
);
- UREG(ebp, bp, bp
_hi, bp_lo
);
+ UREG(edi, di, di
8u, di8l
);
+ UREG(esi, si, si
8u, si8l
);
+ UREG(ebp, bp, bp
8u, bp8l
);
UREG(ebx, bx, bh, bl);
UREG(edx, dx, dh, dl);
UREG(ecx, cx, ch, cl);