platform_bionic/libc
Elliott Hughes 02df7388f1 sysconf(): implement cache queries.
This is a bit disappointing. I'd not implemented this in the past
because it wasn't available on all platforms, and -- although the
riscv64 implementation was just a cool optimization -- I thought that
the /sys stuff was actually portable, until I ran it on arm64 hardware.
So here we have getauxval() for riscv64, /sys for x86-64, and our best
guess based on ctr_el0 for arm64.

Bug: http://b/294034962
Test: ran tests on the host, an arm64 device, and riscv64 host and qemu
Change-Id: I420b69b976d30668d4d2ac548c4229e2a4eafb20
2023-08-28 14:48:12 +00:00
..
arch-arm
arch-arm64 Fix the *return* types in the arm64 dynamic function dispatch. 2023-05-22 19:28:33 +00:00
arch-common/bionic Remove #if cruft. 2023-03-01 20:26:41 +00:00
arch-riscv64 Add the L() macro for local labels to <private/bionic_asm.h>. 2023-08-04 15:12:30 -07:00
arch-x86
arch-x86_64 Use L() in libc/arch-x86_64/bionic/*.S. 2023-08-07 09:34:06 -07:00
async_safe Fix mte build breakage. 2023-03-21 18:11:02 +00:00
b64/include/bionic
bionic sysconf(): implement cache queries. 2023-08-28 14:48:12 +00:00
dns
execinfo/include
fts/include
include Merge "Add some new risc-v ELF relocations." into main 2023-08-20 08:20:14 +00:00
kernel Update to v6.4 kernel headers. 2023-07-10 10:59:05 -07:00
malloc_debug Modify how the malloc debug tests run. 2023-06-30 15:09:44 -07:00
malloc_hooks
platform Merge "bionic: Fix typo in the argument passed to getauxval()" into main 2023-08-20 17:05:31 +00:00
private bionic: libc: WriteProtected use max_page_size() 2023-08-19 00:05:12 +00:00
seccomp
stdio Make multibyte result constants public. 2023-08-04 19:48:35 +00:00
system_properties Rename prop_bt. 2023-08-08 14:05:01 +00:00
tools Add __riscv_flush_icache() to <sys/cachectl.h>. 2023-07-12 16:30:55 -07:00
tzcode Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
upstream-freebsd Reuse the libm scalbn() as ldexp(). 2023-07-20 21:05:44 +00:00
upstream-netbsd Merge "Sync upstream NetBSD." into main 2023-07-20 14:21:01 +00:00
upstream-openbsd Sync upstream OpenBSD. 2023-07-19 13:36:44 -07:00
versioner-dependencies
Android.bp libm/libc: remove 'allow_untyped_symbols' flags 2023-08-01 17:23:49 +00:00
BUILD
fs_config_generator.py
libc.map.txt riscv64: add <sys/hwprobe.h>. 2023-07-28 09:29:06 -07:00
libstdc++.map.txt
MODULE_LICENSE_BSD
NOTICE Expose tzalloc()/localtime_rz()/mktime_z()/tzfree(). 2023-06-16 08:10:47 -07:00
SECCOMP_ALLOWLIST_APP.TXT
SECCOMP_ALLOWLIST_COMMON.TXT riscv64: add <sys/hwprobe.h>. 2023-07-28 09:29:06 -07:00
SECCOMP_ALLOWLIST_SYSTEM.TXT
SECCOMP_BLOCKLIST_APP.TXT
SECCOMP_BLOCKLIST_COMMON.TXT
SECCOMP_PRIORITY.TXT
SYSCALLS.TXT riscv64: use vdso for __riscv_hwprobe(). 2023-07-31 12:24:31 -07:00
version_script.txt