diff options
author | Evan Green <evan@rivosinc.com> | 2024-02-27 14:56:37 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-03-01 07:14:55 -0800 |
commit | 426d0e1aa8f17426d13707594111df712d2b8911 (patch) | |
tree | 6cb5b902a811828fa8e6dde2c114a14f8726728f /sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist | |
parent | 71648e80042658f23965924616fb7db9c2fccff9 (diff) | |
download | glibc-426d0e1aa8f17426d13707594111df712d2b8911.tar.gz glibc-426d0e1aa8f17426d13707594111df712d2b8911.tar.xz glibc-426d0e1aa8f17426d13707594111df712d2b8911.zip |
riscv: Add Linux hwprobe syscall support
Add awareness and a thin wrapper function around a new Linux system call that allows callers to get architecture and microarchitecture information about the CPUs from the kernel. This can be used to do things like dynamically choose a memcpy implementation. Signed-off-by: Evan Green <evan@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist')
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist index f90c94bc35..6397a9cb91 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist @@ -2511,3 +2511,4 @@ GLIBC_2.39 stdc_trailing_zeros_ui F GLIBC_2.39 stdc_trailing_zeros_ul F GLIBC_2.39 stdc_trailing_zeros_ull F GLIBC_2.39 stdc_trailing_zeros_us F +GLIBC_2.40 __riscv_hwprobe F |