mirror of https://gitee.com/openkylin/qemu.git
nvram: Rename openbios_firmware_abi.h into sun_nvram.h
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 <thuth@redhat.com> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
ad723fe5a0
commit
c6363bae17
|
@ -35,10 +35,10 @@
|
||||||
#include "sysemu/sysemu.h"
|
#include "sysemu/sysemu.h"
|
||||||
#include "net/net.h"
|
#include "net/net.h"
|
||||||
#include "hw/boards.h"
|
#include "hw/boards.h"
|
||||||
#include "hw/nvram/openbios_firmware_abi.h"
|
|
||||||
#include "hw/scsi/esp.h"
|
#include "hw/scsi/esp.h"
|
||||||
#include "hw/i386/pc.h"
|
#include "hw/i386/pc.h"
|
||||||
#include "hw/isa/isa.h"
|
#include "hw/isa/isa.h"
|
||||||
|
#include "hw/nvram/sun_nvram.h"
|
||||||
#include "hw/nvram/chrp_nvram.h"
|
#include "hw/nvram/chrp_nvram.h"
|
||||||
#include "hw/nvram/fw_cfg.h"
|
#include "hw/nvram/fw_cfg.h"
|
||||||
#include "hw/char/escc.h"
|
#include "hw/char/escc.h"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
#include "sysemu/sysemu.h"
|
#include "sysemu/sysemu.h"
|
||||||
#include "hw/boards.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/chrp_nvram.h"
|
||||||
#include "hw/nvram/fw_cfg.h"
|
#include "hw/nvram/fw_cfg.h"
|
||||||
#include "hw/sysbus.h"
|
#include "hw/sysbus.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef OPENBIOS_FIRMWARE_ABI_H
|
#ifndef SUN_NVRAM_H
|
||||||
#define OPENBIOS_FIRMWARE_ABI_H
|
#define SUN_NVRAM_H
|
||||||
|
|
||||||
/* Sun IDPROM structure at the end of NVRAM */
|
/* Sun IDPROM structure at the end of NVRAM */
|
||||||
/* from http://www.squirrel.com/squirrel/sun-nvram-hostid.faq.html */
|
/* 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;
|
header->checksum = tmp;
|
||||||
}
|
}
|
||||||
#endif /* OPENBIOS_FIRMWARE_ABI_H */
|
#endif /* SUN_NVRAM_H */
|
Loading…
Reference in New Issue