liblzma: CRC CLMUL: Omit is_arch_extension_supported() when not needed
[xz/debian.git] / src / common / tuklib_physmem.h
blobf35bfbab9c169f7f711f5f61b8f4b653fcf16128
1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file tuklib_physmem.h
6 /// \brief Get the amount of physical memory
7 //
8 // Author: Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef TUKLIB_PHYSMEM_H
13 #define TUKLIB_PHYSMEM_H
15 #include "tuklib_common.h"
16 TUKLIB_DECLS_BEGIN
18 #define tuklib_physmem TUKLIB_SYMBOL(tuklib_physmem)
19 extern uint64_t tuklib_physmem(void);
20 ///<
21 /// \brief Get the amount of physical memory in bytes
22 ///
23 /// \return Amount of physical memory in bytes. On error, zero is
24 /// returned.
26 TUKLIB_DECLS_END
27 #endif