Redo makefiles.
[pintos-anon] / src / threads / intr-stubs.pl
index 22eaf59d339f4ee216e77cf9938f82140a5f6b70..c333260eef7a812e4262e783e968fa0a342fe99c 100755 (executable)
@@ -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