cvs commit: src/sys/sparc64/include trap.h src/sys/sparc64/sparc64 machdep.c trap.c

Marius Strobl marius at
Thu Sep 4 20:53:09 UTC 2008

marius      2008-09-04 20:52:54 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  trap.h 
    sys/sparc64/sparc64  machdep.c trap.c 
  SVN rev 182773 on 2008-09-04 20:52:54Z by marius
  Use the PROM provided SUNW,set-trap-table to take over the trap
  table. This is required in order to set obp-control-relinquished
  within the PROM, allowing to safely read the OFW translations node.
  Without this, f.e. a `ofwdump -ap` triggers a fatal reset error or
  worse things on machines based on USIII and beyond.
  In theory this should allow to remove touching %tba in cpu_setregs(),
  in practice we seem to currently face a chicken and egg problem when
  doing so however.
  Revision  Changes    Path
  1.13      +1 -0      src/sys/sparc64/include/trap.h
  1.147     +10 -0     src/sys/sparc64/sparc64/machdep.c
  1.94      +24 -0     src/sys/sparc64/sparc64/trap.c

More information about the cvs-all mailing list