X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fintr-stubs.pl;h=c333260eef7a812e4262e783e968fa0a342fe99c;hb=f6580e9ad405b519dbe85027691bf3c66074b0a4;hp=22eaf59d339f4ee216e77cf9938f82140a5f6b70;hpb=6c5c6fdfe80bad40c90c19b67f00226610d59a38;p=pintos-anon diff --git a/src/threads/intr-stubs.pl b/src/threads/intr-stubs.pl index 22eaf59..c333260 100755 --- a/src/threads/intr-stubs.pl +++ b/src/threads/intr-stubs.pl @@ -1,7 +1,7 @@ #! /usr/bin/perl print <<'EOF'; -#include "loader.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