On 7/3/24 07:49, LIU Zhiwei wrote:
-            pmp_size = sizeof(target_ulong);
+            pmp_size = 2UL << riscv_cpu_mxl(env);

UL is almost always incorrect in qemu, as 'long' has no specifically useful 
meaning.

In this case you can drop it completely.


r~

Reply via email to