Add ASID type

This commit is contained in:
Berkus Decker 2021-01-27 19:18:47 +02:00
parent 856c4a9e68
commit 82d44a9c62
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
/*
* SPDX-License-Identifier: BlueOak-1.0.0
* Copyright (c) Berkus Decker <berkus+vesper@metta.systems>
*/
#[allow(dead_code)]
pub type ASID = u16;

View File

@ -1,5 +1,12 @@
/*
* SPDX-License-Identifier: BlueOak-1.0.0
* Copyright (c) Berkus Decker <berkus+vesper@metta.systems>
*/
mod asid;
mod phys_addr; mod phys_addr;
mod virt_addr; mod virt_addr;
pub use asid::*;
pub use phys_addr::*; pub use phys_addr::*;
pub use virt_addr::*; pub use virt_addr::*;