]> git.ipfire.org Git - thirdparty/glibc.git/commit
RISC-V: Atomic and Locking Routines
authorPalmer Dabbelt <palmer@dabbelt.com>
Mon, 29 Jan 2018 18:27:17 +0000 (10:27 -0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Mon, 29 Jan 2018 18:27:17 +0000 (10:27 -0800)
commitd1c09b247130c1aedd11b913f579c7764b1b5ae1
treef7b2eb5361ae69af3490074320178fb04f7e3fd7
parentb2cb5e0298e08b486190610a9e82356ccb6f564b
RISC-V: Atomic and Locking Routines

This patch implements various atomic and locking routines on RISC-V.  We
mandate the A extension on Linux-capable RISC-V systems, so this can
rely on always having the various atomic instructions availiable.

2018-01-29  Palmer Dabbelt  <palmer@sifive.com>

        * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
        * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
        * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
        * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
ChangeLog
sysdeps/riscv/nptl/bits/pthreadtypes-arch.h [new file with mode: 0644]
sysdeps/riscv/nptl/bits/semaphore.h [new file with mode: 0644]
sysdeps/riscv/nptl/libc-lowlevellock.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/riscv/atomic-machine.h [new file with mode: 0644]