libvirt/src/cpu/cpu_ppc_data.h
Li Zhang 309f03db40 Add one file cpu_ppc_data.h to define CPU data for PPC
CPU version can be got by PVR on PowerPC. So this PVR is defined in
the CPU data in cpuData structure.

Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
2012-10-17 10:03:34 +02:00

34 lines
996 B
C

/*
* 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
* <http://www.gnu.org/licenses/>.
*
* Authors:
* Li Zhang <zhlcindy@linux.vnet.ibm.com>
*/
#ifndef __VIR_CPU_PPC_DATA_H__
# define __VIR_CPU_PPC_DATA_H__
# include <stdint.h>
struct cpuPPCData {
uint32_t pvr;
};
#endif /* __VIR_CPU_PPC_DATA_H__ */