mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-30 14:58:16 +00:00
[debug] Ensure debug address and colourisation fields are fully initialised
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -339,6 +339,7 @@ int __debug_disable;
|
||||
unsigned long ul; \
|
||||
typeof ( dispaddr ) raw; \
|
||||
} da; \
|
||||
da.ul = 0; \
|
||||
da.raw = dispaddr; \
|
||||
dbg_hex_dump_da ( da.ul, data, len ); \
|
||||
} \
|
||||
@@ -370,6 +371,7 @@ int __debug_disable;
|
||||
unsigned long ul; \
|
||||
typeof ( dispaddr ) raw; \
|
||||
} da; \
|
||||
da.ul = 0; \
|
||||
da.raw = dispaddr; \
|
||||
dbg_md5_da ( da.ul, data, len ); \
|
||||
} \
|
||||
@@ -421,6 +423,7 @@ int __debug_disable;
|
||||
unsigned long ul; \
|
||||
typeof ( id ) raw; \
|
||||
} dbg_stream; \
|
||||
dbg_stream.ul = 0; \
|
||||
dbg_stream.raw = id; \
|
||||
dbg_autocolourise ( dbg_stream.ul ); \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user