[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/15] target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h"
From: |
Daniel Henrique Barboza |
Subject: |
[PULL 05/15] target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h" |
Date: |
Tue, 20 Dec 2022 10:52:41 -0300 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
kvm_ppc.h is missing various declarations from "cpu.h":
target/ppc/kvm_ppc.h:128:40: error: unknown type name 'CPUPPCState'; did you
mean 'CPUState'?
static inline int kvmppc_get_hypercall(CPUPPCState *env,
^~~~~~~~~~~
CPUState
include/qemu/typedefs.h:45:25: note: 'CPUState' declared here
typedef struct CPUState CPUState;
^
target/ppc/kvm_ppc.h:134:40: error: unknown type name 'PowerPCCPU'
static inline int kvmppc_set_interrupt(PowerPCCPU *cpu, int irq, int level)
^
target/ppc/kvm_ppc.h:285:38: error: unknown type name 'hwaddr'
hwaddr ptex, int n)
^
target/ppc/kvm_ppc.h:220:15: error: unknown type name 'target_ulong'
static inline target_ulong kvmppc_configure_v3_mmu(PowerPCCPU *cpu,
^
target/ppc/kvm_ppc.h:286:38: error: unknown type name 'ppc_hash_pte64_t'
static inline void kvmppc_read_hptes(ppc_hash_pte64_t *hptes,
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221213123550.39302-2-philmd@linaro.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
target/ppc/kvm_ppc.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h
index ee9325bf9a..5fd9753953 100644
--- a/target/ppc/kvm_ppc.h
+++ b/target/ppc/kvm_ppc.h
@@ -9,6 +9,9 @@
#ifndef KVM_PPC_H
#define KVM_PPC_H
+#include "exec/hwaddr.h"
+#include "cpu.h"
+
#define TYPE_HOST_POWERPC_CPU POWERPC_CPU_TYPE_NAME("host")
#ifdef CONFIG_KVM
--
2.38.1
- [PULL 00/15] ppc queue, Daniel Henrique Barboza, 2022/12/20
- [PULL 01/15] MAINTAINERS: downgrade PPC KVM/TCG CPUs and pSeries to 'Odd Fixes', Daniel Henrique Barboza, 2022/12/20
- [PULL 02/15] hw/sd/sdhci: MMIO region is implemented in 32-bit accesses, Daniel Henrique Barboza, 2022/12/20
- [PULL 04/15] hw/ppc/e500: Add Freescale eSDHC to e500plat, Daniel Henrique Barboza, 2022/12/20
- [PULL 03/15] hw/sd/sdhci: Support big endian SD host controller interfaces, Daniel Henrique Barboza, 2022/12/20
- [PULL 06/15] hw/ppc/vof: Do not include the full "cpu.h", Daniel Henrique Barboza, 2022/12/20
- [PULL 05/15] target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h",
Daniel Henrique Barboza <=
- [PULL 07/15] hw/ppc/spapr: Reduce "vof.h" inclusion, Daniel Henrique Barboza, 2022/12/20
- [PULL 08/15] target/ppc/mmu_common: Log which effective address had no TLB entry found, Daniel Henrique Barboza, 2022/12/20
- [PULL 09/15] target/ppc/mmu_common: Fix table layout of "info tlb" HMP command, Daniel Henrique Barboza, 2022/12/20
- [PULL 10/15] hw/ppc/virtex_ml507: Prefer local over global variable, Daniel Henrique Barboza, 2022/12/20
- [PULL 11/15] hw/ppc/e500: Prefer local variable over qdev_get_machine(), Daniel Henrique Barboza, 2022/12/20
- [PULL 12/15] hw/ppc/e500: Resolve variable shadowing, Daniel Henrique Barboza, 2022/12/20
- [PULL 13/15] hw/ppc/e500: Move comment to more appropriate place, Daniel Henrique Barboza, 2022/12/20
- [PULL 14/15] target/ppc: Implement the DEXCR and HDEXCR, Daniel Henrique Barboza, 2022/12/20
- [PULL 15/15] target/ppc: Check DEXCR on hash{st, chk} instructions, Daniel Henrique Barboza, 2022/12/20
- Re: [PULL 00/15] ppc queue, Peter Maydell, 2022/12/20