mirror of
https://github.com/drasko/codezero.git
synced 2026-02-18 12:53:19 +01:00
Capabilities for quantitative resources working.
Status: - Capability initialization is a bit hacky with dummy current etc. - All container caps belong to the pager - Tasks refer to their pager's capabilities for mutex allocation - Hacky. - Kernel container keeps quantitative caps and memory caps in separate lists - Hacky. These will all evolve and get fixed.
This commit is contained in:
@@ -25,7 +25,6 @@ struct boot_resources {
|
||||
/* Kernel resource usage */
|
||||
int nkpmds;
|
||||
int nkpgds;
|
||||
int nkmemcaps;
|
||||
int nkcaps;
|
||||
};
|
||||
|
||||
@@ -73,7 +72,7 @@ struct kernel_container {
|
||||
struct cap_list devmem_free;
|
||||
|
||||
/* All other caps that belong to the kernel */
|
||||
struct cap_list other_caps;
|
||||
struct cap_list non_memory_caps;
|
||||
|
||||
struct mem_cache *pgd_cache;
|
||||
struct mem_cache *pmd_cache;
|
||||
|
||||
Reference in New Issue
Block a user