diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-01 13:25:22 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-10-01 15:51:26 +0200 |
commit | f025f685e965ac9ee1cd35ff3636c8554d9939d2 (patch) | |
tree | dc5126b12ed850de99875272f112d0e2b0a11243 /kern/sched_prim.c | |
parent | c81df8d61ed024b253334076041917b2c8fcf55e (diff) | |
download | gnumach-f025f685e965ac9ee1cd35ff3636c8554d9939d2.tar.gz gnumach-f025f685e965ac9ee1cd35ff3636c8554d9939d2.tar.bz2 gnumach-f025f685e965ac9ee1cd35ff3636c8554d9939d2.zip |
kern: Improve assertions and panics.
* kern/assert.h (Assert): Add function argument.
(assert): Supply function argument.
* kern/debug.c (Assert): Add function argument. Unify message format.
(panic): Rename to 'Panic', add location information.
* kern/debug.h (panic): Rename, and add a macro version that supplies
the location.
* linux/dev/include/linux/kernel.h: Use the new panic macro.
Diffstat (limited to 'kern/sched_prim.c')
0 files changed, 0 insertions, 0 deletions