X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fintr-stubs.h;h=9ceba157e27e57d74a9096a2f35f0ff3008ffb10;hb=251b51f76f0594460e1cfbf2c05576fb445b861b;hp=debeaabc075ab3668b78271d028e703481e1b113;hpb=6916b246f3be8c72d6e77fd98c4a1447fd2c1de7;p=pintos-anon diff --git a/src/threads/intr-stubs.h b/src/threads/intr-stubs.h index debeaab..9ceba15 100644 --- a/src/threads/intr-stubs.h +++ b/src/threads/intr-stubs.h @@ -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. */