diff options
author | Richard Braun <rbraun@sceen.net> | 2019-08-20 13:36:12 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2019-08-20 13:36:12 +0200 |
commit | c15a8b25d7ddd9e094cd1920a7b0da5a2002cfe6 (patch) | |
tree | 74160c275974c1ef03690f2adc8149bdc732270a /kern | |
parent | 0eb44e36d9a699ee00ab8e33a5f913f81955df2d (diff) |
Add content to the memory man page
Diffstat (limited to 'kern')
-rw-r--r-- | kern/atomic.h | 3 | ||||
-rw-r--r-- | kern/atomic_i.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/kern/atomic.h b/kern/atomic.h index ae0ceeb9..2ecb28f7 100644 --- a/kern/atomic.h +++ b/kern/atomic.h @@ -26,6 +26,9 @@ * * TODO Replace mentions of "memory barriers" throughout the code with * C11 memory model terminology. + * + * TODO Decide if architecture-specific atomic operations should be + * provided, and if so, how. */ #ifndef KERN_ATOMIC_H diff --git a/kern/atomic_i.h b/kern/atomic_i.h index 2d78e2ec..b7e1e7b8 100644 --- a/kern/atomic_i.h +++ b/kern/atomic_i.h @@ -40,6 +40,8 @@ * listed, so that unsupported ones don't select pointer operations. * Instead, they select a function with an explicit name indicating * an invalid type. + * + * TODO Fix implementation for signed types. */ #define atomic_select(ptr, op) \ _Generic(*(ptr), \ |