diff --git a/nucleus/src/arch/aarch64/objects.rs b/nucleus/src/arch/aarch64/objects.rs index 461905b..e3f4f43 100644 --- a/nucleus/src/arch/aarch64/objects.rs +++ b/nucleus/src/arch/aarch64/objects.rs @@ -266,7 +266,10 @@ trait Thread { // @todo <> -struct TCB {} +struct TCB { + capability: u128, // should actually be a CapPath here - this is the argument to + // Thread.read_registers(cap, ... call for example. +} impl Thread for TCB {} impl KernelObject for TCB { @@ -319,7 +322,7 @@ impl API for Kernel {} trait DomainSet { // ?? - fn set(domain, thread: TCB); + fn set(domain: Dom, thread: TCB); } // Virtualisation