DragonFly BSD
DragonFly kernel List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mtd_cpl question


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 May 2005 18:56:25 -0700 (PDT)

::
::     unsigned int	mtd_cpl[8];
::
::so that the mask can represent all 256 vectors defined in IA.
::
::-- 
::Chuck Tuffli
::Agilent Technologies
:
:    It's constrained to 32 bits at the moment, because all the
:    interrupt handling assembly uses a bit-test-and-set (btsl)
:    and bit-test-and-reset (btrl) to mess with it.
:
:    The cpl will be going away soon anyway.  It's part of the
:    whole spl system and the spl system is going away.  I'm
:    working on fixing the various subsystems that depend on
:    e.g. splimp(), and other places... they will all be
:    replaced by critical sections and other mechanisms.

   I misspoke.  I meant that SPLs are going away soon.  CPLs, however,
   are not.  They are used to control delayed interrupt dispatch.  e.g.
   if an interrupt occurs while we are in a critical section we cannot
   dispatch or schedule the interrupt right then and there, we have to 
   delay the operation.

   So the cpl will have to be extended to 8 32 bit integers.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]