mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-23 19:50:24 +00:00
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
37 lines
638 B
C
37 lines
638 B
C
#ifndef _IPXE_MEMMAP_H
|
|
#define _IPXE_MEMMAP_H
|
|
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* Memory mapping
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
/** A usable memory region */
|
|
struct memory_region {
|
|
/** Physical start address */
|
|
uint64_t start;
|
|
/** Physical end address */
|
|
uint64_t end;
|
|
};
|
|
|
|
/** Maximum number of memory regions we expect to encounter */
|
|
#define MAX_MEMORY_REGIONS 8
|
|
|
|
/** A memory map */
|
|
struct memory_map {
|
|
/** Memory regions */
|
|
struct memory_region regions[MAX_MEMORY_REGIONS];
|
|
/** Number of used regions */
|
|
unsigned int count;
|
|
};
|
|
|
|
extern void get_memmap ( struct memory_map *memmap );
|
|
|
|
#endif /* _IPXE_MEMMAP_H */
|