Changes in kernel/arch/riscv64/src/mm/km.c [ccc362a1:8b6aa39] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/riscv64/src/mm/km.c
rccc362a1 r8b6aa39 32 32 33 33 #include <arch/mm/km.h> 34 #include <mm/km.h>35 #include <stdbool.h>36 34 #include <typedefs.h> 37 #include <macros.h>38 35 39 36 void km_identity_arch_init(void) 40 37 { 41 config.identity_base = KM_RISCV64_IDENTITY_START;42 config.identity_size = KM_RISCV64_IDENTITY_SIZE;43 38 } 44 39 45 40 void km_non_identity_arch_init(void) 46 41 { 47 km_non_identity_span_add(KM_RISCV64_NON_IDENTITY_START,48 KM_RISCV64_NON_IDENTITY_SIZE);49 42 } 50 43 51 44 bool km_is_non_identity_arch(uintptr_t addr) 52 45 { 53 return iswithin(KM_RISCV64_NON_IDENTITY_START, 54 KM_RISCV64_NON_IDENTITY_SIZE, addr, 1); 46 return false; 55 47 } 56 48
Note:
See TracChangeset
for help on using the changeset viewer.