mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
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.
8 lines
133 B
C
8 lines
133 B
C
#ifndef _FAKEE820_H
|
|
#define _FAKEE820_H
|
|
|
|
extern void fake_e820 ( void );
|
|
extern void unfake_e820 ( void );
|
|
|
|
#endif /* _FAKEE820_H */
|