grehan
0c13682a92
Add syscons files, and also generate a syscons font since Apple
...
SVGA adapters don't have one available in their ROMs.
2004-01-21 05:19:59 +00:00
grehan
6a800733b4
- add openpic macio and psim/iobus attachments
...
- alpha sort powermac files
2004-01-15 08:43:46 +00:00
des
67e6e56749
Add ffsl(), fls() flsl() to platforms that don't already have them.
2004-01-13 15:37:23 +00:00
grehan
d559c16047
Hook grackle system controller/heathrow interrupt controller to PPC build.
2003-06-28 08:53:49 +00:00
ru
5e7c82c69f
Standardize handling of locore.[sS] etc. files.
...
Submitted by: jake, bde, ru
2003-02-28 21:59:14 +00:00
grehan
5bd49ab382
Add apple partition map GEOM module
2003-02-24 00:16:51 +00:00
benno
205fd17b03
Add a driver that attaches to the gpio node of macio and allows you to enter
...
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.
2003-02-06 10:59:06 +00:00
benno
e16610544e
Add cpu.c. This contains one exported function, cpu_setup(), which handles
...
setup of and printing information about cpus.
Obtained from: NetBSD (parts)
2003-02-05 12:09:53 +00:00
benno
bda6ae2b45
Build glue for zs_macio.
2003-02-01 07:24:53 +00:00
phk
13f4fc9ec0
NO_GEOM cleanup: remove subr_disklabel.c from powerpc and x86_64.
2003-01-28 16:37:22 +00:00
grehan
9d97ee4d3d
Convert remaining .s files to .S
...
Approved by: benno
2003-01-22 01:34:37 +00:00
phk
24a6c19cb9
Remove subr_diskslice.c and subr_diskmbr.c which I can find no trace of
...
why should be needed in the powerpc files. Not compile tested.
2003-01-17 23:01:09 +00:00
phk
a91a3d034b
Move subr_disklabel.c and subr_diskslice.c from being MI to MD files,
...
so that they can be left out where they are unneeded.
2003-01-17 18:32:39 +00:00
benno
36c3989bb9
Add a pcib variant to allow us to fix up interrupt assignments.
...
We probably want to do something wrt bus enumeration as well at some point.
2003-01-09 12:04:18 +00:00
grehan
22f4e39e75
- added macio and psim files
...
- removed unused extintr.c
Approved by: benno
2002-09-19 05:11:15 +00:00
benno
f66471c0ec
Add setjmp (needed for DDB).
2002-07-10 12:26:17 +00:00
benno
77e06c660d
Add DDB support.
2002-07-10 12:21:54 +00:00
benno
73aaaf9a29
Driver for the Apple UniNorth Host-PCI bridge.
...
This is in a PowerMac-specific subdirectory as it is hoped that we will support
more than just the PowerMac platform.
2002-07-09 13:34:09 +00:00
benno
e5a16abaf3
Add ofw_pci.c in the pci case.
2002-07-09 13:29:18 +00:00
benno
eacece7da3
1) Add busdma machdep code.
...
2) Add bus_pio.h and bus_memio.h (which do nothing).
Submitted by: Peter Grehan <peterg@ptree32.com.au> (1)
2002-07-09 12:47:14 +00:00
benno
69112364bc
Driver for OpenPIC compatible interrupt controllers.
...
It's fairly PowerMac specific at the moment, but that should be fixable.
2002-07-09 11:26:10 +00:00
benno
95feadb0a5
Add interrupt handling support code.
...
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.
2002-07-09 11:12:20 +00:00
benno
4055a8608a
Add in_cksum.c
2002-06-29 09:50:20 +00:00
benno
6c2607ad88
Many fixes to low-level trap and interrupt handling:
...
- 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>
2002-06-29 09:28:21 +00:00
benno
796d01e2a8
Build the fpu support routines.
2002-05-13 07:53:22 +00:00
benno
6ff9e30a59
Add sigcode.S
2002-04-30 11:13:16 +00:00
benno
813f104cc8
Add ofwd to the GENERIC config for powerpc.
2002-04-15 12:30:18 +00:00
dillon
dc5aafeb94
Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt
...
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
2002-03-27 05:39:23 +00:00
benno
d0f7d01438
Collect all functions for copying to and from userspace into the one file.
...
This allows me to reimplement [sf]u{byte,word} as separate functions and not
as calls to copy{in,out}.
2002-03-21 23:45:59 +00:00
ume
92361f6aad
- Speedup 3DES by using assembly code for i386.
...
- Sync des/blowfish to more recent openssl.
Obtained from: KAME/NetBSD
MFC after: 2 weeks
2002-03-05 09:19:02 +00:00
des
f4cecd8fd8
Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to
...
proc_* in the process; procfs_machdep.c is no longer needed.
Run-tested on i386, build-tested on Alpha, untested on other platforms.
2001-10-21 23:57:24 +00:00
benno
3c1cfd0376
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
...
floating point registers for various optimisation tweaks.
2001-06-27 12:10:25 +00:00
benno
b8d88b43ff
The final commit for the first phase of PowerPC support.
...
This adds the config stuff needed to build kernels.
Reviewed by: obrien
2001-06-17 09:39:44 +00:00