mirror of https://github.com/xqemu/xqemu.git
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
![]() |
/*
|
||
|
* QEMU PowerPC PowerNV various definitions
|
||
|
*
|
||
|
* Copyright (c) 2014-2016 BenH, 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 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/>.
|
||
|
*/
|
||
|
#ifndef _PPC_PNV_H
|
||
|
#define _PPC_PNV_H
|
||
|
|
||
|
#include "hw/boards.h"
|
||
|
|
||
|
#define TYPE_POWERNV_MACHINE MACHINE_TYPE_NAME("powernv")
|
||
|
#define POWERNV_MACHINE(obj) \
|
||
|
OBJECT_CHECK(PnvMachineState, (obj), TYPE_POWERNV_MACHINE)
|
||
|
|
||
|
typedef struct PnvMachineState {
|
||
|
/*< private >*/
|
||
|
MachineState parent_obj;
|
||
|
|
||
|
uint32_t initrd_base;
|
||
|
long initrd_size;
|
||
|
} PnvMachineState;
|
||
|
|
||
|
#define PNV_FDT_ADDR 0x01000000
|
||
|
|
||
|
#endif /* _PPC_PNV_H */
|