This reverts Hack 05ba21160619724033ec83469bbb66bda9e3f5fb and applies the correct fix
And enable experimental v8 support for arm max cpu
This commit is contained in:
@ -361,17 +361,6 @@ ARMCPU *cpu_aarch64_init(struct uc_struct *uc)
|
||||
/* postinit ARMCPU */
|
||||
arm_cpu_post_init(cs);
|
||||
|
||||
/*
|
||||
* Unicorn: Hack to force to enable EL2/EL3 for aarch64 so that we can
|
||||
* use the full 64bits virtual address space.
|
||||
*
|
||||
* While EL2/EL3 is enabled but running within EL1, we could
|
||||
* get somewhat like "x86 flat mode", though aarch64 only allows
|
||||
* a maximum of 52bits virtual address space.
|
||||
*/
|
||||
ARM_CPU(cs)->has_el2 = true;
|
||||
ARM_CPU(cs)->has_el3 = true;
|
||||
|
||||
/* realize ARMCPU */
|
||||
arm_cpu_realizefn(uc, cs);
|
||||
|
||||
|
Reference in New Issue
Block a user