qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH v3 4/4] prep: add IBM RS/6000 7020 (40p) machine e


From: Hervé Poussineau
Subject: Re: [Qemu-ppc] [PATCH v3 4/4] prep: add IBM RS/6000 7020 (40p) machine emulation
Date: Tue, 10 Jan 2017 21:51:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1

Le 09/01/2017 à 13:25, Thomas Huth a écrit :
 Hi,

On 07.01.2017 16:23, Hervé Poussineau wrote:
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.

Signed-off-by: Hervé Poussineau <address@hidden>
---
 default-configs/ppc-softmmu.mak |   1 +
 hw/ppc/prep.c                   | 229 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 230 insertions(+)

[...]


This currently does not compile on a ppc64 host where CONFIG_KVM is set:

hw/ppc/prep.c: In function ‘ibm_40p_init’:
hw/ppc/prep.c:872:9: error: implicit declaration of function 
‘kvmppc_get_tbfreq’ [-Werror=implicit-function-declaration]
         fw_cfg_add_i32(fw_cfg, FW_CFG_PPC_TBFREQ, kvmppc_get_tbfreq());
         ^
hw/ppc/prep.c:872:9: error: nested extern declaration of ‘kvmppc_get_tbfreq’ 
[-Werror=nested-externs]
hw/ppc/prep.c:874:9: error: implicit declaration of function 
‘kvmppc_get_hypercall’ [-Werror=implicit-function-declaration]
         kvmppc_get_hypercall(env, hypercall, 16);
         ^
hw/ppc/prep.c:874:9: error: nested extern declaration of ‘kvmppc_get_hypercall’ 
[-Werror=nested-externs]

You need to #include "kvm_ppc.h" to get the prototype of the
kvmppc_get_tbfreq() function.

Done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]