cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
cgd
0b270a9dfb
booted_partition, not booted_parition...
2000-06-02 22:09:02 +00:00
matt
33763f10cf
Fix a missing cases of devpp -> booted_device, partp -> booted_parition
2000-06-01 17:42:59 +00:00
matt
9169d99f2a
Don't pass booted_* to findroot/getdevice, access them via the globals.
...
Also, make findroot static. This eliminates unneeded clearing of them
and make their use consistent among the ports.
2000-06-01 15:38:20 +00:00
soren
83887f5ad9
Add stand SUBDIR.
2000-06-01 15:20:12 +00:00
soren
2e62480619
Up the compression factor slightly.
2000-06-01 14:33:43 +00:00
soren
0c99ca516f
Further cripple the GENERIC configuration. It seems that the firmware
...
limits are 1000000/2500000 bytes compressed/uncompressed. Sigh.
A boot loader would be nice.
2000-06-01 14:31:26 +00:00
soren
4796114fef
Add ext2fs.
2000-06-01 14:21:44 +00:00
matt
c9aff328d9
Make booted_device global (and booted_parition for consitency).
...
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
soren
e3ee997813
Different form of PCI bug workaround. Should make 2700 system work.
2000-05-29 15:45:15 +00:00
soren
6641d91d94
No Linux compat yet, but Ultrix works.
2000-05-29 15:44:22 +00:00
soren
da59451c97
Identify system controller model.
2000-05-29 15:43:50 +00:00
soren
ba3a485962
Static poisoning.
2000-05-29 15:43:32 +00:00
soren
66f14d2965
Whitespace.
2000-05-29 15:42:47 +00:00
soren
4a6fea14b4
Correct ones, even.
2000-05-27 03:53:11 +00:00
soren
c77afc79a4
Forgot to define sd and cd majors.
2000-05-27 03:52:26 +00:00
soren
96a81498cf
Remove stacktrace() prototype.
2000-05-27 02:16:25 +00:00
soren
355d1234b9
The datap argument to the write_{multi,region} calls is const.
2000-05-27 02:15:01 +00:00
soren
92a32ad9b2
Protect against multiple inclusion.
2000-05-27 02:14:22 +00:00
thorpej
a7d0570e67
First sweep at scheduler state cleanup. Collect MI scheduler
...
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
soren
b70819c71a
Also share BE ldscripts.
2000-05-21 02:50:10 +00:00
thorpej
463931b3ba
Nuke dk_establish() from orbit except from those ports which still use
...
it to determine the boot device: mvme68k, pc532, macppc, ofppc. Those
platforms should be changed to use device_register(). In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
hubertf
9f48bba3ae
Add "install" target, so "make install" after building the kernel
...
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej
6a33c86623
HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
...
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
augustss
3a6e3a4670
Add (sometimes commented out) MIIVERBOSE option.
2000-05-08 13:49:44 +00:00
soren
ee733492dd
Add licenses.
2000-05-05 03:27:22 +00:00
soren
95f3c9498d
MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated.
2000-05-05 03:18:25 +00:00
soren
1e0aa36da8
ECOFF hook is in arch/mips.
2000-04-29 21:47:59 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
soren
9c2835a1c4
Make sure to read the clock before we leave the 'cold' state.
2000-04-28 19:58:04 +00:00
soren
78a464a74d
Add microtime().
2000-04-28 17:23:40 +00:00
soren
99e6adf31e
Adapt to cpu_intr() change.
2000-04-28 15:55:51 +00:00
ad
ab2d7be096
Add missing cdevsw and chrtoblktbl entries.
2000-04-28 13:28:42 +00:00
soren
88bf41a16e
Use siop(4).
2000-04-27 10:52:43 +00:00
groo
3a77b18fd7
name change; rl -> rtk. Still commented out.
2000-04-22 21:03:27 +00:00
itojun
3be41bae18
add stf pseudo interface (commented out due to possible security risks)
2000-04-19 06:50:27 +00:00
soda
c56a43535d
remove following symbols which became unnecessary in recent cpu_intr() change:
...
mips_hardware_intr
MIPS3_INTERNAL_TIMER_INTERRUPT
mips3_intr_cycle_count
mips3_timer_delta
2000-04-15 22:05:51 +00:00
nisimura
cce3288e2f
Backout the previous change; safepri is an evil idea after all.
2000-04-12 04:30:35 +00:00
nisimura
a889c809fd
MIPS1_PSL_LOWIPL -> PSL_LOWPSL. No functional change is expected.
2000-04-12 02:01:07 +00:00
soren
ea5325726d
Be a little more careful parsing boot parameters.
2000-04-09 00:13:54 +00:00
soren
579f97d5c5
The interrupt line registers for the devices wired directly to the CPU
...
are not meaningfull. Instead match them by {bus,device,pin}.
2000-04-09 00:13:27 +00:00
soren
43a7ae04c9
Disabling PCI Memory Read Multiple improves Tulip transmit performance 30%.
2000-04-09 00:11:51 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
soren
076e3ffa1c
Update.
2000-04-03 00:20:11 +00:00
soren
0551ccb4d4
Typo.
2000-03-31 15:00:49 +00:00
soren
278498c05f
Some cleanups.
2000-03-31 14:51:49 +00:00
soren
fab7d466f3
Add little to-do list.
2000-03-30 22:14:17 +00:00
soren
70abbd3c24
Crude kernel installer.
2000-03-30 21:46:16 +00:00
soren
80e6d43253
Add asm.h like other ports.
2000-03-30 21:33:30 +00:00
soren
471a03f8f6
Remove local hack.
2000-03-30 20:08:37 +00:00