2007-01-17 21:03:15 +01:00
|
|
|
Unsolved issues/bugs in the mips/mipsel backend
|
|
|
|
-----------------------------------------------
|
|
|
|
|
2007-01-19 18:56:23 +01:00
|
|
|
General
|
|
|
|
-------
|
2007-10-13 21:00:52 +02:00
|
|
|
- Unimplemented ASEs:
|
|
|
|
- MDMX
|
|
|
|
- SmartMIPS
|
2012-10-24 16:17:14 +02:00
|
|
|
- microMIPS DSP r1 & r2 encodings
|
2007-10-13 21:00:52 +02: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 09:23:37 +02:00
|
|
|
QEMU's softmmu implements a x86-style MMU, with separate entries
|
2007-10-13 21:00:52 +02: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 09:23:37 +02:00
|
|
|
To cope with these differences, QEMU currently flushes the TLB at
|
2007-10-13 21:00:52 +02:00
|
|
|
each ASID change. Using the MMU modes to implement ASIDs hinges on
|
|
|
|
implementing the global bit efficiently.
|
2008-05-07 17:39:12 +02:00
|
|
|
- save/restore of the CPU state is not implemented (see machine.c).
|
2007-01-17 21:03:15 +01:00
|
|
|
|
2007-01-19 18:56:23 +01:00
|
|
|
MIPS64
|
|
|
|
------
|
2007-09-30 03:58:33 +02:00
|
|
|
- Userland emulation (both n32 and n64) not functional.
|
2007-01-19 18:56:23 +01:00
|
|
|
|
|
|
|
"Generic" 4Kc system emulation
|
|
|
|
------------------------------
|
2008-06-25 00:04:41 +02:00
|
|
|
- Doesn't correspond to any real hardware. Should be removed some day,
|
|
|
|
U-Boot is the last remaining user.
|
2007-01-19 18:56:23 +01:00
|
|
|
|
2007-04-28 23:44:04 +02:00
|
|
|
PICA 61 system emulation
|
|
|
|
------------------------
|
|
|
|
- No framebuffer support yet.
|
|
|
|
|
2007-01-19 18:56:23 +01:00
|
|
|
MALTA system emulation
|
|
|
|
----------------------
|
2007-01-17 21:03:15 +01:00
|
|
|
- We fake firmware support instead of doing the real thing
|
2008-06-25 00:04:41 +02:00
|
|
|
- Real firmware (YAMON) falls over when trying to init RAM, presumably
|
|
|
|
due to lacking system controller emulation.
|
2007-12-17 04:53:42 +01:00
|
|
|
- Bonito system controller not implemented
|
|
|
|
- MSC1 system controller not implemented
|