1 ///////////////////////////////////////////////////////////////////////////////
3 /// \file hardware_physmem.c
4 /// \brief Get the total amount of physical memory (RAM)
6 // Author: Jonathan Nieder
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
15 #include "tuklib_physmem.h"
18 extern LZMA_API(uint64_t)
21 // It is simpler to make lzma_physmem() a wrapper for
22 // tuklib_physmem() than to hack appropriate symbol visiblity
23 // support for the tuklib modules.
24 return tuklib_physmem();