/* * SPDX-License-Identifier: BlueOak-1.0.0 */ use { super::{CapError, Capability, TryFrom}, crate::capdef, paste::paste, register::{register_bitfields, LocalRegisterCopy}, }; //===================== // Cap definition //===================== register_bitfields! { u128, ThreadCap [ Type OFFSET(0) NUMBITS(6) [ value = 12 ], TCBPtr OFFSET(64) NUMBITS(48) [], ] } capdef! { Thread } //===================== // Cap implementation //===================== impl ThreadCapability {}