Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2003 00:48:22 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/include cpu.h
Message-ID:  <200309190748.h8J7mMjj068065@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/09/19 00:48:22 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/include     cpu.h 
  Log:
  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
  mode).
  
  Revision  Changes    Path
  1.40      +2 -2      src/sys/ia64/include/cpu.h



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