qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 1/5] target/riscv: Add a virtualised MMU Mode


From: Richard Henderson
Subject: Re: [PATCH v4 1/5] target/riscv: Add a virtualised MMU Mode
Date: Wed, 4 Nov 2020 08:24:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 11/3/20 8:43 PM, Alistair Francis wrote:
> -#define NB_MMU_MODES 4
> +/*
> + * The current MMU Modes are:
> + *  - U mode 0b000
> + *  - S mode 0b001
> + *  - M mode 0b011
> + *  - U mode HLV/HLVX/HSV 0b100
> + *  - S mode HLV/HLVX/HSV 0b101
> + *  - M mode HLV/HLVX/HSV 0b111
> + */
> +#define NB_MMU_MODES 6

6 modes, but you're leaving two holes, so you need 8 here.

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]