Mercurial > hvf > hvf-old
comparison cp/nucleus/config.y @ 618:535aec703236
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>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Tue, 13 Dec 2011 22:20:50 -0500 |
parents | 7d7bdce419ed |
children |
comparison
equal
deleted
inserted
replaced
617:a2bf150177bd | 618:535aec703236 |
---|---|
58 static void __rdev(u64 devnum, u64 devtype) | 58 static void __rdev(u64 devnum, u64 devtype) |
59 { | 59 { |
60 assert(devtype <= 0xffff); | 60 assert(devtype <= 0xffff); |
61 assert(devnum <= 0xffff); | 61 assert(devnum <= 0xffff); |
62 | 62 |
63 /* FIXME: save the <devnum,devtype> pair */ | 63 FIXME("save the <devnum,devtype> pair"); |
64 } | 64 } |
65 | 65 |
66 static void __oper_con(u64 devnum) | 66 static void __oper_con(u64 devnum) |
67 { | 67 { |
68 assert(devnum <= 0xffff); | 68 assert(devnum <= 0xffff); |