cvs commit: src/sys/sparc64/sparc64 trap.c

Marius Strobl marius at FreeBSD.org
Tue Apr 4 21:00:44 UTC 2006


marius      2006-04-04 21:00:44 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  trap.c 
  Log:
  For USIII CPUs the type of the trap caused by peeking/poking non-existent
  PCI devices apparently was changed from a special deferred trap with TPC
  pointing to the membar #Sync following the failing load/store instruction
  to a precise trap with TPC pointing to the failing load/store instruction.
  Thus remove the check the check whether TPC points to a membar #Sync in
  case of a data access trap as it's off-by-one for USIII CPUs and it should
  be sufficient to check whether the trap happend while in fasword*() to
  properly detect traps caused by peeking/poking. This also corresponds to
  what other OSs do. Note that also only the USIIi manual suggests to check
  the TPC for such traps while the USII one doesn't (in the public USIII
  manual device peeking/poking isn't mentioned at all).
  
  Revision  Changes    Path
  1.81      +5 -7      src/sys/sparc64/sparc64/trap.c


More information about the cvs-src mailing list