#include <basemem.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static unsigned int | basememsize (void) |
| Get size of base memory from BIOS free base memory counter. | |
| unsigned int | extmemsize (void) |
| Get size of extended memory. | |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static unsigned int basememsize | ( | void | ) | [inline, static] |
Get size of base memory from BIOS free base memory counter.
| basemem | Base memory size, in kB |
Definition at line 13 of file memsizes.h.
References get_fbms().
Referenced by get_memmap().
00013 { 00014 return get_fbms(); 00015 }
| unsigned int extmemsize | ( | void | ) |
Get size of extended memory.
| extmem | Extended memory size, in kB |
Definition at line 141 of file memmap.c.
References extmemsize_88(), and extmemsize_e801().
Referenced by get_memmap(), and nbi_process_segments().
00141 { 00142 unsigned int extmem; 00143 00144 /* Try INT 15,e801 first, then fall back to INT 15,88 */ 00145 extmem = extmemsize_e801(); 00146 if ( ! extmem ) 00147 extmem = extmemsize_88(); 00148 return extmem; 00149 }
1.5.7.1