1. 26 2月, 2016 1 次提交
  2. 30 10月, 2015 1 次提交
  3. 18 9月, 2015 1 次提交
    • P
      target-mips: improve exception handling · 9c708c7f
      Pavel Dovgaluk 提交于
      This patch improves exception handling in MIPS.
      Instructions generate several types of exceptions.
      When exception is generated, it breaks the execution of the current
      translation block. Implementation of the exceptions handling does not
      correctly restore icount for the instruction which caused the exception.
      In most cases icount will be decreased by the value equal to the size of
      TB. This patch passes pointer to the translation block internals to the
      exception handler. It allows correct restoring of the icount value.
      Signed-off-by: NPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
      Reviewed-by: NAurelien Jarno <aurelien@aurel32.net>
      Reviewed-by: NLeon Alrae <leon.alrae@imgtec.com>
      [leon.alrae@imgtec.com: avoid retranslation in linux-user SC, break lines
       which are over 80 chars, remove v3 changelog from the commit message]
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      9c708c7f
  4. 26 6月, 2015 1 次提交
  5. 11 6月, 2015 2 次提交
  6. 16 12月, 2014 1 次提交
    • M
      target-mips: Fix CP0.Config3.ISAOnExc write accesses · 90f12d73
      Maciej W. Rozycki 提交于
      Fix CP0.Config3.ISAOnExc write accesses on microMIPS processors.  This
      bit is mandatory for any processor that implements the microMIPS
      instruction set.  This bit is r/w for processors that implement both the
      standard MIPS and the microMIPS instruction set.  This bit is r/o and
      hardwired to 1 if only the microMIPS instruction set is implemented.
      
      There is no other bit ever writable in CP0.Config3 so defining a
      corresponding `CP0_Config3_rw_bitmask' member in `CPUMIPSState' is I
      think an overkill.  Therefore make the ability to write the bit rely on
      the presence of ASE_MICROMIPS set in the instruction flags.
      
      The read-only case of the microMIPS instruction set being implemented
      only can be added when we add support for such a configuration.  We do
      not currently have such support, we have no instruction flag that would
      control the presence of the standard MIPS instruction set nor any
      associated code in instruction decoding.
      
      This change is needed to boot a microMIPS Linux kernel successfully,
      otherwise it hangs early on as interrupts are enabled and then the
      exception handler invoked loops as its first instruction is interpreted
      in the wrong execution mode and triggers another exception right away.
      And then over and over again.
      
      We already check the current setting of the CP0.Config3.ISAOnExc in
      `set_hflags_for_handler' to set the ISA bit correctly on the exception
      handler entry so it is the ability to set it that is missing only.
      Signed-off-by: NMaciej W. Rozycki <macro@codesourcery.com>
      Reviewed-by: NLeon Alrae <leon.alrae@imgtec.com>
      Signed-off-by: NLeon Alrae <leon.alrae@imgtec.com>
      90f12d73
  7. 03 11月, 2014 11 次提交
  8. 14 10月, 2014 2 次提交
  9. 13 10月, 2014 1 次提交
  10. 29 5月, 2014 1 次提交
  11. 10 2月, 2014 3 次提交
  12. 11 10月, 2013 1 次提交
  13. 24 2月, 2013 1 次提交
  14. 01 2月, 2013 1 次提交
  15. 19 12月, 2012 1 次提交
  16. 01 11月, 2012 8 次提交
  17. 28 10月, 2012 1 次提交
  18. 20 9月, 2012 1 次提交
  19. 16 9月, 2012 1 次提交