Changeset 70d28e8 in mainline


Ignore:
Timestamp:
2019-08-07T04:26:01Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
62273d1
Parents:
1be7bee
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-07 21:49:27)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:26:01)
Message:

taskman: tester plugin for wait flags combinations
Conflicts:

uspace/app/tester/Makefile
uspace/app/tester/tester.c
uspace/app/tester/tester.h

Location:
uspace
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    r1be7bee r70d28e8  
    6666        mm/pager1.c \
    6767        hw/serial/serial1.c \
    68         chardev/chardev1.c
     68        chardev/chardev1.c \
     69        proc/dummy_task.c \
     70        proc/task_wait.c
    6971
    7072include $(USPACE_PREFIX)/Makefile.common
  • uspace/app/tester/tester.c

    r1be7bee r70d28e8  
    7878#include "hw/serial/serial1.def"
    7979#include "chardev/chardev1.def"
    80         { NULL, NULL, NULL, false }
     80#include "proc/dummy_task.def"
     81#include "proc/task_wait.def"
     82        {NULL, NULL, NULL, false}
    8183};
    8284
  • uspace/app/tester/tester.h

    r1be7bee r70d28e8  
    111111extern const char *test_devman2(void);
    112112extern const char *test_chardev1(void);
     113extern const char *test_proc_dummy_task(void);
     114extern const char *test_proc_task_wait(void);
    113115
    114116extern test_t tests[];
  • uspace/lib/c/include/task.h

    r1be7bee r70d28e8  
    5151} task_wait_t;
    5252
     53static inline void task_wait_set(task_wait_t *wait, int flags)
     54{
     55        wait->flags = flags;
     56}
    5357
    5458extern task_id_t task_get_id(void);
Note: See TracChangeset for help on using the changeset viewer.