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

Marcel Moolenaar marcel at
Fri Sep 19 15:41:54 PDT 2003

marcel      2003/09/19 15:41:52 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        trap.c 
  Revamp trap(): make it more explicit which kinds of traps/faults we
  can get (or not) and what we do with them. This fixes the behaviour
  for NaT consumption and speculation faults in that we now don't panic
  for user faults.
  Remove the dopanic label and move the code to a function. This makes
  it easier in the simulator to set a breakpoint.
  While here, remove the special handling of the old break-based syscall
  path and move it to where we handle the break vector. While here,
  reserve a new break immediate for KSE. We currently use the old break-
  based syscall to deal with restoring async contexts. However, it has
  the side-effect of also setting the signal mask and callong ast() on
  the way out. The new break immediate simply restores the context and
  returns without calling ast().
  Revision  Changes    Path
  1.90      +304 -264  src/sys/ia64/ia64/trap.c

More information about the cvs-src mailing list