Skip to content
Snippets Groups Projects
syscall.c 357 B
Newer Older
#include "kernel.h"
#include "syscall.h"

int Create (int priority, void (*code)()) {
antnh6@gmail.com's avatar
antnh6@gmail.com committed
    // assemble args into a Request struct
    // then call syscallHandler and pass it that Request struct whih will invoke the appropriate kernel handler
    // return TaskID of new Task