freebsd-nq/sys/i386
Bruce Evans 4e72678dee Fixed panics in apic interrupt handlers if kernel profiling is turned
on.  MCOUNT and FAKE_MCOUNT() may clobber all the call-used registers,
and one FAKE_MCOUNT() was placed so that an active %eax was clobbered.
The fix is to move this FAKE_MCOUNT() earlier where it should have
been anyway.

Fixed 3 layers of bitrot in the comment about why this FAKE_MCOUNT()
was where it was by removing the comment.  (mcount() should be called
as early as possible after entering a new level, but an implementation
detail got in the way until 3 layers of changes ago.)

Kernel profiling still gives wrong results because the new interrupt
code rearranged object files too much.  mcount() depends on trap,
syscall and interrupt handlers being between certain magic labels with
interrupt handlers last, and on nothing else being there.  Splitting
up exception.o moved the magic labels to effectively random places
relative to what they are supposed to delimit.  This mainly broke the
call graph; the flat profile is still usable.
2003-12-02 15:02:12 +00:00
..
acpica Minor source sync with amd64. For %.*s printf formats, pass in an 2003-11-14 22:26:29 +00:00
bios - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compile
conf Disable probing of HTT CPUs by default for the MP Table case. HTT CPUs 2003-11-11 17:14:26 +00:00
i386 Fixed panics in apic interrupt handlers if kernel profiling is turned 2003-12-02 15:02:12 +00:00
ibcs2 Replace the dangerous strcpy() call with strlcpy(), instead of the safe one 2003-11-18 14:21:34 +00:00
include MFamd64: use a less compiler-intensive MD implementation of 'curthread' 2003-11-20 23:23:22 +00:00
isa Fixed breakage of the pci case of the cy driver by the new interrupt 2003-12-02 12:36:00 +00:00
linux Pull latest changes from OpenBSD: 2003-11-16 15:07:10 +00:00
pci New APIC support code: 2003-11-03 21:53:38 +00:00
svr4 Use __FBSDID(). 2003-06-10 05:05:54 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00