X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fintr-stubs.pl;h=c333260eef7a812e4262e783e968fa0a342fe99c;hb=38c5696bd616816306e9ae43fcb1f735dea916f3;hp=472b125b316d5176d567b81616c19335f5dd38e2;hpb=1ef354f070fc0389e697be0d2d2553f5a87934ae;p=pintos-anon diff --git a/src/threads/intr-stubs.pl b/src/threads/intr-stubs.pl index 472b125..c333260 100755 --- a/src/threads/intr-stubs.pl +++ b/src/threads/intr-stubs.pl @@ -1,7 +1,7 @@ #! /usr/bin/perl print <<'EOF'; -#include "mmu.h" +#include "threads/loader.h" .data .globl intr_stubs @@ -42,7 +42,7 @@ intr_entry: movl %eax, %ds movl %eax, %es - # Call handler. + # Call interrupt handler. pushl %esp .globl intr_handler call intr_handler @@ -55,5 +55,7 @@ intr_exit: popl %es popl %ds addl $8, %esp + + # Return to caller. iret EOF