Check the EBDA is mapped before accessing it.
commit982d5ea17847d1e27bb650d9a3205a368b197131
authorMichał Januszewski <spock@gentoo.org>
Wed, 27 Jan 2010 19:40:03 +0000 (27 20:40 +0100)
committerMichał Januszewski <spock@gentoo.org>
Wed, 27 Jan 2010 19:40:03 +0000 (27 20:40 +0100)
tree33973e692d6bc37511a73227b40c4252aebd6590
parent640598459c4bb508c6ab6aba734c49c4bee2f3f7
Check the EBDA is mapped before accessing it.

The EBDA is the one region of memory which may not be mapped.  If this is
the case, and someone tries to access it, emit a proper warning.  Thanks
to Enrico Perla for spotting the problem.
v86_mem.c