-#ifndef HEADER_SWITCH_H
-#define HEADER_SWITCH_H 1
+#ifndef THREADS_SWITCH_H
+#define THREADS_SWITCH_H
#ifndef __ASSEMBLER__
/* switch_thread()'s stack 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);
#define SWITCH_CUR 20
#define SWITCH_NEXT 24
-#endif /* switch.h */
+#endif /* threads/switch.h */