iPXE
memsizes.h
Go to the documentation of this file.
1 #ifndef _MEMSIZES_H
2 #define _MEMSIZES_H
3 
4 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
5 
6 #include <basemem.h>
7 
8 /**
9  * Get size of base memory from BIOS free base memory counter
10  *
11  * @ret basemem Base memory size, in kB
12  */
13 static inline unsigned int basememsize ( void ) {
14  return get_fbms();
15 }
16 
17 extern unsigned int extmemsize ( void );
18 
19 #endif /* _MEMSIZES_H */
static unsigned int get_fbms(void)
Read the BIOS free base memory counter.
Definition: basemem.h:21
static unsigned int basememsize(void)
Get size of base memory from BIOS free base memory counter.
Definition: memsizes.h:13
Base memory allocation.
unsigned int extmemsize(void)
Get size of extended memory.
Definition: memmap.c:156
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)