iPXE
memsizes.h
Go to the documentation of this file.
00001 #ifndef _MEMSIZES_H
00002 #define _MEMSIZES_H
00003 
00004 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00005 
00006 #include <basemem.h>
00007 
00008 /**
00009  * Get size of base memory from BIOS free base memory counter
00010  *
00011  * @ret basemem         Base memory size, in kB
00012  */
00013 static inline unsigned int basememsize ( void ) {
00014         return get_fbms();
00015 }
00016 
00017 extern unsigned int extmemsize ( void );
00018 
00019 #endif /* _MEMSIZES_H */