Module os::syscall::process

source ·
Expand description

Process management syscalls

Structs

Functions

  • task exits and submit an exit code
  • YOUR JOB: get time with second and microsecond HINT: You might reimplement it with virtual memory management. HINT: What if TimeVal is splitted by two pages ?
  • change data segment size
  • YOUR JOB: Finish sys_task_info to pass testcases HINT: You might reimplement it with virtual memory management. HINT: What if TaskInfo is splitted by two pages ?
  • current task gives up resources for other tasks