2
0
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:
Michael Brown
2012-03-06 22:02:15 +00:00
parent 1f238bc69e
commit 18ff2ad53e

View File

@@ -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 ); \
} \