mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 19:14:58 -06:00
target/i386/hvf: Use CPUState typedef
QEMU coding style recommend using structure typedefs: https://www.qemu.org/docs/master/devel/style.html#typedefs Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-ID: <20240129164514.73104-14-philmd@linaro.org> [thuth: Break long lines to avoid checkpatch.pl errors] Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
7ab7428199
commit
f8436a1605
7 changed files with 52 additions and 49 deletions
|
@ -36,9 +36,9 @@
|
|||
#define MMU_PAGE_US (1 << 2)
|
||||
#define MMU_PAGE_NX (1 << 3)
|
||||
|
||||
bool mmu_gva_to_gpa(struct CPUState *cpu, target_ulong gva, uint64_t *gpa);
|
||||
bool mmu_gva_to_gpa(CPUState *cpu, target_ulong gva, uint64_t *gpa);
|
||||
|
||||
void vmx_write_mem(struct CPUState *cpu, target_ulong gva, void *data, int bytes);
|
||||
void vmx_read_mem(struct CPUState *cpu, void *data, target_ulong gva, int bytes);
|
||||
void vmx_write_mem(CPUState *cpu, target_ulong gva, void *data, int bytes);
|
||||
void vmx_read_mem(CPUState *cpu, void *data, target_ulong gva, int bytes);
|
||||
|
||||
#endif /* X86_MMU_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue