mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 08:13:15 +01:00
Removed linux linked list dependency.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/* A simple page table with a reference count */
|
||||
struct address_space {
|
||||
l4id_t spid;
|
||||
struct list_head list;
|
||||
struct link list;
|
||||
struct mutex lock;
|
||||
pgd_table_t *pgd;
|
||||
int ktcb_refs;
|
||||
|
||||
@@ -52,7 +52,7 @@ struct ktcb {
|
||||
syscall_context_t *syscall_regs;
|
||||
|
||||
/* Runqueue related */
|
||||
struct list_head rq_list;
|
||||
struct link rq_list;
|
||||
struct runqueue *rq;
|
||||
|
||||
/* Thread information */
|
||||
@@ -74,7 +74,7 @@ struct ktcb {
|
||||
|
||||
u32 ts_need_resched; /* Scheduling flag */
|
||||
enum task_state state;
|
||||
struct list_head task_list; /* Global task list. */
|
||||
struct link task_list; /* Global task list. */
|
||||
|
||||
/* UTCB related, see utcb.txt in docs */
|
||||
unsigned long utcb_address; /* Virtual ref to task's utcb area */
|
||||
|
||||
Reference in New Issue
Block a user