14 Feb, 2008

4 commits

  • For the 'return' command, GDB needs to adjust WINDOWBASE.
    In case WB is different from 0, we need to rotate the
    window register file and update WINDOWSTART and WMASK.
    This patch also removes some ret|= statements for
    __get_user/__put_user as the address range was alrady
    checked a couple of lines earlier.

    Signed-off-by: Chris Zankel

    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: Chris Zankel

    Chris Zankel
     
  • Avoids compiler warning.

    Signed-off-by: Marc Gauthier

    Marc Gauthier
     
  • Remove additional registers from the ELF gregset structure that
    are only used by the kernel or are not required or invalid in
    user-space. The ar registers are always aligned to a windowbase
    value of 0, and the WB register is always assumed to be 0.
    Increase the size of the structure to 128 entries. This will
    provide enough space in future.

    Signed-off-by: Chris Zankel

    Chris Zankel
     

08 Feb, 2008

1 commit


28 Aug, 2007

1 commit


01 Jun, 2007

1 commit

  • 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: Chris Zankel

    Chris Zankel
     

11 Dec, 2006

1 commit

  • The Xtensa port contained many header files that were never needed. This
    rather lengthy patch removes all those files. Unfortunately, there were
    many dependencies that needed to be updated, so this patch touches quite a
    few source files.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     

07 Nov, 2005

1 commit

  • Fix more include file problems that surfaced since I submitted the previous
    fix-missing-includes.patch. This should now allow not to include sched.h
    from module.h, which is done by a followup patch.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

24 Jun, 2005

1 commit