Skip to content

Commit

Permalink
tool: add information about boot domain cap
Browse files Browse the repository at this point in the history
This adds the constant DOMAIN_CAP_ADDRESS which specifies the slot in
the boot CSpace where the domain cap resides.

Signed-off-by: James Archer <[email protected]>
  • Loading branch information
JE-Archer committed Jul 17, 2024
1 parent 027e372 commit 442b41e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tool/microkit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const INIT_CNODE_CAP_ADDRESS: u64 = 2;
const INIT_VSPACE_CAP_ADDRESS: u64 = 3;
const IRQ_CONTROL_CAP_ADDRESS: u64 = 4; // Singleton
const INIT_ASID_POOL_CAP_ADDRESS: u64 = 6;
const DOMAIN_CAP_ADDRESS: u64 = 11;

// const ASID_CONTROL_CAP_ADDRESS: u64 = 5; // Singleton
// const IO_PORT_CONTROL_CAP_ADDRESS: u64 = 7; // Null on this platform
Expand Down Expand Up @@ -776,6 +777,7 @@ fn build_system(
cap_address_names.insert(INIT_VSPACE_CAP_ADDRESS, "VSpace: init".to_string());
cap_address_names.insert(INIT_ASID_POOL_CAP_ADDRESS, "ASID Pool: init".to_string());
cap_address_names.insert(IRQ_CONTROL_CAP_ADDRESS, "IRQ Control".to_string());
cap_address_names.insert(DOMAIN_CAP_ADDRESS, "Domain Cap".to_string());

let system_cnode_bits = system_cnode_size.ilog2() as u64;

Expand Down

0 comments on commit 442b41e

Please sign in to comment.