mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:40:44 +01:00
coreinit: Update atomic64 to use pointer to volatile value.
This commit is contained in:
parent
618f48d144
commit
6d5bb75cb3
@ -14,49 +14,49 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSGetAtomic64(uint64_t *ptr);
|
OSGetAtomic64(volatile uint64_t *ptr);
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSSetAtomic64(uint64_t *ptr,
|
OSSetAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
OSCompareAndSwapAtomic64(uint64_t *ptr,
|
OSCompareAndSwapAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t compare,
|
uint64_t compare,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
OSCompareAndSwapAtomicEx64(uint64_t *ptr,
|
OSCompareAndSwapAtomicEx64(volatile uint64_t *ptr,
|
||||||
uint64_t compare,
|
uint64_t compare,
|
||||||
uint64_t value,
|
uint64_t value,
|
||||||
uint64_t *old);
|
uint64_t *old);
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSSwapAtomic64(uint64_t *ptr,
|
OSSwapAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
int64_t
|
int64_t
|
||||||
OSAddAtomic64(int64_t *ptr,
|
OSAddAtomic64(volatile int64_t *ptr,
|
||||||
int64_t value);
|
int64_t value);
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSAndAtomic64(uint64_t *ptr,
|
OSAndAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSOrAtomic64(uint64_t *ptr,
|
OSOrAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
uint64_t
|
uint64_t
|
||||||
OSXorAtomic64(uint64_t *ptr,
|
OSXorAtomic64(volatile uint64_t *ptr,
|
||||||
uint64_t value);
|
uint64_t value);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
OSTestAndClearAtomic64(uint64_t *ptr,
|
OSTestAndClearAtomic64(volatile uint64_t *ptr,
|
||||||
uint32_t bit);
|
uint32_t bit);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
OSTestAndSetAtomic64(uint64_t *ptr,
|
OSTestAndSetAtomic64(volatile uint64_t *ptr,
|
||||||
uint32_t bit);
|
uint32_t bit);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user