aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec-common.c
diff options
context:
space:
mode:
authorLeon Alrae <leon.alrae@imgtec.com>2016-03-25 13:49:32 +0000
committerLeon Alrae <leon.alrae@imgtec.com>2016-03-30 09:14:00 +0100
commit4051089d61166e7b548ac4b62288a52312331f31 (patch)
treed028b6b4f92225edfebb42bbd7f9c5f5992cea0d /cpu-exec-common.c
parent5924c869c05c89c8699c5b2f6347880ba88e1989 (diff)
downloadqemu-4051089d61166e7b548ac4b62288a52312331f31.zip
qemu-4051089d61166e7b548ac4b62288a52312331f31.tar.gz
qemu-4051089d61166e7b548ac4b62288a52312331f31.tar.bz2
hw/mips: implement ITC Storage - Empty/Full Sync and Try Views
Empty/Full Synchronized and Try views can be used to access FIFO cells. Store to the FIFO cell pushes the value into the queue, load pops the oldest element from the queue. Cell's Full and Empty bits are automatically updated to reflect new state of the cell. Empty/Full Synchronized View causes the issuing thread to block when FIFO is empty while thread is performing a read, or FIFO is full while thread is performing a write. Empty/Full Try View never blocks the thread. If cell is full then write is ignored, if cell is empty then load returns 0. Trap bit (i.e. Gating Storage exceptions) not implemented. Store Conditional support for E/F Try View (i.e. indicate failure if FIFO is full) not implemented. Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'cpu-exec-common.c')
0 files changed, 0 insertions, 0 deletions