You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

memsizes.h 358B

12345678910111213141516171819
  1. #ifndef _MEMSIZES_H
  2. #define _MEMSIZES_H
  3. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  4. #include <basemem.h>
  5. /**
  6. * Get size of base memory from BIOS free base memory counter
  7. *
  8. * @ret basemem Base memory size, in kB
  9. */
  10. static inline unsigned int basememsize ( void ) {
  11. return get_fbms();
  12. }
  13. extern unsigned int extmemsize ( void );
  14. #endif /* _MEMSIZES_H */