diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-08-03 20:15:26 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-08-03 20:15:26 -0400 |
commit | 8b9137d29561e958ba557ba31e73da71d3b03249 (patch) | |
tree | 2cac91b6355e812cff0c94c95b07dc6a018610a1 /src/optionroms.c | |
parent | e0f87ce6610a0f341ff79c2c40ddc29f26932353 (diff) | |
download | seabios-hppa-8b9137d29561e958ba557ba31e73da71d3b03249.zip seabios-hppa-8b9137d29561e958ba557ba31e73da71d3b03249.tar.gz seabios-hppa-8b9137d29561e958ba557ba31e73da71d3b03249.tar.bz2 |
Allow free space in f-segment to be used by malloc_fseg().
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index be02f2a..2832eab 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -483,7 +483,7 @@ vga_setup(void) init_optionrom((void*)BUILD_ROM_START, 0, 1); } else { // Clear option rom memory - memset((void*)RomEnd, 0, _max_rom() - RomEnd); + memset((void*)RomEnd, 0, max_rom() - RomEnd); // Find and deploy PCI VGA rom. struct pci_device *pci; |