2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-16 08:11:31 +00:00
xNBA/src/arch/i386/include/memmap.h
Michael Brown 77a65075a6 Replaced memsizes.c with smaller memmap.c, taking advantage of __data16,
and creating a memory map that's easier to work with than the E820 map.
2006-05-24 01:37:46 +00:00

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 */