cleaner swtch.S
This commit is contained in:
parent
228e500a0c
commit
c100d9ee2d
4 changed files with 31 additions and 41 deletions
2
defs.h
2
defs.h
|
|
@ -107,7 +107,7 @@ void wakeup(void*);
|
|||
void yield(void);
|
||||
|
||||
// swtch.S
|
||||
void swtch(struct context*, struct context*);
|
||||
void swtch(struct context**, struct context**);
|
||||
|
||||
// spinlock.c
|
||||
void acquire(struct spinlock*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue