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:
Philippe Mathieu-Daudé 2021-03-04 15:43:39 -05:00 committed by Lioncash
parent 2c8f7b1fbc
commit daafb0ba17

View file

@ -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) {