freebsd-nq/sys/amd64/isa
John Baldwin 6c56727456 - Change fast interrupts on x86 to push a full interrupt frame and to
return through doreti to handle ast's.  This is necessary for the
  clock interrupts to work properly.
- Change the clock interrupts on the x86 to be fast instead of threaded.
  This is needed because both hardclock() and statclock() need to run in
  the context of the current process, not in a separate thread context.
- Kill the prevproc hack as it is no longer needed.
- We really need Giant when we call psignal(), but we don't want to block
  during the clock interrupt.  Instead, use two p_flag's in the proc struct
  to mark the current process as having a pending SIGVTALRM or a SIGPROF
  and let them be delivered during ast() when hardclock() has finished
  running.
- Remove CLKF_BASEPRI, which was #ifdef'd out on the x86 anyways.  It was
  broken on the x86 if it was turned on since cpl is gone.  It's only use
  was to bogusly run softclock() directly during hardclock() rather than
  scheduling an SWI.
- Remove the COM_LOCK simplelock and replace it with a clock_lock spin
  mutex.  Since the spin mutex already handles disabling/restoring
  interrupts appropriately, this also lets us axe all the *_intr() fu.
- Back out the hacks in the APIC_IO x86 cpu_initclocks() code to use
  temporary fast interrupts for the APIC trial.
- Add two new process flags P_ALRMPEND and P_PROFPEND to mark the pending
  signals in hardclock() that are to be delivered in ast().

Submitted by:	jakeb (making statclock safe in a fast interrupt)
Submitted by:	cp (concept of delaying signals until ast())
2000-10-06 02:20:21 +00:00
..
atpic_vector.S - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
clock.c - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
icu_ipl.s Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
icu_ipl.S Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
icu_vector.s - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
icu_vector.S - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
icu.h Replaced the INTRMASK and INTRUNMASK macros by "|" and "&~" operations. 1999-12-26 12:43:47 +00:00
intr_machdep.c - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
intr_machdep.h - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
isa_dma.c Add PnP probe methods to some common AT hardware drivers. In each case, 2000-06-23 07:44:33 +00:00
isa_dma.h Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags. 2000-03-13 10:19:32 +00:00
isa.c Don't assume that address of I/O address table increase (PC-98 only). 2000-09-07 14:43:00 +00:00
isa.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ithread.c - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
nmi.c - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
npx.c - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
timerreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vector.s Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
vector.S Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00