1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file hardware_physmem.c
4 /// \brief Get the total amount of physical memory (RAM)
5 //
6 // Author: Jonathan Nieder
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12
13 #include "common.h"
14
15 #include "tuklib_physmem.h"
16
17
18 extern LZMA_API(uint64_t)
lzma_physmem(void)19 lzma_physmem(void)
20 {
21 // It is simpler to make lzma_physmem() a wrapper for
22 // tuklib_physmem() than to hack appropriate symbol visibility
23 // support for the tuklib modules.
24 return tuklib_physmem();
25 }
26