projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't make interrupt stubs global symbols.
[pintos-anon]
/
src
/
threads
/
intr-stubs.S
diff --git
a/src/threads/intr-stubs.S
b/src/threads/intr-stubs.S
index b34c142a59625b0ccbc5fe3cf9616da95deb4a57..adb674e0f2e36755d95066e2156f53c2876d2ca4 100644
(file)
--- a/
src/threads/intr-stubs.S
+++ b/
src/threads/intr-stubs.S
@@
-44,7
+44,7
@@
intr_entry:
stack, and returns to the caller.
This is a separate function because it is called directly when
stack, and returns to the caller.
This is a separate function because it is called directly when
- we launch a new user process (see
execute_thread
() in
+ we launch a new user process (see
start_process
() in
userprog/process.c). */
.globl intr_exit
.func intr_exit
userprog/process.c). */
.globl intr_exit
.func intr_exit
@@
-111,7
+111,6
@@
intr_stubs:
or `REAL', if the CPU pushes an error code for us. */
#define STUB(NUMBER, TYPE) \
.text; \
or `REAL', if the CPU pushes an error code for us. */
#define STUB(NUMBER, TYPE) \
.text; \
-.globl intr##NUMBER##_stub; \
.func intr##NUMBER##_stub; \
intr##NUMBER##_stub: \
TYPE; \
.func intr##NUMBER##_stub; \
intr##NUMBER##_stub: \
TYPE; \