summaryrefslogtreecommitdiff
path: root/lapic.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2011-08-15 20:11:13 -0400
committerFrans Kaashoek <[email protected]>2011-08-15 20:11:13 -0400
commita4b213cf49cccc8287e638badaac10d0521d5886 (patch)
tree095d550b12eeb48d224193a7401e6793fe7c1d50 /lapic.c
parent944964685325aa63a59e5e84d8fd0ba5af45ec8c (diff)
downloadxv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.tar.gz
xv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.tar.bz2
xv6-labs-a4b213cf49cccc8287e638badaac10d0521d5886.zip
Avoid "boot" in xv6
Diffstat (limited to 'lapic.c')
-rw-r--r--lapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapic.c b/lapic.c
index 7554f73..ef006a0 100644
--- a/lapic.c
+++ b/lapic.c
@@ -132,7 +132,7 @@ microdelay(int us)
#define IO_RTC 0x70
-// Start additional processor running bootstrap code at addr.
+// Start additional processor running entry code at addr.
// See Appendix B of MultiProcessor Specification.
void
@@ -158,7 +158,7 @@ lapicstartap(uchar apicid, uint addr)
lapicw(ICRLO, INIT | LEVEL);
microdelay(100); // should be 10ms, but too slow in Bochs!
- // Send startup IPI (twice!) to enter bootstrap code.
+ // Send startup IPI (twice!) to enter code.
// Regular hardware is supposed to only accept a STARTUP
// when it is in the halted state due to an INIT. So the second
// should be ignored, but it is part of the official Intel algorithm.