diff options
author | Richard Henderson <rth@twiddle.net> | 2013-07-08 11:45:34 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-07-08 11:45:34 -0700 |
commit | b54e85c107176aefda25e62777208fa9e6f5abe0 (patch) | |
tree | 46b0adb84ede2dd3acc782a529e5def23d3ac7a7 | |
parent | 187bba34b30bb5e36a077426fccfcee0b9f4f9c5 (diff) | |
download | qemu-palcode-b54e85c107176aefda25e62777208fa9e6f5abe0.zip qemu-palcode-b54e85c107176aefda25e62777208fa9e6f5abe0.tar.gz qemu-palcode-b54e85c107176aefda25e62777208fa9e6f5abe0.tar.bz2 |
Fix use of undefined PACKED macro.
-rw-r--r-- | vgatables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vgatables.h b/vgatables.h index 52cbd92..153a3cc 100644 --- a/vgatables.h +++ b/vgatables.h @@ -81,7 +81,7 @@ typedef uint16_t u16; #define SCREEN_MEM_START(x,y,p) SCREEN_IO_START(((x)*2),(y),(p)) /* standard BIOS Video Parameter Table */ -struct VideoParam_s { +struct __attribute__((packed)) VideoParam_s { u8 twidth; u8 theightm1; u8 cheight; @@ -91,7 +91,7 @@ struct VideoParam_s { u8 crtc_regs[25]; u8 actl_regs[20]; u8 grdc_regs[9]; -} PACKED; +}; struct vgamode_s { u8 svgamode; |