mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 16:55:42 +00:00
target/arm: Replace magic value by MMU_DATA_LOAD definition
cpu_get_phys_page_debug() uses 'DATA LOAD' MMU access type. Backports a9dd161ff2f54446f0b0547447d8196699aca3e1
This commit is contained in:
parent
2c8f7b1fbc
commit
daafb0ba17
|
@ -12103,7 +12103,7 @@ hwaddr arm_cpu_get_phys_page_attrs_debug(CPUState *cs, vaddr addr,
|
|||
ARMMMUIdx mmu_idx = arm_mmu_idx(env);
|
||||
ARMCacheAttrs cacheattrs = {};
|
||||
|
||||
ret = get_phys_addr(env, addr, 0, mmu_idx, &phys_addr,
|
||||
ret = get_phys_addr(env, addr, MMU_DATA_LOAD, mmu_idx, &phys_addr,
|
||||
attrs, &prot, &page_size, &fi, &cacheattrs);
|
||||
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in a new issue