aboutsummaryrefslogtreecommitdiff
path: root/src/bregs.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-05-07 13:56:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-05-07 13:56:48 -0400
commit88db9fd632bf3f650244ec69e2f4fd6b2aa5fd3d (patch)
treebf031963aee4da34cbec6e3d09a9c95869baa521 /src/bregs.h
parentcc975646af69f279396d4d5e1379ac6af80ee637 (diff)
downloadseabios-hppa-88db9fd632bf3f650244ec69e2f4fd6b2aa5fd3d.zip
seabios-hppa-88db9fd632bf3f650244ec69e2f4fd6b2aa5fd3d.tar.gz
seabios-hppa-88db9fd632bf3f650244ec69e2f4fd6b2aa5fd3d.tar.bz2
Fix struct bregs - it shouldn't have multiple members with the same name.
This fixes a compile error on gcc 4.6.
Diffstat (limited to 'src/bregs.h')
-rw-r--r--src/bregs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bregs.h b/src/bregs.h
index 9a381d0..f026fa8 100644
--- 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, di8u, di8l);
+ UREG(esi, si, si8u, si8l);
+ UREG(ebp, bp, bp8u, bp8l);
UREG(ebx, bx, bh, bl);
UREG(edx, dx, dh, dl);
UREG(ecx, cx, ch, cl);