mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
kernel: ldt support
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
|
||||
#include <kernel/thread.h>
|
||||
|
||||
#ifdef __x86_64__
|
||||
#include <arch/ldt.h>
|
||||
#endif
|
||||
|
||||
#define PROC_STATE_NORMAL 0
|
||||
#define PROC_STATE_ZOMBIE 1
|
||||
|
||||
@@ -46,6 +50,10 @@ typedef struct proc_t {
|
||||
spinlock_t exiting;
|
||||
int nice;
|
||||
|
||||
#ifdef __x86_64__
|
||||
ldt_entry_t *ldt;
|
||||
#endif
|
||||
|
||||
spinlock_t jobctllock;
|
||||
struct {
|
||||
// NULL if this process is leader
|
||||
|
||||
Reference in New Issue
Block a user