git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: refine symbolic link support.
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
process.h
diff --git
a/lunaix-os/includes/lunaix/process.h
b/lunaix-os/includes/lunaix/process.h
index ab5dde9d64601be5b083c147c28f1339e182d203..27137a103db53763d07f7c28d02b5f9a5107df29 100644
(file)
--- a/
lunaix-os/includes/lunaix/process.h
+++ b/
lunaix-os/includes/lunaix/process.h
@@
-26,12
+26,6
@@
#define PROC_FINPAUSE 1
#define PROC_FINPAUSE 1
-struct proc_mm
-{
- heap_context_t u_heap;
- vm_regions_t regions;
-};
-
struct proc_sigstate
{
isr_param proc_regs;
struct proc_sigstate
{
isr_param proc_regs;
@@
-58,9
+52,9
@@
struct proc_info
pid_t pid; // offset = 0
struct proc_info* parent; // offset = 4
isr_param intr_ctx; // offset = 8
pid_t pid; // offset = 0
struct proc_info* parent; // offset = 4
isr_param intr_ctx; // offset = 8
- uintptr_t ustack_top; // offset = 84
- void* page_table; // offset = 88
- void* fxstate; // offset = 92
+ uintptr_t ustack_top; // offset = 84
-> 56 -> 60
+ void* page_table; // offset = 88
-> 60 -> 64
+ void* fxstate; // offset = 92
-> 64 -> 68
/* ---- critical section end ---- */
/* ---- critical section end ---- */