1. 06 3月, 2012 1 次提交
    • J
      openrisc: sanitize use of orig_gpr11 · 6cbe5e95
      Jonas Bonn 提交于
      The pt_regs struct had both a 'syscallno' field and an 'orig_gpr11' field
      and it wasn't really clear how these were supposed to be used.  This patch
      removes the syscallno field altogether and makes orig_gpr11 work more
      like other architectures: keep track of syscall number in progress or
      hold -1 for non-syscall exceptions.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      6cbe5e95
  2. 17 2月, 2012 1 次提交
  3. 23 7月, 2011 1 次提交
    • J
      OpenRISC: PTrace · e5ad95ce
      Jonas Bonn 提交于
      This patch implements minimal PTrace support.  The pt_regs structure is
      not exported to userspace for OpenRISC; rather, the GETREGSET mechanism
      is intended to be used and the registers, as such, exported in the core
      dump format which is ABI stable.  This is in line with what is intended
      for new architectures as of 2.6.34 and has the advantage of permitting
      the layout of the registers on the kernel stack (as per pt_regs) to be
      freely modified.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      e5ad95ce