[glacier] Move LinkedList to glacier.

This commit is contained in:
Drew Galbraith 2023-06-26 15:01:55 -07:00
parent 08abe776a4
commit 64d355b20d
15 changed files with 28 additions and 46 deletions

View file

@ -1,6 +1,7 @@
#include "syscall/process.h"
#include "capability/capability.h"
#include "debug/debug.h"
#include "scheduler/process_manager.h"
#include "scheduler/scheduler.h"

View file

@ -3,6 +3,7 @@
#include <stdint.h>
#include "common/msr.h"
#include "debug/debug.h"
#include "scheduler/scheduler.h"
#include "syscall/address_space.h"
#include "syscall/capability.h"

View file

@ -1,6 +1,7 @@
#include "syscall/thread.h"
#include "capability/capability.h"
#include "debug/debug.h"
#include "scheduler/scheduler.h"
glcr::ErrorCode ThreadCreate(ZThreadCreateReq* req) {
@ -29,6 +30,7 @@ glcr::ErrorCode ThreadExit(ZThreadExitReq*) {
auto curr_thread = gScheduler->CurrentThread();
curr_thread->Exit();
panic("Returned from thread exit");
UNREACHABLE
}
glcr::ErrorCode ThreadWait(ZThreadWaitReq* req) {