tsubai
83eac66533
Cosmetics.
2001-03-07 08:18:45 +00:00
tsubai
bf498eb12e
Remove MULTIPROCESSOR part. (moved to separate file)
2001-03-07 08:10:44 +00:00
tsubai
90aabafdd1
MP version of trap routines.
2001-03-07 08:05:07 +00:00
matt
7e5ee89ff3
Nuke vm_offset_t, vm_size_t from powerpc.
2001-03-04 03:25:34 +00:00
tsubai
e6ae4943c2
Fix a bug in cpu_switch().
...
Reported by Tad Hunt <tad@entrisphere.com> on port-powerpc.
2001-02-28 20:44:41 +00:00
matt
cd7c0ee5c4
Get the ofppc/prep/macppc/sandpoint/bebox to share the process switch
...
/ setfault / fork_trampoline code.
2001-02-25 20:21:53 +00:00
matt
e7811ad9b6
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
...
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt
aba3f2655a
Add powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:30:42 +00:00
matt
559cea4b1c
Since setregs is common among all the powerpc ports,
...
make a common version and put it in powerpc_machdep.c
2001-02-24 04:29:26 +00:00
manu
472596699d
Removed a copyright for code I have removed in a previous commit
2001-02-12 21:20:32 +00:00
manu
16bc5b4004
Moved the fix for negative errno returned to userland on the PowerPC to a
...
more machine independent fashion
2001-02-11 20:24:49 +00:00
manu
d48e534f38
Fixed a bug in the way errno return was handled in linux emulation (we returned the opposite of the expected errno)
2001-02-09 17:48:01 +00:00
wiz
08ca85d04d
De-lint. Reviewed by christos.
2001-02-09 15:54:18 +00:00
tsutsui
93a1c84cac
Add pio.h to INCS.
2001-02-07 12:43:52 +00:00
briggs
2f624f78d6
Share a single pio.h instead of having 4 nearly-identical copies.
2001-02-05 19:33:54 +00:00
briggs
e96035c57c
Tsubai has convinced me that openpic_init() should remain machine-dependant
...
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
briggs
522ec180e9
Build with -Wall -Wetc.
2001-02-04 17:38:10 +00:00
briggs
ace7a75bd5
Remove dependancy on ICU_LEN m.d. define. Thanks, Tsubai.
2001-02-04 17:35:28 +00:00
briggs
cbb39b8875
defopt openpic
2001-02-04 17:34:11 +00:00
briggs
044caccfff
Split OpenPIC support into powerpc so ports only need minimal custom
...
configuration. openpic_init() now takes a single argument that is the
base of the OpenPIC register space.
2001-02-02 06:11:52 +00:00
manu
5472427809
Added powerpc specific code for Linux compatibility on powerpc ports
2001-01-19 01:36:47 +00:00
jdolecek
d5d431e8ae
make db_[e]regs[] const
2001-01-18 10:54:27 +00:00
thorpej
d74e432ed3
Make softclock a generic soft interrupt of the API is available,
...
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
thorpej
a3ec356d52
splimp() -> splvm()
2001-01-14 03:22:04 +00:00
takemura
c5fd828440
replace 'long long' with int64_t to compile stand alone program with
...
compiler other than GCC.
2001-01-03 10:08:55 +00:00
tsubai
26914e2bcf
Make want_resched and astpending per-CPU.
...
Add some per-CPU variables to cpu_info.
2001-01-01 04:33:39 +00:00
itojun
efa2b7073c
make mbstate_t bigger (32 -> 128 bytes).
...
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare). really sorry
for the mess.
2000-12-26 10:35:28 +00:00
jdolecek
e9e91a0fb5
split off thread specific stuff from struct sigacts to struct sigctx, leaving
...
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx
This addresses kern/10981 by Matthew Orgass.
2000-12-22 22:58:52 +00:00
itojun
823498203f
populate _BSD_MBSTATE_T_. add warning regarding to rune_t.
2000-12-21 06:03:47 +00:00
mycroft
3418812d3c
Partial syscall cleanup, as per other ports.
2000-12-14 10:33:42 +00:00
jdolecek
1683c206a4
provide dymmy symbol 'syscall' to make ppc kernels
...
linkable after recent emul changes - it's used in emul_netbsd and friends
XXX this is probably wrong solution; should powerpc have separate
XXX syscall() as other ports do ?
2000-12-10 12:49:54 +00:00
mycroft
e4ae5a1406
In mem_regions(), deal with the case of a run of consecutive holes.
...
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
tsubai
2fb7179aaf
Add KERNEL_LOCK (et al.) to run MULTIPROCESSOR kernel on a single cpu system.
2000-11-25 15:49:43 +00:00
matt
f80f1b8624
Preliminary AltiVec support.
2000-11-25 03:03:35 +00:00
matt
4c6aaf87d2
Add placeholder for AltiVec support file.
2000-11-25 03:01:40 +00:00
matt
6d256b4cca
Preliminary AltiVec support
2000-11-25 03:00:48 +00:00
matt
6b0877113f
Some preliminary ALTIVEC support.
2000-11-25 02:59:34 +00:00
tsubai
4e01e6de8b
When fatal trap occurs, enter DDB with trapframe rather than just "Debugger()".
2000-11-24 21:49:06 +00:00
matt
1420862fba
Add comments and AltiVec reg state.
2000-11-23 02:35:10 +00:00
wiz
b03725b863
Change OF_nextprop to match prototype change to void *
...
(Please don't change prototypes without changing the corresponding
functions!)
2000-11-22 18:18:32 +00:00
tsubai
1931e71852
Constify struct sysent.
2000-11-22 14:00:46 +00:00
tsubai
11b48d8a4d
Thermal Management Interrupt is available on 750, too.
2000-11-20 15:16:04 +00:00
matt
95a8447ccf
Add G4 specific exceptions (include AltiVec).
2000-11-19 20:48:20 +00:00
matt
bb71a6b332
Add AltiVec VSCR definitions.
2000-11-19 20:41:04 +00:00
matt
b1e1cfdb4a
Add AltiVec VEC bit.
2000-11-19 19:52:37 +00:00
thorpej
216902b8d2
Trap routines from the macppc port, to be used by other PowerPC
...
ports (only amigappc's differs).
2000-11-16 05:33:04 +00:00
matt
dbe8de94a8
back out my change powerpc/conf/files.ofw. Enable the inclusion of
...
dev/ofw/files.ofw on macppc. Add openfirm to ofppc/conf.c
2000-11-15 00:39:31 +00:00
matt
58645ba248
Add support for /dev/openfirm.
...
Add OF_nextprop support.
2000-11-14 21:22:43 +00:00
tsubai
b11322a19d
powerpc HID registers definitions (only HID0 for now).
2000-11-09 11:49:13 +00:00