From 4e16f8fc17be13598e6bafee26edc69c76fa56a2 Mon Sep 17 00:00:00 2001 From: Mohit D Patel Date: Thu, 8 Feb 2024 05:39:06 -0500 Subject: [PATCH] Completed a MVP of the physical memory manager --- charlotte_core/src/access_control/mod.rs | 2 +- charlotte_core/src/main.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charlotte_core/src/access_control/mod.rs b/charlotte_core/src/access_control/mod.rs index 7e1e3ec..c1d214c 100644 --- a/charlotte_core/src/access_control/mod.rs +++ b/charlotte_core/src/access_control/mod.rs @@ -19,7 +19,7 @@ pub enum CapabilityType { /// There will be a global capability table for each capability type that maps capability IDs to the /// capability struct itself. This table will be used to look up capabilities by their IDs. -type CapabilityId = u64; +pub type CapabilityId = u64; /// A capability represents a resource and the operations that can be performed on that resource. All /// capabilities must implement the Drop trait so that the resource can be cleaned up when the capability diff --git a/charlotte_core/src/main.rs b/charlotte_core/src/main.rs index 3d9a538..2dde6c0 100644 --- a/charlotte_core/src/main.rs +++ b/charlotte_core/src/main.rs @@ -1,6 +1,8 @@ #![no_std] #![no_main] +#![feature(slice_internals)] + mod access_control; mod arch; mod bootinfo;