| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Submitted by: jake, bde, ru
|
| |
|
|
|
|
|
|
|
| |
DDB when the interrupt button (aka the "programmer's switch") is pressed.
This isn't unfortunately an NMI, but it's a handy way to get into DDB
quickly if needed.
|
|
|
|
|
|
| |
setup of and printing information about cpus.
Obtained from: NetBSD (parts)
|
| |
|
| |
|
|
|
|
| |
Approved by: benno
|
|
|
|
| |
why should be needed in the powerpc files. Not compile tested.
|
|
|
|
| |
so that they can be left out where they are unneeded.
|
|
|
|
| |
We probably want to do something wrt bus enumeration as well at some point.
|
|
|
|
|
|
| |
- removed unused extintr.c
Approved by: benno
|
| |
|
| |
|
|
|
|
|
| |
This is in a PowerMac-specific subdirectory as it is hoped that we will support
more than just the PowerMac platform.
|
| |
|
|
|
|
|
|
| |
2) Add bus_pio.h and bus_memio.h (which do nothing).
Submitted by: Peter Grehan <peterg@ptree32.com.au> (1)
|
|
|
|
| |
It's fairly PowerMac specific at the moment, but that should be fixable.
|
|
|
|
|
|
| |
I've tried to make this fairly platform-independant as some PowerPC platforms
may not have openpic-style interrupt controllers. This may not have the best
performance but it works for now.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Tidy up clock code. Don't repeatedly call hardclock().
- Remove intrnames, decrnest and intrcnt from locore.s
- Coalesce all trap handling into a single stub that then calls a dispatch
function.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disablement assumptions in kern_fork.c by adding another API call,
cpu_critical_fork_exit(). Cleanup the td_savecrit field by moving it
from MI to MD. Temporarily move cpu_critical*() from <arch>/include/cpufunc.h
to <arch>/<arch>/critical.c (stage-2 will clean this up).
Implement interrupt deferral for i386 that allows interrupts to remain
enabled inside critical sections. This also fixes an IPI interlock bug,
and requires uses of icu_lock to be enclosed in a true interrupt disablement.
This is the stage-1 commit. Stage-2 will occur after stage-1 has stabilized,
and will move cpu_critical*() into its own header file(s) + other things.
This commit may break non-i386 architectures in trivial ways. This should
be temporary.
Reviewed by: core
Approved by: core
|
|
|
|
|
| |
This allows me to reimplement [sf]u{byte,word} as separate functions and not
as calls to copy{in,out}.
|
|
|
|
|
|
|
| |
- Sync des/blowfish to more recent openssl.
Obtained from: KAME/NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
| |
proc_* in the process; procfs_machdep.c is no longer needed.
Run-tested on i386, build-tested on Alpha, untested on other platforms.
|
|
|
|
| |
floating point registers for various optimisation tweaks.
|
|
This adds the config stuff needed to build kernels.
Reviewed by: obrien
|