http://git.etherboot.org
/
people
/
mcb30
/
legacybios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86bbda0
)
use PACKED for bregs declaration
author
Kevin O'Connor
<kevin@koconnor.net>
Tue, 11 Mar 2008 23:54:55 +0000
(19:54 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Tue, 11 Mar 2008 23:54:55 +0000
(19:54 -0400)
This patch makes bregs structure declared with PACKED macro (biosvar.h)
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
src/biosvar.h
patch
|
blob
|
history
diff --git
a/src/biosvar.h
b/src/biosvar.h
index
885d308
..
4def7f3
100644
(file)
--- a/
src/biosvar.h
+++ b/
src/biosvar.h
@@
-301,7
+301,7
@@
struct bregs {
u16 ip;
u16 cs;
u16 flags;
u16 ip;
u16 cs;
u16 flags;
-}
__attribute__((packed))
;
+}
PACKED
;
// bregs flags bitdefs
#define F_ZF (1<<6)
// bregs flags bitdefs
#define F_ZF (1<<6)