1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2021 Beckhoff Automation GmbH & Co. KG 5 * Author: Corvin Köhne <c.koehne@beckhoff.com> 6 */ 7 8 #pragma once 9 10 #include <vmmapi.h> 11 12 #define QEMU_FWCFG_MAX_ARCHS 0x2 13 #define QEMU_FWCFG_MAX_ENTRIES 0x4000 14 15 struct qemu_fwcfg_item { 16 uint32_t size; 17 uint8_t *data; 18 }; 19 20 int qemu_fwcfg_init(struct vmctx *const ctx); 21