Message ID | 1417130307-17714-2-git-send-email-lersek@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/include/hw/nvram/fw_cfg.h b/include/hw/nvram/fw_cfg.h index 56e1ed7..286d94b 100644 --- a/include/hw/nvram/fw_cfg.h +++ b/include/hw/nvram/fw_cfg.h @@ -9,6 +9,9 @@ #include "qemu/typedefs.h" #endif +#define FW_CFG_SIZE 2 +#define FW_CFG_DATA_SIZE 1 + #define FW_CFG_SIGNATURE 0x00 #define FW_CFG_ID 0x01 #define FW_CFG_UUID 0x02 diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c index a7122ee..86d53d7 100644 --- a/hw/nvram/fw_cfg.c +++ b/hw/nvram/fw_cfg.c @@ -30,8 +30,6 @@ #include "qemu/error-report.h" #include "qemu/config-file.h" -#define FW_CFG_SIZE 2 -#define FW_CFG_DATA_SIZE 1 #define TYPE_FW_CFG "fw_cfg" #define FW_CFG_NAME "fw_cfg" #define FW_CFG_PATH "/machine/" FW_CFG_NAME
We'll use them in board-specific code in the next patch. Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- include/hw/nvram/fw_cfg.h | 3 +++ hw/nvram/fw_cfg.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-)