1207753Smm/////////////////////////////////////////////////////////////////////////////// 2207753Smm// 3207753Smm/// \file hardware_physmem.c 4207753Smm/// \brief Get the total amount of physical memory (RAM) 5207753Smm// 6207753Smm// Author: Jonathan Nieder 7207753Smm// 8207753Smm// This file has been put into the public domain. 9207753Smm// You can do whatever you want with this file. 10207753Smm// 11207753Smm/////////////////////////////////////////////////////////////////////////////// 12207753Smm 13207753Smm#include "common.h" 14207753Smm 15207753Smm#include "tuklib_physmem.h" 16207753Smm 17207753Smm 18207753Smmextern LZMA_API(uint64_t) 19207753Smmlzma_physmem(void) 20207753Smm{ 21207753Smm // It is simpler to make lzma_physmem() a wrapper for 22207753Smm // tuklib_physmem() than to hack appropriate symbol visiblity 23207753Smm // support for the tuklib modules. 24207753Smm return tuklib_physmem(); 25207753Smm} 26