thread: Do not disable interrupts unnecessarily while initializing stack.
[pintos-anon] / src / threads / intr-stubs.h
index debeaabc075ab3668b78271d028e703481e1b113..9ceba157e27e57d74a9096a2f35f0ff3008ffb10 100644 (file)
@@ -1,13 +1,12 @@
-#ifndef THREADS_INTR-STUBS_H
-#define THREADS_INTR-STUBS_H
+#ifndef THREADS_INTR_STUBS_H
+#define THREADS_INTR_STUBS_H
 
 /* Interrupt stubs.
 
    These are little snippets of code in intr-stubs.S, one for
-   each of the 256 possible x86 interrupts.  They just push the
-   interrupt vector number on the stack (and, for interrupts that
-   don't have an error code, a fake error code), then jump to
-   intr_entry().
+   each of the 256 possible x86 interrupts.  Each one does a
+   little bit of stack manipulation, then jumps to intr_entry().
+   See intr-stubs.S for more information.
 
    This array points to each of the interrupt stub entry points
    so that intr_init() can easily find them. */