cvs commit: src/sys/ia64/include cpu.h

Marcel Moolenaar marcel at
Fri Sep 19 00:48:24 PDT 2003

marcel      2003/09/19 00:48:22 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/include     cpu.h 
  Change TRAPF_USERMODE and CLOCKF_USERMODE to not test for CPL == 3,
  but for CPL != 0. For some reason yet unknown it is possible for the
  CPL to be 2. This would previously be counted as kernel mode, which
  resulted in nasty panics. By changing the test it is now treated as
  user mode, which is more correct. We still need to figure out how it
  is possible that the privilege level can be 2 (or 1 for that matter),
  because it's not used by us. We only use 3 (user mode) and 0 (kernel
  Revision  Changes    Path
  1.40      +2 -2      src/sys/ia64/include/cpu.h

More information about the cvs-src mailing list