summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mp.c3
-rw-r--r--syscall.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/mp.c b/mp.c
index 7a0a676..59beda3 100644
--- a/mp.c
+++ b/mp.c
@@ -196,7 +196,8 @@ mp_bcpu(void)
extern void mpmain(void);
-#define APBOOTCODE 0x7000 // XXX hack
+// Write bootstrap code to unused memory at 0x7000.
+#define APBOOTCODE 0x7000
void
mp_startthem(void)
diff --git a/syscall.c b/syscall.c
index 166bf4b..ee22d09 100644
--- a/syscall.c
+++ b/syscall.c
@@ -168,7 +168,7 @@ syscall(void)
break;
default:
cprintf("unknown sys call %d\n", num);
- // XXX fault
+ // Maybe kill the process?
break;
}
cp->tf->eax = ret;