qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH RFCv2 01/20] kvm: kvm_get_writable_id_regs


From: Richard Henderson
Subject: Re: [PATCH RFCv2 01/20] kvm: kvm_get_writable_id_regs
Date: Thu, 12 Dec 2024 07:59:37 -0600
User-agent: Mozilla Thunderbird

On 12/6/24 05:21, Cornelia Huck wrote:
+#define NR_ID_REGS (3 * 8 * 8)
+
+typedef struct IdRegMap {
+    uint64_t regs[NR_ID_REGS];
+} IdRegMap;
+

Where does the NR_ID_REGS come from?  In particular the * 3?
IIRC, all of the id registers are in op0=3, op1=0, crn=0, crm={0-7}, op2={0-7}.

Whatever the actual answer, some comments would be good.


r~



reply via email to

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