[pcbios] Add facility for testing arbitrary E820 memory maps
authorMichael Brown <mcb30@etherboot.org>
Thu, 25 Sep 2008 02:34:26 +0000 (03:34 +0100)
committerMichael Brown <mcb30@etherboot.org>
Thu, 25 Sep 2008 02:34:26 +0000 (03:34 +0100)
commitc24bc349ead939d90b5784dbff3cd9fdb9d83ba8
tree3680245fec0489b4a05423fc471081eefccfda66
parent9c71949d1fd59701664a71d52f6fa841c1661b89
[pcbios] Add facility for testing arbitrary E820 memory maps

We seem to be having issues with various E820 memory maps.  These
problems are often difficult to reproduce, requiring access to the
specific system exhibiting the problem.

Add a facility for hooking in a fake E820 map generator, using an
arbitrary map defined in a C array, solely in order to be able to test
the map-mangling code against arbitrary E820 maps.
src/arch/i386/firmware/pcbios/fakee820.c [new file with mode: 0644]
src/arch/i386/firmware/pcbios/hidemem.c
src/arch/i386/include/fakee820.h [new file with mode: 0644]