Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/riscv64/src/mm/km.c

    rccc362a1 r8b6aa39  
    3232
    3333#include <arch/mm/km.h>
    34 #include <mm/km.h>
    35 #include <stdbool.h>
    3634#include <typedefs.h>
    37 #include <macros.h>
    3835
    3936void km_identity_arch_init(void)
    4037{
    41         config.identity_base = KM_RISCV64_IDENTITY_START;
    42         config.identity_size = KM_RISCV64_IDENTITY_SIZE;
    4338}
    4439
    4540void km_non_identity_arch_init(void)
    4641{
    47         km_non_identity_span_add(KM_RISCV64_NON_IDENTITY_START,
    48             KM_RISCV64_NON_IDENTITY_SIZE);
    4942}
    5043
    5144bool km_is_non_identity_arch(uintptr_t addr)
    5245{
    53         return iswithin(KM_RISCV64_NON_IDENTITY_START,
    54             KM_RISCV64_NON_IDENTITY_SIZE, addr, 1);
     46        return false;
    5547}
    5648
Note: See TracChangeset for help on using the changeset viewer.