cp: define a FIXME macro that leaves a sclp message
commit4a6115c97bbc6af6dd56778ab4de33b2fd7ea6e4
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Wed, 14 Dec 2011 03:20:50 +0000 (13 22:20 -0500)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Wed, 14 Dec 2011 03:20:50 +0000 (13 22:20 -0500)
treee4b19888588ae873985bd5f70a35712663c5ec88
parent074f3b5c97bd4ece452299171764195ff3c5d365
cp: define a FIXME macro that leaves a sclp message

There are far too many fixmes in the code.  Sadly, the compiler simply
discards them.  This usually isn't an issue until one accidentally hits a
"weird" bug which just turns out to be an unhandled (but documented) case in
another part of the code.  Using a macro instead of a comment will let the
compiler string-ify the text, and then at runtime use SCLP to print it out.
This will immediatelly point at problem areas.  So, keep an eye on SCLP from
now on :)

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
20 files changed:
cp/drivers/console.c
cp/drivers/spooldev.c
cp/drivers/vdevice.c
cp/fs/bcache.c
cp/fs/edf.c
cp/guest/attach.c
cp/guest/exception.c
cp/guest/init.c
cp/guest/instruction_priv.c
cp/guest/reset.c
cp/guest/run.c
cp/include/nucleus.h
cp/mm/dat.c
cp/mm/slab.c
cp/nucleus/config.y
cp/nucleus/direct.c
cp/nucleus/direct.y
cp/nucleus/io.c
cp/shell/cmd_query.c
cp/shell/init.c