2007-01-17 23:03:15 +03:00
|
|
|
Unsolved issues/bugs in the mips/mipsel backend
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2007-01-19 20:56:23 +03:00
|
|
|
General
|
|
|
|
-------
|
2007-10-13 23:00:52 +04:00
|
|
|
- Unimplemented ASEs:
|
|
|
|
- MDMX
|
|
|
|
- SmartMIPS
|
2012-10-24 18:17:14 +04:00
|
|
|
- microMIPS DSP r1 & r2 encodings
|
2007-10-13 23:00:52 +04:00
|
|
|
- MT ASE only partially implemented and not functional
|
|
|
|
- Shadow register support only partially implemented,
|
|
|
|
lacks set switching on interrupt/exception.
|
|
|
|
- 34K ITC not implemented.
|
|
|
|
- A general lack of documentation, especially for technical internals.
|
|
|
|
Existing documentation is x86-centric.
|
|
|
|
- Reverse endianness bit not implemented
|
|
|
|
- The TLB emulation is very inefficient:
|
2012-04-07 11:23:37 +04:00
|
|
|
QEMU's softmmu implements a x86-style MMU, with separate entries
|
2007-10-13 23:00:52 +04:00
|
|
|
for read/write/execute, a TLB index which is just a modulo of the
|
|
|
|
virtual address, and a set of TLBs for each user/kernel/supervisor
|
|
|
|
MMU mode.
|
|
|
|
MIPS has a single entry for read/write/execute and only one MMU mode.
|
|
|
|
But it is fully associative with randomized entry indices, and uses
|
|
|
|
up to 256 ASID tags as additional matching criterion (which roughly
|
|
|
|
equates to 256 MMU modes). It also has a global flag which causes
|
|
|
|
entries to match regardless of ASID.
|
2012-04-07 11:23:37 +04:00
|
|
|
To cope with these differences, QEMU currently flushes the TLB at
|
2007-10-13 23:00:52 +04:00
|
|
|
each ASID change. Using the MMU modes to implement ASIDs hinges on
|
|
|
|
implementing the global bit efficiently.
|
2008-05-07 19:39:12 +04:00
|
|
|
- save/restore of the CPU state is not implemented (see machine.c).
|
2007-01-17 23:03:15 +03:00
|
|
|
|
2007-01-19 20:56:23 +03:00
|
|
|
MIPS64
|
|
|
|
------
|
2007-09-30 05:58:33 +04:00
|
|
|
- Userland emulation (both n32 and n64) not functional.
|
2007-01-19 20:56:23 +03:00
|
|
|
|
|
|
|
"Generic" 4Kc system emulation
|
|
|
|
------------------------------
|
2008-06-25 02:04:41 +04:00
|
|
|
- Doesn't correspond to any real hardware. Should be removed some day,
|
|
|
|
U-Boot is the last remaining user.
|
2007-01-19 20:56:23 +03:00
|
|
|
|
2007-04-29 01:44:04 +04:00
|
|
|
PICA 61 system emulation
|
|
|
|
------------------------
|
|
|
|
- No framebuffer support yet.
|
|
|
|
|
2007-01-19 20:56:23 +03:00
|
|
|
MALTA system emulation
|
|
|
|
----------------------
|
2007-01-17 23:03:15 +03:00
|
|
|
- We fake firmware support instead of doing the real thing
|
2008-06-25 02:04:41 +04:00
|
|
|
- Real firmware (YAMON) falls over when trying to init RAM, presumably
|
|
|
|
due to lacking system controller emulation.
|
2007-12-17 06:53:42 +03:00
|
|
|
- Bonito system controller not implemented
|
|
|
|
- MSC1 system controller not implemented
|