diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-07-10 22:57:32 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-07-10 22:57:32 -0400 |
commit | 47c8e31d36fc79d694d430169c401297abd15440 (patch) | |
tree | b3cb67f4aaff227955879caa6aea3cc1000583eb /src/pcibios.c | |
parent | 87b533bf71bb41e32319db0ed8f167f50171afc5 (diff) | |
download | seabios-47c8e31d36fc79d694d430169c401297abd15440.tar.gz |
Rename the apm, pcibios, and elf entry points.
Use a more consistent naming that matches entry_xxx to handle_xxx
where possible.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/pcibios.c')
-rw-r--r-- | src/pcibios.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcibios.c b/src/pcibios.c index 31ca37e5..8b792fb2 100644 --- a/src/pcibios.c +++ b/src/pcibios.c @@ -13,8 +13,8 @@ #include "pci_regs.h" // PCI_VENDOR_ID // romlayout.S -extern void bios32_entry(void); -extern void pcibios32_entry(void); +extern void entry_bios32(void); +extern void entry_pcibios32(void); #define RET_FUNC_NOT_SUPPORTED 0x81 #define RET_BAD_VENDOR_ID 0x83 @@ -29,7 +29,7 @@ handle_1ab101(struct bregs *regs) regs->bx = 0x0210; // PCI version 2.10 regs->cl = GET_GLOBAL(MaxPCIBus); regs->edx = 0x20494350; // "PCI " - regs->edi = (u32)pcibios32_entry + BUILD_BIOS_ADDR; + regs->edi = (u32)entry_pcibios32 + BUILD_BIOS_ADDR; set_code_success(regs); } @@ -232,6 +232,6 @@ bios32_setup(void) { dprintf(3, "init bios32\n"); - BIOS32HEADER.entry = (u32)bios32_entry; + BIOS32HEADER.entry = (u32)entry_bios32; BIOS32HEADER.checksum -= checksum(&BIOS32HEADER, sizeof(BIOS32HEADER)); } |