mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
target/arm: Pass MemOp to get_phys_addr_with_space_nogpc
Zero is the safe do-nothing value for callers to use. Reviewed-by: Helge Deller <deller@gmx.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ec2c933701
commit
29b4d7dbd2
3 changed files with 8 additions and 6 deletions
|
@ -1461,6 +1461,7 @@ bool get_phys_addr(CPUARMState *env, vaddr address,
|
|||
* @env: CPUARMState
|
||||
* @address: virtual address to get physical address for
|
||||
* @access_type: 0 for read, 1 for write, 2 for execute
|
||||
* @memop: memory operation feeding this access, or 0 for none
|
||||
* @mmu_idx: MMU index indicating required translation regime
|
||||
* @space: security space for the access
|
||||
* @result: set on translation success.
|
||||
|
@ -1470,7 +1471,7 @@ bool get_phys_addr(CPUARMState *env, vaddr address,
|
|||
* a Granule Protection Check on the resulting address.
|
||||
*/
|
||||
bool get_phys_addr_with_space_nogpc(CPUARMState *env, vaddr address,
|
||||
MMUAccessType access_type,
|
||||
MMUAccessType access_type, MemOp memop,
|
||||
ARMMMUIdx mmu_idx, ARMSecuritySpace space,
|
||||
GetPhysAddrResult *result,
|
||||
ARMMMUFaultInfo *fi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue