Rev 534 | Rev 1066 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 938 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | #include <arch/types.h> |
30 | #include <arch/types.h> |
| 31 | #include <proc/thread.h> |
31 | #include <proc/thread.h> |
| 32 | #include <userspace.h> |
32 | #include <userspace.h> |
| 33 | #include <print.h> |
33 | #include <print.h> |
| 34 | 34 | ||
| 35 | - | ||
| 36 | void uinit(void *arg) |
35 | void uinit(void *arg) |
| 37 | { |
36 | { |
| 38 | printf("USER task, uinit thread: kernel mode\n"); |
37 | printf("USER task, uinit thread: kernel mode\n"); |
| 39 | userspace(); |
38 | userspace((__address)(arg)); |
| 40 | } |
39 | } |