pk
06e2052190
Update for 4/100
1995-03-02 20:53:11 +00:00
pk
35ef499ff3
Make more generic.
1995-03-02 20:48:17 +00:00
pk
b14295f12d
Tally interrupts.
1995-03-02 20:47:11 +00:00
pk
3edb6c02ff
Rename audio*() functions to avoid conflicts with sys/dev/audio.c; this is an
...
emergency measure, driver needs to be converted to generic audio subsystem.
1995-03-02 20:37:46 +00:00
pk
c897fc5127
Better 4/100 support.
1995-03-01 21:09:19 +00:00
pk
e9df09cd2a
Make setjmp/longjmp available on non-DDB kernels.
1995-03-01 09:26:29 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
pk
98e7d1b075
Clean NONCONTIG stuff, allocate and map pv_table[] in pmap_init() entirely.
1995-02-23 20:00:57 +00:00
pk
02b0f2a929
floppy levels.
1995-02-23 19:58:16 +00:00
pk
6af8527cf9
cache_flush() only if vactype!=VAC_NONE
1995-02-23 19:56:24 +00:00
pk
e6e777cf5d
Reorganize to use fast interrupt handler.
1995-02-22 21:37:15 +00:00
pk
7278038bbd
add bsd_fdintr.s
1995-02-22 21:32:34 +00:00
pk
f80c189dc5
Defines for floppy trap handler.
1995-02-22 21:17:53 +00:00
pk
366442b2e4
Really fix `call n'.
1995-02-22 21:16:51 +00:00
pk
171313384b
Floppy trap handler.
1995-02-22 21:14:18 +00:00
pk
6b609180cd
Have a variable point at the auxiliary-io register.
1995-02-22 21:13:01 +00:00
pk
a9593288ee
More on MACHINE_NONCONTIG: gain back wasted pages (and make it work).
...
Still more GC required.
1995-02-22 21:06:22 +00:00
mycroft
a01e93cf4e
Use the twiddle() from libsa.
1995-02-22 08:18:18 +00:00
pk
938030c27d
fd declarations.
1995-02-18 09:42:19 +00:00
pk
493dddc814
Admit we have a floppy driver.
1995-02-18 09:40:30 +00:00
pk
021803bc33
Little routine to manipulate auxreg bits.
1995-02-18 09:33:29 +00:00
pk
7e192d22be
call argument off by two bits
1995-02-17 20:45:12 +00:00
pk
01fb0f1f1f
More work on MACHINE_NONCONTIG stuff.
1995-02-17 20:37:13 +00:00
pk
67f4f632d0
More PG_TYPE checks/optimizations suggested by Theo.
1995-02-17 20:33:15 +00:00
pk
6d511104e2
Pilot sun4c floppy driver based on i386 version;
...
- same limitations as isa/fd.c: just read/write
- in need of a fast interrupt handler
1995-02-17 20:28:32 +00:00
pk
cbbc1b0293
match/attach on sun4's obio bus, from Theo.
1995-02-17 09:47:36 +00:00
pk
018d2f1b4f
Working "config generic" support; from Theo.
1995-02-16 21:51:38 +00:00
pk
d6faa0bf9c
Working "config generic" support; from Theo.
1995-02-16 21:42:50 +00:00
pk
21215997b0
minor clean
...
add "auxiliary-io" to list of openboot-specials; needed for floppy driver.
1995-02-16 20:39:17 +00:00
pk
e1ca20871c
missing entry in bdevsw[]
1995-02-15 14:27:36 +00:00
pk
0da3039154
More fixes from Chuck for IO pages related bugs that surfaced with the 4/110.
...
Also, pay attention to PMAP_TNC bits that can enter from the VM. These
come from the `device' pager, ie. pages associated with mmap()ed devices.
1995-02-10 20:40:47 +00:00
pk
61572da6bf
Fix two typos.
1995-02-09 14:38:54 +00:00
pk
b96f801acb
We have more registers.
1995-02-09 10:34:21 +00:00
pk
c8ef09934c
Two more VAC_NONE checks.
1995-02-09 10:28:27 +00:00
pk
c7431b8a3c
Deal with writing to kernel text (largely stolen from the sun3 port).
1995-02-01 21:51:48 +00:00
pk
f6cd1eeea7
Integrate changes from Chuck Cranor for the Sun 4/100.
...
Support for multiple register banks on SBUS devices (based on patches
from Francis Dupont).
Highlights:
romaux defines an array of register spaces.
pay attention to `vactype'.
quirks handling 4/100 idiosyncracies.
1995-02-01 12:37:21 +00:00
mycroft
5a7fac721d
Handle incoming messages longer than 1 byte correctly.
1995-02-01 09:50:18 +00:00
pk
b846c1f9cd
TIOC[SC]DTR ioctls.
1995-01-29 18:56:01 +00:00
jtc
830a53e394
ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
...
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
pk
6879dd4b85
Update based on i386 version; from Chuck Cranor.
1995-01-27 09:49:55 +00:00
cgd
b56a5f27d4
add 'maxpartitions' keyword as first 'intesting' thing in the file, to
...
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
4cc138dd7a
vn -> vnd renaming, for consistency
1995-01-25 05:34:51 +00:00
cgd
2ef4ca1f3d
vn -> vnd renaming, for consistency
1995-01-25 04:48:07 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
pk
0bf4b5b424
Remove a debug messsage & add a missing constant.
1995-01-12 07:31:47 +00:00
pk
8290d42317
Use `MACHINE_NONCONTIG' to deal with sparse memory in stead of private
...
mapping tables. We gain some pages, but there's still some wastage.
For the moment, `MACHINE_NONCONTIG' is still optional.
1995-01-11 21:21:11 +00:00
jtc
d7a8b2964f
Only define sig_atomic_t when _ANSI_SOURCE is defined.
1995-01-10 19:01:00 +00:00
pk
b1ad0e3ed5
Count pages correctly in pmap_bootstrap().
1995-01-10 16:50:50 +00:00
pk
b87c1bb24a
Avoid kernel memory corruption if user buffer too small; return ENOMEM in stead.
1995-01-10 16:47:03 +00:00
pk
6cfe5f9b6f
pmap_init() already declared elsewhere.
1995-01-10 16:15:20 +00:00
mycroft
820f9da835
Validate /dev/mem addresses again.
1995-01-09 11:22:06 +00:00
mycroft
85a1830551
Reimplement /dev/mem like other ports. Change physlock to be a plain integer.
...
Keep the zero page after using it.
1995-01-09 08:58:32 +00:00
mycroft
81b3059a98
ESP_ID -> ESP_SELID
1995-01-07 05:17:59 +00:00
mycroft
bfbd328f85
Sort.
1995-01-07 05:17:15 +00:00
pk
c4a9be4024
Sparc disassembler from David Miller.
...
Heavily munged by me to:
- reduce table size significantly.
- follow various opcode tables in the Sparc Architecture Manual (V9)
more closely.
- recognise V8 priviliged instructions.
- fit the DDB interface.
- fix many typos.
Todo:
- get a number of FP ops right (unimportant until V9 is here).
- opcode aliases (`mov',`cmp',`set') for simple instructions.
- better template matching; current method is sloppy and is prone to spurious
matches.
1995-01-05 21:33:31 +00:00
pk
5188187aff
void microtime().
1995-01-05 16:56:59 +00:00
pk
2a22c853db
Adapt to changed SCSI subsystem.
1995-01-02 20:21:01 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
deraadt
4ef28ec578
correct ie[1234] addreses
1994-12-17 23:12:41 +00:00
deraadt
7ba7829654
microtime botch
1994-12-17 08:45:32 +00:00
deraadt
553b2d8f73
... but we still want the sun4c/sun4m case to work
1994-12-17 05:40:24 +00:00
deraadt
fe0b8c6a90
oclock support for the 4/100 and 4/200
1994-12-16 22:16:58 +00:00
deraadt
8201cbd042
microtime -> lo_microtime (oclock is different)
...
on machines with 6 register windows, "nop" out a pair of save/restore's (big
performance win on slow 4/100 and 4/200 machines)
1994-12-16 22:11:47 +00:00
deraadt
07f33ae7d1
obio ie support by chuck and me
1994-12-16 22:01:09 +00:00
deraadt
651f7c8f29
open changed again
1994-12-16 22:00:23 +00:00
deraadt
8730c977bd
ie[01234] and obclock
1994-12-16 21:53:43 +00:00
deraadt
c68c62c943
SUN4m-only..
1994-12-16 21:53:25 +00:00
deraadt
2c0a05e7fa
oclock for 4/100 and 4/200
1994-12-16 21:53:01 +00:00
deraadt
198bf71a5f
do not need clockreg.h
1994-12-16 21:52:36 +00:00
deraadt
1beda66497
increase getprop buffer size
1994-12-16 19:02:16 +00:00
deraadt
e22f3bf9f3
typo
1994-12-15 02:53:00 +00:00
deraadt
e88bd9f695
obio fixes from the two chucks!
1994-12-14 22:17:18 +00:00
mycroft
d42a8b725e
Remove extra arg to d_open.
1994-12-14 19:10:08 +00:00
deraadt
0be2ffa45a
make BADALIAS() and CACHE_ALIAS_DIST sun4-safe
1994-12-14 06:59:18 +00:00
pk
e8880dceb9
Follow prototype changes in libsa.
1994-12-11 15:18:34 +00:00
pk
c09156bf8b
Introduce pmap_prefer() which is used to obtain a cache-friendly virtual
...
address.
1994-12-10 11:43:56 +00:00
deraadt
ca6f5cbe06
Use symbolic constants to access the prom vector.
...
Deal with v0 openrom (on sun4c machines only).
1994-12-07 14:47:04 +00:00
mycroft
e5379bfffb
Clean up deleted files.
1994-12-07 14:46:06 +00:00
deraadt
4144af8de8
bigtime cleanup
1994-12-07 14:45:54 +00:00
deraadt
1ef32e64bc
clean better
1994-12-06 20:54:46 +00:00
deraadt
64eedae2df
changer fix
1994-12-06 14:39:47 +00:00
pk
fc1b40eef4
cosmetic change.
1994-12-06 10:39:40 +00:00
pk
2397f57e36
Move DDB argument processing up before our input registers get trashed.
1994-12-06 09:58:09 +00:00
deraadt
03cba26fa6
place message buffer in low physical memory, so that it can survive a
...
warm boot. the sun4 boot program corrupts some memory there so adjust
upwards on the sun4. (from chuck)
1994-12-06 08:34:00 +00:00
deraadt
31e5af3828
vm access permissions give SIGSEGV
...
alignment errors give SIGBUS
1994-12-06 00:27:46 +00:00
deraadt
421ec01e3f
bdev for st
1994-12-06 00:18:10 +00:00
deraadt
2717a8de7e
TIOC[SG]FLAGS from matthew green
1994-12-06 00:01:39 +00:00
deraadt
7cd44df2e3
scsi changer
1994-12-05 13:54:11 +00:00
deraadt
fcb4fd9cb0
COMPAT_10 all around
1994-12-05 09:17:30 +00:00
deraadt
cae9130ef6
enable SYSVMSG,SYSVSEM,SYSVSHM
1994-11-30 19:44:53 +00:00
deraadt
12af703502
wait for ack from chip
1994-11-29 22:35:20 +00:00
deraadt
1eb4763766
debug code for dma hang
1994-11-27 00:08:34 +00:00
deraadt
41260b47ce
i hate ttyX-ignore-cd, but leave it here for a while longer
1994-11-26 07:36:52 +00:00
deraadt
c548f8887c
repair some stuff
1994-11-25 23:56:21 +00:00
deraadt
7289c28055
cnpollc function for DDB
1994-11-25 23:55:53 +00:00
deraadt
3a4ca432b2
no need to turn DMA off twice
1994-11-25 23:12:44 +00:00
deraadt
6abee40cb1
prototype wcopy/wzero
1994-11-25 23:11:42 +00:00
deraadt
e62b8b3fa2
choose {w,b}{copy,zero} automatically
1994-11-25 23:11:23 +00:00
deraadt
2a90e82894
wzero/wcopy moved to machdep.c
1994-11-25 23:10:47 +00:00
deraadt
fc5e9a48e2
wcopy/wzero belong here
1994-11-25 23:10:26 +00:00
deraadt
e7728e3080
support obj directory
1994-11-25 23:09:34 +00:00
deraadt
f08d8394d7
putchar is void
1994-11-25 23:09:20 +00:00
deraadt
2bfe2ea770
round text segment to __LDPGSZ
1994-11-25 23:09:09 +00:00
deraadt
58117a4011
ie cards coldstart with a parity error, reset it
1994-11-23 22:28:12 +00:00
deraadt
3835c5ae6a
CP exceptions in wrong slots in trap table (noticed by matt@rme.com)
1994-11-23 20:33:22 +00:00
deraadt
941871d6ab
XXmatch change (and a few __P() as well)
1994-11-23 07:02:02 +00:00
deraadt
ef31ebbf26
stack trace on crash
1994-11-23 07:00:00 +00:00
deraadt
d3408abf29
C error
1994-11-21 01:56:38 +00:00
deraadt
274a90762d
copyright/Id cleanup
1994-11-20 20:51:32 +00:00
deraadt
3dd85af7b5
fixed rss code by charles
1994-11-14 06:09:19 +00:00
christos
40abc70ce2
changed open prototype
1994-11-14 05:55:23 +00:00
deraadt
e19990c090
make ldcontrolb() use p->p_addr instead of cpcb for the onfault, also
...
save current onfault value and act at splhigh.
1994-11-14 04:16:12 +00:00
deraadt
3eb863ca4e
cache: write-throough/back, and 4/100 has no cache
1994-11-13 22:12:44 +00:00
deraadt
4cd7c0f34e
reset scsi bus at attach time
1994-11-05 09:35:54 +00:00
deraadt
880176b15b
proc0.p_addr must be initialized before we can take a probe trap, so
...
that the pcb_onfault will be work
1994-11-05 09:31:05 +00:00
deraadt
0d4b376377
only print the vec if needed
1994-11-05 09:28:06 +00:00
pk
edb1bc6eae
Don't mess with device if it was opened while we napped.
1994-11-03 18:57:33 +00:00
deraadt
8b82ad359d
bzzzttt wrong wrong wrong
1994-11-03 04:29:53 +00:00
deraadt
4650de140a
kill perftest code
1994-11-02 23:18:25 +00:00
deraadt
88af1ef233
VA_VSEG() should use NBPG
1994-11-02 23:16:59 +00:00
deraadt
138a1d9e01
let busmatch print the level/vec
1994-11-02 23:16:28 +00:00
deraadt
48347d17d4
cleanup
1994-11-02 23:16:02 +00:00
deraadt
9b4d6d44f8
ioctl u_long cmd
1994-11-02 05:00:40 +00:00
deraadt
95e71f1dbd
first vme ie card
1994-11-02 05:00:13 +00:00
deraadt
274ac617ef
clean vnode_if.[ch]
1994-11-02 04:59:59 +00:00
deraadt
8e89099cf4
ioctl u_long cmd
1994-11-02 04:59:23 +00:00
deraadt
b71f248be4
do not have UPAGES definition
1994-11-02 04:59:04 +00:00
deraadt
9f96a3313e
various
1994-11-02 04:58:25 +00:00
deraadt
4c10604c2b
ioctl u_long cmd
1994-11-02 04:57:53 +00:00
deraadt
ae3d0a09f9
sendsig u_long code
1994-11-02 04:57:25 +00:00
deraadt
0fec9f9455
add ldcontrolb
1994-11-02 04:57:02 +00:00
deraadt
46f66f22e0
ioctl u_long cmd
1994-11-02 04:55:47 +00:00
deraadt
e3b33c7c21
add wcopy/wzero, and ack VME using ldcontrob
1994-11-02 04:55:20 +00:00
deraadt
bdcab43fb8
ioctl u_long cmd; and KNF
1994-11-02 04:54:19 +00:00
mycroft
1e951824c4
Clean up deleted files.
1994-10-30 18:43:27 +00:00
deraadt
89a7412206
KNF
1994-10-30 18:43:21 +00:00
deraadt
58f5cef745
repair a type
1994-10-28 16:50:59 +00:00
deraadt
6d9927894a
vme interrupt support
1994-10-26 07:16:34 +00:00
deraadt
62b9ec5645
rearrangement
1994-10-26 07:16:22 +00:00
deraadt
62b99b6414
vme, and cleanup some messy #ifdef stuff
1994-10-26 07:15:09 +00:00
deraadt
ef07868ebe
sunos compat changes
1994-10-26 07:13:56 +00:00
deraadt
2036bd665c
updates
1994-10-26 07:12:38 +00:00
deraadt
a4323e6911
changed sunos_compat, if_ie
1994-10-26 07:12:18 +00:00
deraadt
f3299b1470
obio/vme16 Intel Ethernet driver by Chuck Cranor. works on vme16.
1994-10-26 07:11:16 +00:00
deraadt
9773a7aa40
working vme16/32 support
1994-10-26 07:09:41 +00:00
cgd
5aea0d3fd2
update for new syscall args description mechanism
1994-10-20 04:46:23 +00:00
deraadt
3c8b6feab0
better #ifdef's
1994-10-20 04:40:58 +00:00
deraadt
2fb5b874a1
sbus_establish() is sun4c/sun4m specific
1994-10-15 08:57:20 +00:00
deraadt
63afb063a5
declare obio/sbus in the right place
...
obio/vmes/vmel support only active if requested
1994-10-15 06:01:20 +00:00
deraadt
8986364564
mapiodev takes a bustype argument now
...
attempt to configure vmel/vmes
1994-10-15 05:53:23 +00:00