comparison cp/guest/init.c @ 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 31525cf0c76b
children
comparison
equal deleted inserted replaced
617:a2bf150177bd 618:535aec703236
80 static void free_vcpu(struct virt_sys *sys) 80 static void free_vcpu(struct virt_sys *sys)
81 { 81 {
82 struct virt_cpu *cpu = sys->cpu; 82 struct virt_cpu *cpu = sys->cpu;
83 83
84 if (sys->task) { 84 if (sys->task) {
85 /* FIXME: kill the vcpu task */ 85 FIXME("kill the vcpu task");
86 } 86 }
87 87
88 assert(list_empty(&cpu->int_io[0])); 88 assert(list_empty(&cpu->int_io[0]));
89 assert(list_empty(&cpu->int_io[1])); 89 assert(list_empty(&cpu->int_io[1]));
90 assert(list_empty(&cpu->int_io[2])); 90 assert(list_empty(&cpu->int_io[2]));