Patchwork [15/27] pc: rename bochs_bios_init() to pc_bios_init()

login
register
mail settings
Submitter Eduardo Habkost
Date Oct. 24, 2012, 5:49 p.m.
Message ID <1351101001-14589-16-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/193888/
State New
Headers show

Comments

Eduardo Habkost - Oct. 24, 2012, 5:49 p.m.
This code is not specific to the Bochs BIOS, so rename it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/pc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/pc.c b/hw/pc.c
index 4e971c8..c38d8b2 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -570,7 +570,7 @@  int e820_add_entry(uint64_t address, uint64_t length, uint32_t type)
     return index;
 }
 
-static FWCfgState *bochs_bios_init(void)
+static FWCfgState *pc_bios_init(void)
 {
     FWCfgState *fw_cfg;
     uint8_t *smbios_table;
@@ -918,7 +918,7 @@  void *pc_memory_init(PCInitArgs *args)
                                         option_rom_mr,
                                         1);
 
-    fw_cfg = bochs_bios_init();
+    fw_cfg = pc_bios_init();
     rom_set_fw(fw_cfg);
 
     if (linux_boot) {