1. 14 2月, 2008 2 次提交
    • C
      [XTENSA] Add support for configurable registers and coprocessors · c658eac6
      Chris Zankel 提交于
      The Xtensa architecture allows to define custom instructions and
      registers. Registers that are bound to a coprocessor are only
      accessible if the corresponding enable bit is set, which allows
      to implement a 'lazy' context switch mechanism. Other registers
      needs to be saved and restore at the time of the context switch
      or during interrupt handling.
      
      This patch adds support for these additional states:
      
      - save and restore registers that are used by the compiler upon
        interrupt entry and exit.
      - context switch additional registers unbound to any coprocessor
      - 'lazy' context switch of registers bound to a coprocessor
      - ptrace interface to provide access to additional registers
      - update configuration files in include/asm-xtensa/variant-fsf
      Signed-off-by: NChris Zankel <chris@zankel.net>
      c658eac6
    • C
      [XTENSA] Remove oldmask from sigcontext and fix register flush · 3befce8f
      Chris Zankel 提交于
      Remove oldmask from the sigcontext structure. Also update wmask
      and windowstart when we flush the AR registers to stack.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      3befce8f
  2. 01 6月, 2007 1 次提交
    • C
      [XTENSA] Remove non-rt signal handling · 29c4dfd9
      Chris Zankel 提交于
      The non-rt signal handling was never really used, so we don't break
      anything. This patch also cleans up the signal stack-frame to make
      it independent from the processor configuration. It also improves
      the method used for controlling single-stepping. We now save and
      restore the 'icountlevel' register that controls single stepping
      and set or clear the saved state to enable or disable it.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      29c4dfd9
  3. 24 6月, 2005 1 次提交