From abc84ec6aa396e175fe176f1916ff8b2231a8a64 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Tue, 29 Dec 2020 16:17:55 +0200 Subject: [PATCH] [del] Add ASID type --- nucleus/src/arch/aarch64/memory/addr/asid.rs | 6 ++++++ nucleus/src/arch/aarch64/memory/addr/mod.rs | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 nucleus/src/arch/aarch64/memory/addr/asid.rs diff --git a/nucleus/src/arch/aarch64/memory/addr/asid.rs b/nucleus/src/arch/aarch64/memory/addr/asid.rs new file mode 100644 index 0000000..ad2e4e4 --- /dev/null +++ b/nucleus/src/arch/aarch64/memory/addr/asid.rs @@ -0,0 +1,6 @@ +/* + * SPDX-License-Identifier: BlueOak-1.0.0 + * Copyright (c) Berkus Decker + */ + +pub type ASID = u16; diff --git a/nucleus/src/arch/aarch64/memory/addr/mod.rs b/nucleus/src/arch/aarch64/memory/addr/mod.rs index bfd3b94..54076b1 100644 --- a/nucleus/src/arch/aarch64/memory/addr/mod.rs +++ b/nucleus/src/arch/aarch64/memory/addr/mod.rs @@ -3,8 +3,10 @@ * Copyright (c) Berkus Decker */ +mod asid; mod phys_addr; mod virt_addr; +pub use asid::*; pub use phys_addr::*; pub use virt_addr::*;