• Palmer Dabbelt's avatar
    RISC-V: Atomic and Locking Code · fab957c1
    Palmer Dabbelt authored
    This contains all the code that directly interfaces with the RISC-V
    memory model.  While this code corforms to the current RISC-V ISA
    specifications (user 2.2 and priv 1.10), the memory model is somewhat
    underspecified in those documents.  There is a working group that hopes
    to produce a formal memory model by the end of the year, but my
    understanding is that the basic definitions we're relying on here won't
    change significantly.
    Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarPalmer Dabbelt <palmer@dabbelt.com>
spinlock.h 3.32 KB