Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 19:08:27 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/sparc64 machdep.c trap.c
Message-ID:  <200606071908.k57J8RrG065593@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2006-06-07 19:08:27 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sparc64/sparc64  machdep.c trap.c 
  Log:
  MFC: sys/sparc64/sparc64/machdep.c 1.129 (partial),
       sys/sparc64/sparc64/trap.c 1.80 (partial)
  
  - s,tramoline,trampoline, in a comment.
  - Use FBSDID in trap.c
  - Make the global trap_sig[] static as it's not used outside of trap.c.
  - Sync cpu_thread_siginfo() and sendsig() with the other archs; for fast
    data access MMU miss and data access protection traps set ksi_addr to
    the SFAR reg which contains the faulting address and otherwise to the
    TPC reg. Generally the TCP reg contains the address of the instruction
    that caused the exception, except for fast instruction access traps
    (and some others; more refinement may be needed here) it also contains
    the faulting address.
    Previously, sendsig() always set si_addr to the SFAR reg which is wrong
    for most traps and cpu_thread_siginfo() didn't set it at all.
  - In sendsig() add support for FreeBSD old-style signals.
  
  Revision   Changes    Path
  1.125.2.3  +25 -6     src/sys/sparc64/sparc64/machdep.c
  1.74.2.1   +4 -2      src/sys/sparc64/sparc64/trap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606071908.k57J8RrG065593>