about summary refs log tree commit diff
path: root/include/sys/auxv.h
Commit message (Collapse)AuthorAgeFilesLines
* add bits/hwcap.h and include it in sys/auxv.hSzabolcs Nagy2016-10-201-0/+1
| | | | | | | | | aarch64, arm, mips, mips64, mipsn32, powerpc, powerpc64 and sh have cpu feature bits defined in linux for AT_HWCAP auxv entry, so expose those in sys/auxv.h it seems the mips hwcaps were never exposed to userspace neither by linux nor by glibc, but that's most likely an oversight.
* add getauxval functionRich Felker2014-04-071-0/+16
in a sense this implementation is incomplete since it doesn't provide the HWCAP_* macros for use with AT_HWCAP, which is perhaps the most important intended usage case for getauxval. they will be added at a later time.