]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/xz/src/liblzma/common/hardware_physmem.c
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / xz / src / liblzma / common / hardware_physmem.c
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)
19 lzma_physmem(void)
20 {
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();
25 }