Mercurial > hvf > hvf-old
changeset 498:b42f98fb669d
cp: use 4 bytes of \0 in BUG
The disassembly looks cleaner since objdump likes to print it a .long which
used to consume the next two bytes of instructions.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Fri, 22 Apr 2011 13:00:00 -0400 |
parents | 2f86694a2129 |
children | c49e2a991b17 |
files | cp/include/nucleus.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cp/include/nucleus.h Fri Apr 22 12:59:00 2011 -0400 +++ b/cp/include/nucleus.h Fri Apr 22 13:00:00 2011 -0400 @@ -41,7 +41,7 @@ } #define BUG() do { \ - asm volatile(".byte 0x00,0x00" : : : "memory"); \ + asm volatile(".byte 0x00,0x00,0x00,0x00" : : : "memory"); \ } while(0) #define BUG_ON(cond) do { \ if (unlikely(cond)) \