diff options
| author | Michael Brown | 2007-02-01 03:18:22 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-02-01 03:18:22 +0100 |
| commit | f06059ab97023821429f2853114b9edaeffe3169 (patch) | |
| tree | 157157412834afeacb8ec3f5535ea176ffab3718 | |
| parent | Also print out stack pointer (with optional stack dump) (diff) | |
| download | ipxe-f06059ab97023821429f2853114b9edaeffe3169.tar.gz ipxe-f06059ab97023821429f2853114b9edaeffe3169.tar.xz ipxe-f06059ab97023821429f2853114b9edaeffe3169.zip | |
More assertions
| -rw-r--r-- | src/arch/i386/core/udivmod64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/core/udivmod64.c b/src/arch/i386/core/udivmod64.c index b4f14b110..faf6fd8c8 100644 --- a/src/arch/i386/core/udivmod64.c +++ b/src/arch/i386/core/udivmod64.c @@ -305,6 +305,7 @@ UDItype __udivmoddi4 ( UDItype x, UDItype d, UDItype *r ) { ( struct uint64 * ) _q, ( struct uint64 * ) _r ); assert ( ( x == ( ( d * q ) + (*r) ) ) ); + assert ( (*r) < d ); return q; } |
