Home
last modified time | relevance | path

Searched refs:satp_mode (Results 1 – 5 of 5) sorted by relevance

/qemu/target/riscv/
H A Dcpu.c416 const char *satp_mode_str(uint8_t satp_mode, bool is_32_bit) in satp_mode_str() argument
419 switch (satp_mode) { in satp_mode_str()
426 switch (satp_mode) { in satp_mode_str()
447 int satp_mode = cpu->cfg.max_satp_mode; in get_satp_mode_supported() local
449 if (satp_mode == -1) { in get_satp_mode_supported()
454 for (int i = 0; i <= satp_mode; ++i) { in get_satp_mode_supported()
2012 .satp_mode = RISCV_PROFILE_ATTR_UNUSED,
2045 .satp_mode = VM_1_10_SV39,
2066 .satp_mode = RISCV_PROFILE_ATTR_UNUSED,
2096 .satp_mode = VM_1_10_SV39,
H A Dcpu.h88 int satp_mode; member
966 const char *satp_mode_str(uint8_t satp_mode, bool is_32_bit);
H A Dcpu_helper.c206 int satp_mode = 0; in riscv_cpu_virt_mem_enabled() local
210 satp_mode = get_field(env->satp, SATP32_MODE); in riscv_cpu_virt_mem_enabled()
212 satp_mode = get_field(env->satp, SATP64_MODE); in riscv_cpu_virt_mem_enabled()
215 return ((satp_mode != VM_1_10_MBARE) && (priv_mode != PRV_M)); in riscv_cpu_virt_mem_enabled()
/qemu/linux-headers/asm-riscv/
H A Dkvm.h57 unsigned long satp_mode; member
/qemu/target/riscv/tcg/
H A Dtcg-cpu.c848 if (profile->satp_mode > satp_max) { in riscv_cpu_validate_profile_satp()
851 const char *req_satp = satp_mode_str(profile->satp_mode, is_32bit); in riscv_cpu_validate_profile_satp()
892 if (profile->satp_mode != RISCV_PROFILE_ATTR_UNUSED) { in riscv_cpu_validate_profile()
1371 if (profile->satp_mode != RISCV_PROFILE_ATTR_UNUSED) { in cpu_set_profile()
1373 const char *satp_prop = satp_mode_str(profile->satp_mode, in cpu_set_profile()