summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
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