b9f99858ab
doesn't want to go to the hassle of processing a full memory map.
18 lines
317 B
C
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 */
|