Changeset 0b5203b in mainline for kernel/generic/src


Ignore:
Timestamp:
2018-11-11T15:47:39Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a18d5b
Parents:
9e889f6
git-author:
Jakub Jermar <jakub@…> (2018-11-10 15:05:04)
git-committer:
Jakub Jermar <jakub@…> (2018-11-11 15:47:39)
Message:

Remove futex support from kernel

Location:
kernel/generic/src
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    r9e889f6 r0b5203b  
    7777#include <mm/reserve.h>
    7878#include <synch/waitq.h>
    79 #include <synch/futex.h>
    8079#include <synch/syswaitq.h>
    8180#include <arch/arch.h>
     
    279278        task_init();
    280279        thread_init();
    281         futex_init();
    282280        sys_waitq_init();
    283281
  • kernel/generic/src/proc/task.c

    r9e889f6 r0b5203b  
    4343#include <mm/slab.h>
    4444#include <atomic.h>
    45 #include <synch/futex.h>
    4645#include <synch/spinlock.h>
    4746#include <synch/waitq.h>
     
    251250        }
    252251
    253         futex_task_init(task);
    254 
    255252        irq_spinlock_lock(&tasks_lock, true);
    256253
  • kernel/generic/src/proc/thread.c

    r9e889f6 r0b5203b  
    520520                         */
    521521                        ipc_cleanup();
    522                         futex_task_cleanup();
    523522                        sys_waitq_task_cleanup();
    524523                        LOG("Cleanup of task %" PRIu64 " completed.", TASK->taskid);
  • kernel/generic/src/syscall/syscall.c

    r9e889f6 r0b5203b  
    4646#include <interrupt.h>
    4747#include <ipc/sysipc.h>
    48 #include <synch/futex.h>
    4948#include <synch/smc.h>
    5049#include <synch/syswaitq.h>
     
    140139        [SYS_WAITQ_SLEEP] = (syshandler_t) sys_waitq_sleep,
    141140        [SYS_WAITQ_WAKEUP] = (syshandler_t) sys_waitq_wakeup,
    142         [SYS_FUTEX_SLEEP] = (syshandler_t) sys_futex_sleep,
    143         [SYS_FUTEX_WAKEUP] = (syshandler_t) sys_futex_wakeup,
    144141        [SYS_SMC_COHERENCE] = (syshandler_t) sys_smc_coherence,
    145142
Note: See TracChangeset for help on using the changeset viewer.