projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d01951
)
Clear area changed during shadow enable.
author
Kevin O'Connor
<kevin@koconnor.net>
Wed, 12 Mar 2008 01:24:53 +0000
(21:24 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Wed, 12 Mar 2008 01:24:53 +0000
(21:24 -0400)
Clearing the area makes analyzing memory dumps a little easier.
src/rombios32.c
patch
|
blob
|
history
diff --git
a/src/rombios32.c
b/src/rombios32.c
index 68bc8c76897957715320681f1999e58ff0c23bfe..88848fdc2cb659c0ebab66d571d152a25125418d 100644
(file)
--- 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;
}