diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 21:24:53 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-11 21:24:53 -0400 |
commit | ceb5f3f86830a5d1b5d20651c0b38f116822b586 (patch) | |
tree | 783a38320685e40ac8192e0cd9e77f5666591002 | |
parent | 1d01951aae985073e81a4332a7ad29ceb9294db7 (diff) | |
download | seabios-hppa-ceb5f3f86830a5d1b5d20651c0b38f116822b586.zip seabios-hppa-ceb5f3f86830a5d1b5d20651c0b38f116822b586.tar.gz seabios-hppa-ceb5f3f86830a5d1b5d20651c0b38f116822b586.tar.bz2 |
Clear area changed during shadow enable.
Clearing the area makes analyzing memory dumps a little easier.
-rw-r--r-- | src/rombios32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rombios32.c b/src/rombios32.c index 68bc8c7..88848fd 100644 --- a/src/rombios32.c +++ b/src/rombios32.c @@ -348,6 +348,9 @@ static void bios_shadow_init(PCIDevice *d) copy_bios(d, v); } + // Clear the area just copied. + memcpy((void *)BIOS_TMP_STORAGE, 0, 0x10000); + i440_pcidev = *d; } |