projects
/
seabios.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 885d308425eef4c3fdcd14f3b65d72688794b7cf..4def7f39493774aed0367983c79b4f7d1f064ed8 100644
(file)
--- a/
src/biosvar.h
+++ b/
src/biosvar.h
@@
-301,7
+301,7
@@
struct bregs {
u16 ip;
u16 cs;
u16 flags;
-}
__attribute__((packed))
;
+}
PACKED
;
// bregs flags bitdefs
#define F_ZF (1<<6)