From eabc36845a0e06959c2a7135d4231ea765487da1 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Fri, 27 Nov 2020 23:51:48 +0200 Subject: [PATCH] wip objs --- nucleus/src/arch/aarch64/objects.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nucleus/src/arch/aarch64/objects.rs b/nucleus/src/arch/aarch64/objects.rs index c9e46fc..461905b 100644 --- a/nucleus/src/arch/aarch64/objects.rs +++ b/nucleus/src/arch/aarch64/objects.rs @@ -37,6 +37,7 @@ register_bitfields! { Notification [ BoundTCB OFFSET(16) NUMBITS(48) [], MsgId OFFSET(64) NUMBITS(64) [], + QueueHead OFFSET(144) NUMBITS(48) [], QueueTail OFFSET(192) NUMBITS(48) [], State OFFSET(254) NUMBITS(2) [ @@ -63,7 +64,7 @@ enum MemoryKind { trait Untyped { // Uses T::SIZE_BITS to properly size the resulting object // in some cases size_bits must be passed as argument though... - fn retype(target_cap: CapNodeRootedPath, target_cap_offset: usize, num_objects: usize) -> Result<()>; // @todo return an array of caps? + fn retype(target_cap: CapNodeRootedPath, target_cap_offset: usize, num_objects: usize) -> Result; // @todo return an array of caps? } // MMU