david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/arch/i386/include/memsizes.h
Michael Brown b9f99858ab Make the getmemsize() prototype available in memsizes.h, for code that
doesn't want to go to the hassle of processing a full memory map.
2007-01-14 15:32:25 +00:00

18 lines
317 B
C

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