1. 27 2月, 2009 2 次提交
    • M
      sh: shared register saving code for sh3/sh4/sh4a · 1d015cf0
      Magnus Damm 提交于
      This patch reworks the sh3/sh4/sh4a register saving code in
      the following ways:
       - break out prepare_stack_save_dsp() from handle_exception()
       - break out save_regs() from handle_exception()
       - the register saving order is unchanged
       - align new functions to fit in cache lines
       - separate exception code from interrupt code
       - keep main code flow in a single cache line per exception vector
       - use bsr/rts for regular functions (save pr first)
       - keep data in one shared cache line (exception_data)
       - document the functions
       - tie in the hp6xx code
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1d015cf0
    • A
      sh: maple: Support block reads and writes. · b233b28e
      Adrian McMenamin 提交于
      This patch updates the maple bus to support asynchronous block reads
      and writes as well as generally improving the quality of the code and
      supporting concurrency (all needed to support the Dreamcast visual
      memory unit - a driver will also be posted for that).
      
      Changes in the bus driver necessitate some changes in the two maple bus
      input drivers that are currently in mainline.
      
      As well as supporting block reads and writes this code clean up removes
      some poor handling of locks, uses an atomic status variable to serialise
      access to devices and more robusly handles the general performance
      problems of the bus.
      Signed-off-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b233b28e
  2. 12 2月, 2009 35 次提交
  3. 11 2月, 2009 3 次提交