Comments.
[pintos-anon] / src / threads / switch.h
index 8a2974fcd999bafde09a9e46bfc274ad6dbde4dd..084a79454936a360cc548606d9ba6d8ce9940b59 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_SWITCH_H
-#define HEADER_SWITCH_H 1
+#ifndef THREADS_SWITCH_H
+#define THREADS_SWITCH_H
 
 #ifndef __ASSEMBLER__
 /* switch_thread()'s stack frame. */
@@ -19,6 +19,7 @@ struct switch_threads_frame
    NEXT's context. */
 struct thread *switch_threads (struct thread *cur, struct thread *next);
 
+/* Stack frame for switch_entry(). */
 struct switch_entry_frame
   {
     void (*eip) (void);
@@ -35,4 +36,4 @@ void switch_thunk (void);
 #define SWITCH_CUR      20
 #define SWITCH_NEXT     24
 
-#endif /* switch.h */
+#endif /* threads/switch.h */