mirror of
https://github.com/drasko/codezero.git
synced 2026-01-17 05:13:16 +01:00
Half-way through prepare_capability()
This commit is contained in:
@@ -52,8 +52,25 @@ struct container {
|
||||
struct pager *pager; /* Boot-time array of pagers */
|
||||
};
|
||||
|
||||
enum cinfo_target_type = {
|
||||
/* Current container as a whole */
|
||||
CURRENT_CONT = 1,
|
||||
|
||||
/* Current pager's address space */
|
||||
CURRENT_PAGER_SPACE = 2,
|
||||
|
||||
/* Another container as a whole */
|
||||
ANOTHER_CONT = 3,
|
||||
|
||||
/* Another container's pager as a thread */
|
||||
ANOTHER_PAGER = 4,
|
||||
};
|
||||
|
||||
|
||||
/* Compact, raw capability structure */
|
||||
struct cap_info {
|
||||
unsigned int target_type;
|
||||
l4id_t target;
|
||||
unsigned int type;
|
||||
u32 access;
|
||||
unsigned long start;
|
||||
|
||||
Reference in New Issue
Block a user