[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 5/5] nvram: Rename openbios_firmware_abi.h into sun_nv
From: |
Thomas Huth |
Subject: |
[Qemu-ppc] [PATCH 5/5] nvram: Rename openbios_firmware_abi.h into sun_nvram.h |
Date: |
Tue, 18 Oct 2016 22:46:44 +0200 |
The header now only contains inline functions related to the
Sun NVRAM, so the a name like sun_nvram.h seems to be more
appropriate now.
Signed-off-by: Thomas Huth <address@hidden>
---
hw/sparc/sun4m.c | 2 +-
hw/sparc64/sun4u.c | 2 +-
include/hw/nvram/{openbios_firmware_abi.h => sun_nvram.h} | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
rename include/hw/nvram/{openbios_firmware_abi.h => sun_nvram.h} (90%)
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
index 1b8d172..6224288 100644
--- a/hw/sparc/sun4m.c
+++ b/hw/sparc/sun4m.c
@@ -35,10 +35,10 @@
#include "sysemu/sysemu.h"
#include "net/net.h"
#include "hw/boards.h"
-#include "hw/nvram/openbios_firmware_abi.h"
#include "hw/scsi/esp.h"
#include "hw/i386/pc.h"
#include "hw/isa/isa.h"
+#include "hw/nvram/sun_nvram.h"
#include "hw/nvram/chrp_nvram.h"
#include "hw/nvram/fw_cfg.h"
#include "hw/char/escc.h"
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c
index aabb30a..3708be2 100644
--- a/hw/sparc64/sun4u.c
+++ b/hw/sparc64/sun4u.c
@@ -36,7 +36,7 @@
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
-#include "hw/nvram/openbios_firmware_abi.h"
+#include "hw/nvram/sun_nvram.h"
#include "hw/nvram/chrp_nvram.h"
#include "hw/nvram/fw_cfg.h"
#include "hw/sysbus.h"
diff --git a/include/hw/nvram/openbios_firmware_abi.h
b/include/hw/nvram/sun_nvram.h
similarity index 90%
rename from include/hw/nvram/openbios_firmware_abi.h
rename to include/hw/nvram/sun_nvram.h
index 27ce9f4..68eaa60 100644
--- a/include/hw/nvram/openbios_firmware_abi.h
+++ b/include/hw/nvram/sun_nvram.h
@@ -1,5 +1,5 @@
-#ifndef OPENBIOS_FIRMWARE_ABI_H
-#define OPENBIOS_FIRMWARE_ABI_H
+#ifndef SUN_NVRAM_H
+#define SUN_NVRAM_H
/* Sun IDPROM structure at the end of NVRAM */
/* from http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html */
@@ -31,4 +31,4 @@ Sun_init_header(struct Sun_nvram *header, const uint8_t
*macaddr, int machine_id
header->checksum = tmp;
}
-#endif /* OPENBIOS_FIRMWARE_ABI_H */
+#endif /* SUN_NVRAM_H */
--
1.8.3.1
- [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 1/5] nvram: Introduce helper functions for CHRP "system" and "free space" partitions, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 3/5] spapr_nvram: Pre-initialize the NVRAM to support the -prom-env parameter, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 5/5] nvram: Rename openbios_firmware_abi.h into sun_nvram.h,
Thomas Huth <=
- [Qemu-ppc] [PATCH 2/5] sparc: Use the new common NVRAM functions for system and free space partition, Thomas Huth, 2016/10/18
- [Qemu-ppc] [PATCH 4/5] nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch], Thomas Huth, 2016/10/18
- Re: [Qemu-ppc] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, David Gibson, 2016/10/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Bharata B Rao, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, David Gibson, 2016/10/24
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/25
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, David Gibson, 2016/10/25
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Thomas Huth, 2016/10/26
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] nvram: Refactor OpenBIOS NVRAM code to support -prom-env on pseries, too, Mark Cave-Ayland, 2016/10/23