mirror of
https://github.com/ipxe/ipxe
synced 2026-01-03 02:13:23 +03:00
24 lines
352 B
C
24 lines
352 B
C
|
|
#ifndef _MEMMAP_H
|
||
|
|
#define _MEMMAP_H
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @file
|
||
|
|
*
|
||
|
|
* Memory mapping
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
/** A usable memory region */
|
||
|
|
struct memory_region {
|
||
|
|
/** Physical start address */
|
||
|
|
uint64_t start;
|
||
|
|
/** Physical end address */
|
||
|
|
uint64_t end;
|
||
|
|
};
|
||
|
|
|
||
|
|
extern void get_memmap ( struct memory_region *memmap, unsigned int entries );
|
||
|
|
|
||
|
|
#endif /* _MEMMAP_H */
|