diff --git a/.mailmap b/.mailmap index 76e6513130..98ff6dc8d6 100644 --- a/.mailmap +++ b/.mailmap @@ -34,6 +34,7 @@ + # Name consolidation: # Preferred author spelling diff --git a/AUTHORS b/AUTHORS index 27c4eda775..221912dfbe 100644 --- a/AUTHORS +++ b/AUTHORS @@ -268,6 +268,7 @@ Patches have also been contributed by: liguang Chuck Short Alexander Larsson + Li Zhang [....send patches to get your name here....] diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index 5ba742dd6e..01c732c233 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -28,11 +28,14 @@ # include "datatypes.h" # include "conf/cpu_conf.h" # include "cpu_x86_data.h" +# include "cpu_ppc_data.h" union cpuData { struct cpuX86Data x86; /* generic driver needs no data */ + /* PowerPC driver need data*/ + struct cpuPPCData ppc; }; diff --git a/src/cpu/cpu_ppc_data.h b/src/cpu/cpu_ppc_data.h new file mode 100644 index 0000000000..685332a21d --- /dev/null +++ b/src/cpu/cpu_ppc_data.h @@ -0,0 +1,33 @@ +/* + * cpu_ppc_data.h: PowerPC specific CPU data + * + * Copyright (C) 2012 IBM Corporation. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; If not, see + * . + * + * Authors: + * Li Zhang + */ + +#ifndef __VIR_CPU_PPC_DATA_H__ +# define __VIR_CPU_PPC_DATA_H__ + +# include + +struct cpuPPCData { + uint32_t pvr; +}; + +#endif /* __VIR_CPU_PPC_DATA_H__ */