diff options
author | 2017-05-23 17:55:06 +0000 | |
---|---|---|
committer | 2017-05-23 17:55:06 +0000 | |
commit | 0f6296e038b5c299654d596026e7bee5aa723e56 (patch) | |
tree | a51b545d58c8128abfd6caa9ca43d32343011f62 /qemu/hw/s390x/ipl.h | |
parent | c4d68bc45aa6aa8b7fe39bce206cb17c2cb2d365 (diff) | |
parent | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (diff) |
Merge "Adding qemu as a submodule of KVMFORNFV"
Diffstat (limited to 'qemu/hw/s390x/ipl.h')
-rw-r--r-- | qemu/hw/s390x/ipl.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/qemu/hw/s390x/ipl.h b/qemu/hw/s390x/ipl.h deleted file mode 100644 index 6b48ed7b9..000000000 --- a/qemu/hw/s390x/ipl.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * s390 IPL device - * - * Copyright 2015 IBM Corp. - * Author(s): Zhang Fan <bjfanzh@cn.ibm.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or (at - * your option) any later version. See the COPYING file in the top-level - * directory. - */ - -#ifndef HW_S390_IPL_H -#define HW_S390_IPL_H - -#include "hw/qdev.h" -#include "cpu.h" - -typedef struct IplParameterBlock { - uint8_t reserved1[110]; - uint16_t devno; - uint8_t reserved2[88]; -} IplParameterBlock; - -void s390_ipl_update_diag308(IplParameterBlock *iplb); -void s390_ipl_prepare_cpu(S390CPU *cpu); -IplParameterBlock *s390_ipl_get_iplb(void); -void s390_reipl_request(void); - -#define TYPE_S390_IPL "s390-ipl" -#define S390_IPL(obj) OBJECT_CHECK(S390IPLState, (obj), TYPE_S390_IPL) - -struct S390IPLState { - /*< private >*/ - DeviceState parent_obj; - uint64_t start_addr; - uint64_t bios_start_addr; - bool enforce_bios; - IplParameterBlock iplb; - bool iplb_valid; - bool reipl_requested; - - /*< public >*/ - char *kernel; - char *initrd; - char *cmdline; - char *firmware; - uint8_t cssid; - uint8_t ssid; - uint16_t devno; -}; -typedef struct S390IPLState S390IPLState; - -#endif |