]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/internals.h
target/arm: Use MMUAccessType enum rather than int
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:51 +0000 (15:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:51 +0000 (15:21 +0100)
commit03ae85f858fc46495258a5dd4551fff2c34bd495
tree13b7aee233489f219c9dcab85d8ed701de16577c
parent98bfaac788be0ca63d7d010c8d4ba100ff1d8278
target/arm: Use MMUAccessType enum rather than int

In the ARM get_phys_addr() code, switch to using the MMUAccessType
enum and its MMU_* values rather than int and literal 0/1/2.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1501692241-23310-2-git-send-email-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h