From a4b213cf49cccc8287e638badaac10d0521d5886 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Mon, 15 Aug 2011 20:11:13 -0400 Subject: Avoid "boot" in xv6 --- lapic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lapic.c') 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. -- cgit v1.2.3