ptos: ps: Add new VAS per-process
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#ifndef _PS_PROCESS_H_
|
||||
#define _PS_PROCESS_H_ 1
|
||||
|
||||
#include <hal/mmu.h>
|
||||
#include <ptapi/status.h>
|
||||
#include <ptdef.h>
|
||||
|
||||
@@ -27,11 +28,13 @@
|
||||
* @Name: Name of process
|
||||
* @Pid: Process ID
|
||||
* @Flags: Initialization flags
|
||||
* @Vas: Virtual address space of process
|
||||
*/
|
||||
typedef struct _PROCESS {
|
||||
CHAR Name[PS_NAME_MAX];
|
||||
UQUAD Pid;
|
||||
ULONG Flags;
|
||||
MMU_VAS Vas;
|
||||
} PROCESS;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user