320b072c7a
Allow for an arbitrary number of splits of the system memory map via INT 15,e820. Features of the new map-mangling algorithm include: Supports random access to e820 map entries. Requires only sequential access support from the underlying e820 map, even if our caller uses random access. Empty regions will always be stripped. Always terminates with %ebx=0, even if the underlying map terminates with CF=1. Allows for an arbitrary number of hidden regions, with underlying regions split into as many subregions as necessary. Total size increase to achieve this is 193 bytes.
16 lines
212 B
C
16 lines
212 B
C
#ifndef _GPXE_HIDEMEM_H
|
|
#define _GPXE_HIDEMEM_H
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* Hidden memory regions
|
|
*
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
extern void hide_umalloc ( physaddr_t start, physaddr_t end );
|
|
|
|
#endif /* _GPXE_HIDEMEM_H */
|