Changeset 9aa72b4 in mainline
- Timestamp:
- 2006-03-22T22:27:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 281b607
- Parents:
- 2802767
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r2802767 r9aa72b4 141 141 generic/src/synch/semaphore.c \ 142 142 generic/src/synch/waitq.c \ 143 generic/src/synch/futex.c \ 143 144 generic/src/smp/ipi.c \ 144 145 generic/src/ipc/ipc.c \ -
generic/include/syscall/syscall.h
r2802767 r9aa72b4 34 34 SYS_THREAD_CREATE, 35 35 SYS_THREAD_EXIT, 36 SYS_FUTEX_SLEEP, 37 SYS_FUTEX_WAKEUP, 36 38 SYS_MMAP, 37 39 SYS_MREMAP, -
generic/src/main/main.c
r2802767 r9aa72b4 51 51 #include <mm/slab.h> 52 52 #include <synch/waitq.h> 53 #include <synch/futex.h> 53 54 #include <arch/arch.h> 54 55 #include <arch.h> … … 65 66 66 67 config_t config; /**< Global configuration structure. */ 67 init_t init = {0}; /**< Initial user-space tasks */68 init_t init = {0}; /**< Initial user-space tasks */ 68 69 69 70 context_t ctx; … … 144 145 task_t *k; 145 146 thread_t *t; 147 count_t i; 146 148 147 149 the_initialize(THE); 150 148 151 /* 149 152 * kconsole data structures must be initialized very early … … 188 191 task_init(); 189 192 thread_init(); 190 191 count_t i;193 futex_init(); 194 192 195 for (i = 0; i < init.cnt; i++) 193 196 printf("init[%d].addr=%P, init[%d].size=%d\n", i, init.tasks[i].addr, i, init.tasks[i].size); 194 197 195 198 ipc_init(); 199 196 200 /* 197 201 * Create kernel task. -
generic/src/syscall/syscall.c
r2802767 r9aa72b4 37 37 #include <debug.h> 38 38 #include <ipc/sysipc.h> 39 #include <synch/futex.h> 39 40 40 41 static __native sys_io(int fd, const void * buf, size_t count) { … … 77 78 sys_thread_create, 78 79 sys_thread_exit, 80 sys_futex_sleep, 81 sys_futex_wakeup, 79 82 sys_mmap, 80 83 sys_mremap,
Note:
See TracChangeset
for help on using the changeset viewer.