mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
313d1e910a
Implement fw_cfg_arch_key_name(), which returns the name of a mips-specific key. Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@kernel.org> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <1600742967-12933-7-git-send-email-chenhc@lemote.com> [PMD: Add FW_CFG_MIPS Kconfig selector] Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
20 lines
383 B
C
20 lines
383 B
C
/*
|
|
* QEMU fw_cfg helpers (MIPS specific)
|
|
*
|
|
* Copyright (c) 2020 Huacai Chen
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef HW_MIPS_FW_CFG_H
|
|
#define HW_MIPS_FW_CFG_H
|
|
|
|
#include "hw/boards.h"
|
|
#include "hw/nvram/fw_cfg.h"
|
|
|
|
/* Data for BIOS to identify machine */
|
|
#define FW_CFG_MACHINE_VERSION (FW_CFG_ARCH_LOCAL + 0)
|
|
#define FW_CFG_CPU_FREQ (FW_CFG_ARCH_LOCAL + 1)
|
|
|
|
#endif
|