Changeset aaa3c457 in mainline for kernel/generic/src
- Timestamp:
- 2018-11-12T10:36:10Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a43dfcb
- Parents:
- 3ce781f4 (diff), 6874bd2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-12 10:36:10)
- git-committer:
- GitHub <noreply@…> (2018-11-12 10:36:10)
- Location:
- kernel/generic/src
- Files:
-
- 1 added
- 1 deleted
- 4 edited
-
main/main.c (modified) (2 diffs)
-
proc/task.c (modified) (2 diffs)
-
proc/thread.c (modified) (2 diffs)
-
synch/futex.c (deleted)
-
synch/syswaitq.c (added)
-
syscall/syscall.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r3ce781f4 raaa3c457 77 77 #include <mm/reserve.h> 78 78 #include <synch/waitq.h> 79 #include <synch/ futex.h>79 #include <synch/syswaitq.h> 80 80 #include <arch/arch.h> 81 81 #include <arch.h> … … 278 278 task_init(); 279 279 thread_init(); 280 futex_init();280 sys_waitq_init(); 281 281 282 282 sysinfo_set_item_data("boot_args", NULL, bargs, str_size(bargs) + 1); -
kernel/generic/src/proc/task.c
r3ce781f4 raaa3c457 43 43 #include <mm/slab.h> 44 44 #include <atomic.h> 45 #include <synch/futex.h>46 45 #include <synch/spinlock.h> 47 46 #include <synch/waitq.h> … … 251 250 } 252 251 253 futex_task_init(task);254 255 252 irq_spinlock_lock(&tasks_lock, true); 256 253 -
kernel/generic/src/proc/thread.c
r3ce781f4 raaa3c457 48 48 #include <synch/spinlock.h> 49 49 #include <synch/waitq.h> 50 #include <synch/syswaitq.h> 50 51 #include <cpu.h> 51 52 #include <str.h> … … 519 520 */ 520 521 ipc_cleanup(); 521 futex_task_cleanup();522 sys_waitq_task_cleanup(); 522 523 LOG("Cleanup of task %" PRIu64 " completed.", TASK->taskid); 523 524 } -
kernel/generic/src/syscall/syscall.c
r3ce781f4 raaa3c457 46 46 #include <interrupt.h> 47 47 #include <ipc/sysipc.h> 48 #include <synch/futex.h>49 48 #include <synch/smc.h> 49 #include <synch/syswaitq.h> 50 50 #include <ddi/ddi.h> 51 51 #include <ipc/event.h> … … 136 136 137 137 /* Synchronization related syscalls. */ 138 [SYS_FUTEX_SLEEP] = (syshandler_t) sys_futex_sleep, 139 [SYS_FUTEX_WAKEUP] = (syshandler_t) sys_futex_wakeup, 138 [SYS_WAITQ_CREATE] = (syshandler_t) sys_waitq_create, 139 [SYS_WAITQ_SLEEP] = (syshandler_t) sys_waitq_sleep, 140 [SYS_WAITQ_WAKEUP] = (syshandler_t) sys_waitq_wakeup, 141 [SYS_WAITQ_DESTROY] = (syshandler_t) sys_waitq_destroy, 140 142 [SYS_SMC_COHERENCE] = (syshandler_t) sys_smc_coherence, 141 143
Note:
See TracChangeset
for help on using the changeset viewer.
