* What is the "E10, E20_0 XXX" Flag means on arm port?
@ 2020-06-17 12:52 tugouxp
2020-06-17 13:19 ` Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: tugouxp @ 2020-06-17 12:52 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
Hi folks:
I Know the arm prelidge level can be divieded into EL0, EL1, EL2 and EL3, but i am confused by the following definition on qemu arm port.
for example, why E10 are postfix with _0 and _1, what is this meansings?
typedef enum ARMMMUIdx {
2879 /*
2880 ¦* A-profile.
2881 ¦*/
2882 ARMMMUIdx_E10_0 = 0 | ARM_MMU_IDX_A,
2883 ARMMMUIdx_E20_0 = 1 | ARM_MMU_IDX_A,
2884
2885 ARMMMUIdx_E10_1 = 2 | ARM_MMU_IDX_A,
2886 ARMMMUIdx_E10_1_PAN = 3 | ARM_MMU_IDX_A,
2887
2888 ARMMMUIdx_E2 = 4 | ARM_MMU_IDX_A,
2889 ARMMMUIdx_E20_2 = 5 | ARM_MMU_IDX_A,
2890 ARMMMUIdx_E20_2_PAN = 6 | ARM_MMU_IDX_A,
2891
2892 ARMMMUIdx_SE10_0 = 7 | ARM_MMU_IDX_A,
2893 ARMMMUIdx_SE10_1 = 8 | ARM_MMU_IDX_A,
2894 ARMMMUIdx_SE10_1_PAN = 9 | ARM_MMU_IDX_A,
2895 ARMMMUIdx_SE3 = 10 | ARM_MMU_IDX_A,
2896
2897 ARMMMUIdx_Stage2 = 11 | ARM_MMU_IDX_A,
[-- Attachment #2: Type: text/html, Size: 2478 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is the "E10, E20_0 XXX" Flag means on arm port?
2020-06-17 12:52 What is the "E10, E20_0 XXX" Flag means on arm port? tugouxp
@ 2020-06-17 13:19 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2020-06-17 13:19 UTC (permalink / raw)
To: tugouxp; +Cc: QEMU Developers
On Wed, 17 Jun 2020 at 13:54, tugouxp <13824125580@163.com> wrote:
>
> Hi folks:
>
> I Know the arm prelidge level can be divieded into EL0, EL1, EL2 and EL3, but i am confused by the following definition on qemu arm port.
> for example, why E10 are postfix with _0 and _1, what is this meansings?
The meanings of the different MMU indexes are described
in the long comment immediately preceding this enum.
For instance, ARMMMUIdx_E10_0 is "NS EL0 EL1&0 stage 1+2"
and ARMMMUIdx_E10_1 is "NS EL1 EL1&0 stage 1+2". See
the comment for the discussion of why we have more of
these than there are architectural "translation regimes"
as described in the Arm ARM.
thanks
-- PMM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-17 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 12:52 What is the "E10, E20_0 XXX" Flag means on arm port? tugouxp
2020-06-17 13:19 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).