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

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