mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-17 04:32:27 +00:00
feat: Implement a basic MMU configuration
This commit is contained in:
@@ -52,6 +52,8 @@ psr!(SPSR_EL1, u32);
|
||||
|
||||
psr!(ELR_EL1, u32);
|
||||
|
||||
psr!(SCTLR_EL1, u32);
|
||||
|
||||
pub fn read_exception_source_el() -> u32 {
|
||||
read_spsr_el1() & 0b1111
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user