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 /default-configs/mips-softmmu-common.mak | |
parent | a9a95061715ca09abff56a3f239f704c410912c2 (diff) | |
download | qemu-34fa7e83e117cb061a9ff5e53a9863b9bfb5f2f6.zip |
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 'default-configs/mips-softmmu-common.mak')
-rw-r--r-- | default-configs/mips-softmmu-common.mak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak index 18e4beb52a..0394514b93 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -31,3 +31,4 @@ CONFIG_MC146818RTC=y CONFIG_ISA_TESTDEV=y CONFIG_EMPTY_SLOT=y CONFIG_MIPS_CPS=y +CONFIG_MIPS_ITU=y |