diff options
author | Leon Alrae <leon.alrae@imgtec.com> | 2016-03-25 13:49:33 +0000 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2016-03-30 09:14:00 +0100 |
commit | 40dc9dc3394d2796341aeda6cd14bac46ce24735 (patch) | |
tree | f241256481fd9737a838498f4b6c7c46bdbf932b /hw/misc/tmp105.h | |
parent | 4051089d61166e7b548ac4b62288a52312331f31 (diff) |
hw/mips: implement ITC Storage - P/V Sync and Try Views
P/V Synchronized and Try Views can be used to access Semaphore cells.
Load returns current value and post-decrements the value in the cell
(until it reaches zero). Stores increment the value (until it saturates
at 0xFFFF).
P/V Synchronized View causes the issuing thread to block on read if value
is 0. P/V Try View does not block the thread, it returns 0 in this case.
Cell's Empty and Full bits are not modified.
Trap bit (i.e. Gating Storage exceptions) not implemented.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/misc/tmp105.h')
0 files changed, 0 insertions, 0 deletions