mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +03:00
Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
20 lines
350 B
C
20 lines
350 B
C
#ifndef _MEMSIZES_H
|
|
#define _MEMSIZES_H
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#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 */
|