summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-30 11:16:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:06:55 +0900
commit5eb7693cd909511308b6c2828686d51375a3506a (patch)
tree63b1a2d4673f76dfa220b89c91b81fa0f2b9ef06 /i386
parentfc4381de43acbf602e30ab31f73e47230caf2638 (diff)
Add comments after endifs
* device/cons.c [MACH_KMSG]: Likewise. [CONSBUFSIZE > 0]: Likewise. * i386/i386/trap.c [MACH_KDB]: Likewise. [MACH_PV_PAGETABLES]: Likewise. * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. * kern/act.c [ACTWATCH]: Likewise. * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. * kern/task.c [FAST_TAS]: Likewise.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/trap.c8
-rw-r--r--i386/i386at/kd.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index e104e12..ccbc94c 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -400,7 +400,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode);
if (kdb_trap(type, regs->err, regs))
return 0;
}
-#endif
+#endif /* MACH_KDB */
exc = EXC_BREAKPOINT;
code = EXC_I386_SGL;
break;
@@ -422,7 +422,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode);
return 0;
}
}
-#endif
+#endif /* MACH_KDB */
exc = EXC_BREAKPOINT;
code = EXC_I386_BPT;
break;
@@ -521,7 +521,7 @@ printf("user trap %d error %d sub %08x\n", type, code, subcode);
}
return 0;
}
-#endif
+#endif /* MACH_PV_PAGETABLES */
case T_FLOATING_POINT_ERROR:
fpexterrflt();
@@ -647,4 +647,4 @@ interrupted_pc(t)
iss = USER_REGS(t);
return iss->eip;
}
-#endif /* MACH_PCSAMPLE > 0*/
+#endif /* MACH_PCSAMPLE > 0 */
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 5605257..def8a0c 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -1197,7 +1197,7 @@ kdinit()
screen rather than at the cursor position, so that's where
we should start. */
kd_setpos(ONE_PAGE - ONE_LINE); printf("\n");
-#endif
+#endif /* ENABLE_IMMEDIATE_CONSOLE */
cnsetleds(kd_state = KS_NORMAL);
/* clear the LEDs AFTER we