2012-10-15 09:07:49 +00:00
|
|
|
/*
|
2015-07-20 12:35:22 +00:00
|
|
|
* cpu_ppc64_data.h: 64-bit PowerPC CPU specific data
|
2012-10-15 09:07:49 +00:00
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2019-06-07 20:20:22 +00:00
|
|
|
#pragma once
|
2012-10-15 09:07:49 +00:00
|
|
|
|
2015-08-07 15:39:14 +00:00
|
|
|
typedef struct _virCPUppc64PVR virCPUppc64PVR;
|
|
|
|
struct _virCPUppc64PVR {
|
|
|
|
uint32_t value;
|
2015-08-07 15:39:16 +00:00
|
|
|
uint32_t mask;
|
2015-08-07 15:39:14 +00:00
|
|
|
};
|
|
|
|
|
2019-06-07 20:20:22 +00:00
|
|
|
#define VIR_CPU_PPC64_DATA_INIT { 0 }
|
2016-06-07 10:04:13 +00:00
|
|
|
|
2015-08-07 15:39:13 +00:00
|
|
|
typedef struct _virCPUppc64Data virCPUppc64Data;
|
|
|
|
struct _virCPUppc64Data {
|
2015-08-07 15:39:14 +00:00
|
|
|
size_t len;
|
|
|
|
virCPUppc64PVR *pvr;
|
2012-10-15 09:07:49 +00:00
|
|
|
};
|