| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
OK deraadt@ mpi@
|
|
|
|
| |
Required by upcoming MI mutex change.
|
|
|
|
| |
ok kettenis@, visa@
|
|
|
|
| |
OK mpi@, kettenis@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the logic to prevent a recursion when processing soft
interrupts. Previously a per-CPU flag was set before re-enabling
interrupts. Now the IPL level is raised to SOFTTTY which makes
splsoftassert() happy, greatly inspired by mips64.
As a side effect, the ppc_intr_{disable,enable}() dance is now done
only once instead of twice per splx(9).
While here, make use of dosoftint() instead of having 3 different
functions for dispatching soft interrupts.
Tested by deraadt@ on G4 smp and by myself G5 smp, G3, G4 and socppc.
No objection from the usual (and over busy) suspects.
|
|
|
|
| |
ok miod@, mikeb@
|
|
|
|
|
|
| |
store the type of the interrupt (level, edge).
ok miod@, mpi@
|
|
|
|
| |
several weeks before release on macppc, socppc bugs just fixed.
|
|
|
|
|
| |
kernel namespace
ok miod
|
|
|
|
|
|
| |
for it. This makes the netisr a real C function which will help further
development. No noticable performance change on i386 and amd64.
With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
|
|
|
|
|
|
| |
fallback definition in <sys/sched.h>, so that there is no hidden include
ordering requirement between <machine/intr.h> and <sys/sched.h>.
ok deraadt@ tedu@
|
|
|
|
| |
ok miod@
|
|
|
|
|
|
|
|
|
| |
Tested by myself, sthen, oga, kettenis, and jasper.
Input from sthen and jasper.
ok kettenis
(Manpage follows shortly.)
|
| |
|
|
|
|
| |
been found and corrected.
|
|
|
|
|
|
| |
levels. This will allow for platforms where soft interrupt levels do not
map to real hardware interrupt levels to have soft ipl values overlapping
hard ipl values without breaking spl asserts.
|
| |
|
|
|
|
| |
existance too many times).
|
|
|
|
|
| |
blocking specific interrupts. Needs signficant testing to prove that
one remaining elusive bug has been squashed.
|
| |
|
|
|
|
|
|
|
| |
Shaves a few bytes of the kernel.
No measurable performance loss.
ok drahn@, kettenis@
|
|
|
|
| |
function. ok kettenis@
|
|
|
|
|
|
|
|
|
| |
MULTIPROCESSOR. From now on sprg0 holds a pointer to struct cpuinfo, which
is used to spill registers to during trap instead of the globals we used to
use for that purpose. Bits and pieces from NetBSD. Help from drahn@ and art@.
Tested by xsa@, thib@, miod@, gwk@, deraadt@.
ok drahn@, gwk@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Prevents a race which can corrupt pools, found dhartmei, fix by art and me.
|
| |
|
| |
|
|
|
|
|
| |
the IPL_ values by priority, not somewhat random values. No unmodified
code relied on the order of these defines.
|
| |
|
|
|
|
|
|
| |
at a rate independant of the HZ clock. when profiling is enabled
stat clock now runs at 1000/s instead of the normal 100/s. Other
improvements to the ppc clock handling and KNF/ansi.
|
| |
|
| |
|
|
|
|
| |
portions of the tree.
|
|
|
|
|
|
| |
Currently as no-ops everywhere.
ok art@, deraadt@
|
| |
|
| |
|
| |
|
|
|
|
| |
protection was not good enough. work from theo, pefo, toby.
|
|
|
|
|
| |
functions. Seems to have no effect on system run time (it should have...)
reduces GENERIC kernel size by 52k.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is being renamed to macppc. This is to allow sharing of common code
between different powerpc base platforms.
Most of the work involved in the renaming process was performed by miod@
Files moved from powerpc/include to macppc/include
Some files were not "moved" but wrapper files were created which include
the powerpc/include version.
Several of the powerpc/include files where changed to reflect that they
are POWERPC_* not MACHINE_*.
|
|
|
|
| |
Code cleanup for pmap headers.
|
|
|
|
|
| |
definition as splimp().
art@ ok
|
|
|
|
| |
flags.
|
|
|
|
| |
Cleans up symbols in object files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the config cycle, and pci devices as well as mac onboard devices
do not use interrupts to probe. It is possible to record that the
interrupt is to be configured, but not configure it with the interrupt
controller until the interrupt controller configures itself.
This is lazy binding of interrupts. If there is a conflicting interrupt
or other problem it will be noticed when the interrupt controller configures
and collects the data rather than when the device configures.
Currently on the openpic interrupt controller supports these pre-configured
interrupts.
|