diff options
author | Leon Alrae <leon.alrae@imgtec.com> | 2016-03-25 13:49:30 +0000 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2016-03-30 09:14:00 +0100 |
commit | 34fa7e83e117cb061a9ff5e53a9863b9bfb5f2f6 (patch) | |
tree | b491f54365b6e750e1cf7607ffc3355130d45dc0 /slirp/tcp_input.c | |
parent | a9a95061715ca09abff56a3f239f704c410912c2 (diff) | |
download | qemu-34fa7e83e117cb061a9ff5e53a9863b9bfb5f2f6.zip qemu-34fa7e83e117cb061a9ff5e53a9863b9bfb5f2f6.tar.gz qemu-34fa7e83e117cb061a9ff5e53a9863b9bfb5f2f6.tar.bz2 |
hw/mips: implement ITC Configuration Tags and Storage Cells
Implement ITC as a single object consisting of two memory regions:
1) tag_io: ITC Configuration Tags (i.e. ITCAddressMap{0,1} registers) which
are accessible by the CPU via CACHE instruction. Also adding
MemoryRegion *itc_tag to the CPUMIPSState so that CACHE instruction will
dispatch reads/writes directly.
2) storage_io: memory-mapped ITC Storage whose address space is configurable
(i.e. enabled/remapped/resized) by writing to ITCAddressMap{0,1} registers.
ITC Storage contains FIFO and Semaphore cells. Read-only FIFO bit in the
ITC cell tag indicates the type of the cell. If the ITC Storage contains
both types of cells then FIFOs are located before Semaphores.
Since issuing thread can get blocked on the access to a cell (in E/F
Synchronized and P/V Synchronized Views) each cell has a bitmap to track
which threads are currently blocked.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'slirp/tcp_input.c')
0 files changed, 0 insertions, 0 deletions