aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/arch/i386/include/memsizes.h
blob: 7b217494aa304f0fdadff3a81d39b60c109a99cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _MEMSIZES_H
#define _MEMSIZES_H

FILE_LICENCE ( GPL2_OR_LATER );

#include <basemem.h>

/**
 * Get size of base memory from BIOS free base memory counter
 *
 * @ret basemem		Base memory size, in kB
 */
static inline unsigned int basememsize ( void ) {
	return get_fbms();
}

extern unsigned int extmemsize ( void );

#endif /* _MEMSIZES_H */