On 07/31/2017 06:09 AM, James Hogan wrote:
+static int mips_um_ksegs; + uint64_t cpu_mips_kseg0_to_phys(void *opaque, uint64_t addr) { return addr & 0x1fffffffll; @@ -38,3 +40,13 @@ uint64_t cpu_mips_kvm_um_phys_to_kseg0(void *opaque, uint64_t addr) { return addr | 0x40000000ll; } + +int mips_um_ksegs_enabled(void)
bool? Otherwise, Reviewed-by: Richard Henderson <rth@xxxxxxxxxxx> r~