projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move TODO.
[pintos-anon]
/
src
/
threads
/
switch.h
diff --git
a/src/threads/switch.h
b/src/threads/switch.h
index 8a2974fcd999bafde09a9e46bfc274ad6dbde4dd..084a79454936a360cc548606d9ba6d8ce9940b59 100644
(file)
--- a/
src/threads/switch.h
+++ b/
src/threads/switch.h
@@
-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. */
#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);
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);
struct switch_entry_frame
{
void (*eip) (void);
@@
-35,4
+36,4
@@
void switch_thunk (void);
#define SWITCH_CUR 20
#define SWITCH_NEXT 24
#define SWITCH_CUR 20
#define SWITCH_NEXT 24
-#endif /* switch.h */
+#endif /*
threads/
switch.h */