1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
5 /// \file hardware_physmem.c
6 /// \brief Get the total amount of physical memory (RAM)
8 // Author: Jonathan Nieder
10 ///////////////////////////////////////////////////////////////////////////////
14 #include "tuklib_physmem.h"
17 extern LZMA_API(uint64_t)
20 // It is simpler to make lzma_physmem() a wrapper for
21 // tuklib_physmem() than to hack appropriate symbol visibility
22 // support for the tuklib modules.
23 return tuklib_physmem();