projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change bitmap interface, update references.
[pintos-anon]
/
src
/
threads
/
intr-stubs.pl
diff --git
a/src/threads/intr-stubs.pl
b/src/threads/intr-stubs.pl
index d9e0dd35508fee62e9d3f8b758525bf4855c82c6..c333260eef7a812e4262e783e968fa0a342fe99c 100755
(executable)
--- a/
src/threads/intr-stubs.pl
+++ b/
src/threads/intr-stubs.pl
@@
-1,7
+1,7
@@
#! /usr/bin/perl
print <<'EOF';
#! /usr/bin/perl
print <<'EOF';
-#include "
gdt
.h"
+#include "
threads/loader
.h"
.data
.globl intr_stubs
.data
.globl intr_stubs
@@
-42,7
+42,7
@@
intr_entry:
movl %eax, %ds
movl %eax, %es
movl %eax, %ds
movl %eax, %es
- # Call handler.
+ # Call
interrupt
handler.
pushl %esp
.globl intr_handler
call intr_handler
pushl %esp
.globl intr_handler
call intr_handler
@@
-55,5
+55,7
@@
intr_exit:
popl %es
popl %ds
addl $8, %esp
popl %es
popl %ds
addl $8, %esp
+
+ # Return to caller.
iret
EOF
iret
EOF