mirror of
https://github.com/drasko/codezero.git
synced 2026-03-04 03:23:16 +01:00
Capability-enabled kernel running 2_posix test OK.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
static struct capability cap_array[30];
|
||||
|
||||
#if 0
|
||||
struct cap_group {
|
||||
struct cap_list virtmem;
|
||||
struct cap_list physmem;
|
||||
@@ -73,6 +74,7 @@ void cap_grant_single(struct capability *orig, struct capability *share, l4id_t
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void cap_print(struct capability *cap)
|
||||
{
|
||||
@@ -151,7 +153,7 @@ void cap_print(struct capability *cap)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
int cap_read_all(void)
|
||||
int caps_read_all(void)
|
||||
{
|
||||
int ncaps;
|
||||
int err;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
#if 0
|
||||
|
||||
int mutex_user_thread(void *arg)
|
||||
{
|
||||
@@ -215,5 +216,5 @@ out_err:
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user