http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Replaced memsizes.c with smaller memmap.c, taking advantage of __data16,
[people/xl0/gpxe.git]
/
src
/
arch
/
i386
/
include
/
memmap.h
1
#ifndef _MEMMAP_H
2
#define _MEMMAP_H
3
4
#include <stdint.h>
5
6
/**
7
* @file
8
*
9
* Memory mapping
10
*
11
*/
12
13
/** A usable memory region */
14
struct memory_region {
15
/** Physical start address */
16
uint64_t start;
17
/** Physical end address */
18
uint64_t end;
19
};
20
21
extern void get_memmap ( struct memory_region *memmap, unsigned int entries );
22
23
#endif /* _MEMMAP_H */