veego
223d7455c7
Remove the obsolete config fragments for kernel crypto, because the IPsec
...
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
ragge
2df63a9cc1
Evil bug: sizeof(struct cpu_info) -> sizeof(struct ka820_softc).
2000-06-12 11:26:26 +00:00
ragge
8ea974e809
Put all cputype definitions in one file instead of separate files.
...
This was becoming unmaintainable.
2000-06-12 11:13:14 +00:00
matt
7f40194cbc
Make spl0 & spllowersoftclock return void.
2000-06-11 23:33:37 +00:00
matt
0dc4d9cf90
export bus.h
2000-06-11 23:32:55 +00:00
matt
e910b71c73
Comment out asc0 for vs4000/90. remove slip/ppp.
2000-06-11 23:32:10 +00:00
matt
3dfb96fa8f
Add local symlink so that machine & vax refer ../../include instead of the
...
system ones.
2000-06-11 23:30:35 +00:00
ragge
11b7c895aa
Remove some unneeded code.
2000-06-11 10:40:06 +00:00
ragge
fdc27c43a1
Fix booting from BI-based disks.
2000-06-11 10:39:26 +00:00
ragge
e7aefcd7ae
Allow printf's from slave CPUs by stealing the v_putc function.
...
Easier than expected because the printout lock is hold in the higher levels.
2000-06-11 07:50:11 +00:00
ragge
b826825917
Code to spin up other CPUs on a VAX 8200 system.
...
Haven't solved the printf() problem yet, though.
2000-06-10 14:59:38 +00:00
matt
50dff37fd9
fix botch by me.
2000-06-10 05:24:46 +00:00
matt
2dde4ce0c9
Slight stylistic changes. Add KAME checksum routine.
2000-06-07 19:31:33 +00:00
jhawk
c063b64a2b
Do not clear msgbufenabled in dumpsys(). Dump messages will now go to
...
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)
2000-06-05 23:44:55 +00:00
nisimura
4371d91433
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
...
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
matt
661884208a
add support for counting soft interrupts
2000-06-05 03:45:23 +00:00
matt
2f85fe7adb
Adjust to new evcnt stuff.
2000-06-05 00:09:17 +00:00
matt
ac621687a3
Add coff_machdep.h (now need due to the recent exec_coff changes).
2000-06-04 21:06:18 +00:00
ragge
1320a4106c
Adopt to latest mba/hp changes.
2000-06-04 20:04:21 +00:00
ragge
79e7f9966d
Adapt to mba changes. Fix assembler buf (EDIV uses 64-bit arg, not 32).
2000-06-04 19:58:17 +00:00
matt
a8a863d4ea
more cleanup. use __builtin_frame_address(0) instead of our funky
...
FRAMEOFFSET macro. define an interrupt call frame and use that directly
instead of some magic offsets. Make boot autoconf.o use the current
reality.
2000-06-04 19:30:14 +00:00
matt
e2293f4ad0
Add a comment
2000-06-04 19:03:27 +00:00
ragge
c46119030a
Forward declaration of `struct proc'.
2000-06-04 18:27:39 +00:00
matt
f08ff1ad2d
use PR_IPL instead of 0x12.
...
align entries of various symbols.
2000-06-04 18:13:06 +00:00
ragge
db7db1456e
Remove home-grown interrupt vector handler.
...
Bus_space'ify; needed to get RH11 working. Still much more to do, though.
2000-06-04 18:04:38 +00:00
ragge
d7a5a63645
Changes to sbi_attach_args. (and some cleanup)
2000-06-04 18:02:35 +00:00
ragge
1838716f7b
Remove some unneeded code. (and cleanup).
2000-06-04 18:00:48 +00:00
ragge
82e0b5f7db
Changes of sbi_attach_args. (and cleanup)
2000-06-04 17:59:50 +00:00
ragge
1e19df4bfd
Clean up the sbi_attach_args struct and put in tag/handle.
...
Move a nice macro to scb.h.
2000-06-04 17:58:19 +00:00
matt
0bd304e528
More event counter stuff. Plus a little cruft cleanup while doing it.
2000-06-04 06:16:53 +00:00
matt
713121e8c4
Nuke it. It's in dev/qbus now...
2000-06-04 04:48:34 +00:00
matt
078c7563c2
newer version exists in dev/qbus. nuke this one.
2000-06-04 04:19:57 +00:00
matt
061896a992
now in dev/qbus so nuke this version.
2000-06-04 04:16:58 +00:00
matt
7c24069048
Add extra argument to scb_vecalloc (a struct evcnt *)
...
Move ivec_dsp from trap.h to scb.h
Add interrupt counting to asc, le, ze, ncr, dz interrupts.
add common support for counting interrupts to cnm_idisp so
it can be done very efficiently.
2000-06-04 02:19:24 +00:00
matt
baaa1154d5
no need to raise ipl since the definition of softintr_schedule is that
...
it's from at or above softipl.
2000-06-02 22:14:10 +00:00
matt
34a96c661b
replace spl4 with splconsmedia
2000-06-02 21:51:46 +00:00
matt
d278b1da45
Add IPL_* codes.
...
Add other codes for struct references.
Add softintr framework for IPL_SOFTNET and IPL_SOFTSERIAL.
General cleanup of .s files replacing hardcoded structure offsets with
symbolic ones.
2000-06-02 21:51:15 +00:00
matt
83a385c230
use splsoftddb() instead of hardcoding the ipl.
2000-06-02 21:49:06 +00:00
matt
b8cccfafd8
Move spl macros from <machine/param.h> to <machine/intr.h>
...
Fix botch on my part and make the IPL_* match reality on VAX.
Redefine spl macro using the symbolic IPL_ instead of being hardcoded.
Move schedsoftnet, schedsoftclock from <machine/cpu.h> to <machine/intr.h>
Add a _setsirr macro for schedsoft*.
Add softintr function and framework.
2000-06-02 21:47:02 +00:00
matt
fb6a3dfb64
Include offsets in vs_cpu register in comments.
2000-06-02 21:39:54 +00:00
matt
e488ca043b
change void f() to void f(void)
2000-06-01 02:28:11 +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
matt
22635242c9
Eliminate booted_from. extern'ed booted_device (for raidframe). nothing
...
outside autoconf.c in sys/arch/vax needs to deal with booted_device).
2000-05-31 23:55:51 +00:00
matt
7a66d70655
add placeholders for the MicroVAX 3400 (ka640).
2000-05-31 23:53:27 +00:00
thorpej
858becb7c2
In the MULTIPROCESSOR case, initialize p_cpu before a process is
...
marked SONPROC.
2000-05-31 05:10:54 +00:00
ragge
992002c2be
Use the cpu_info struct to store cpu-specific data in the same way in
...
both uniprocessor and multiprocessor environments. Use the otherwise
unused internal CPU register SSP to store the cpu_info pointer.
The macros curcpu(), curproc, cpu_number() and need_resched() are now the
same in both uniprocessor and multiprocessor environments.
2000-05-29 20:00:55 +00:00
matt
33889a5e6c
Enable DDB.
2000-05-28 20:21:04 +00:00
matt
166475069f
fix it so it compiles.
2000-05-28 18:17:59 +00:00
thorpej
e03e9e8086
Rather than starting init and creating kthreads by forking and then
...
doing a cpu_set_kpc(), just pass the entry point and argument all
the way down the fork path starting with fork1(). In order to
avoid special-casing the normal fork in every cpu_fork(), MI code
passes down child_return() and the child process pointer explicitly.
This fixes a race condition on multiprocessor systems; a CPU could
grab the newly created processes (which has been placed on a run queue)
before cpu_set_kpc() would be performed.
2000-05-28 05:48:59 +00:00
matt
141dcca251
Add VAX660/670/680 support.
2000-05-28 05:17:25 +00:00