commit | 8f82a4fb4aff536e48653c2b10a36018ea77e29e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Apr 06 18:48:39 2014 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Fri Apr 11 11:26:23 2014 -0400 |
tree | ae0cf732c501e3dccf7c2236cf0feba3e83686bc | |
parent | f6b44b81e61be2e03a9e296dd592cbf4d78a336b [diff] |
vgabios: PMM scan was incorrectly depending on a zero %ds segment. Make sure the PMM scanning code uses the GET_FARVAR macro. (The existing code only worked because SeaBIOS happens to call the vgabios in bigreal mode with %ds == %ss = 0.) Also, the scan doesn't require bigreal mode - use accesses relative to the SEG_BIOS segment so that the scan can work in regular real mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>