projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments.
[pintos-anon]
/
src
/
threads
/
interrupt.h
diff --git
a/src/threads/interrupt.h
b/src/threads/interrupt.h
index 40d7b6e139671b584d54ef7fdd5ce49ed25e11d9..adb7fa99b4a424e116914551c4edb0f3d2d30d20 100644
(file)
--- a/
src/threads/interrupt.h
+++ b/
src/threads/interrupt.h
@@
-1,5
+1,5
@@
-#ifndef
HEADER
_INTERRUPT_H
-#define
HEADER_INTERRUPT_H 1
+#ifndef
THREADS
_INTERRUPT_H
+#define
THREADS_INTERRUPT_H
#include <stdbool.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdint.h>
@@
-36,7
+36,7
@@
struct intr_frame
uint32_t vec_no; /* Interrupt vector number. */
/* Sometimes pushed by the CPU,
uint32_t vec_no; /* Interrupt vector number. */
/* Sometimes pushed by the CPU,
- otherwise
by intrXX_stub for consistency
. */
+ otherwise
for consistency pushed as 0 by intrXX_stub
. */
uint32_t error_code; /* Error code. */
/* Pushed by the CPU.
uint32_t error_code; /* Error code. */
/* Pushed by the CPU.
@@
-59,4
+59,4
@@
void intr_yield_on_return (void);
void intr_dump_frame (const struct intr_frame *);
const char *intr_name (uint8_t vec);
void intr_dump_frame (const struct intr_frame *);
const char *intr_name (uint8_t vec);
-#endif /* interrupt.h */
+#endif /*
threads/
interrupt.h */