cgd
d14ddb730d
make safe for user-land consumption.
1994-05-05 06:34:18 +00:00
cgd
36f4beef88
grrr.
1994-05-05 06:13:36 +00:00
deraadt
e5f73be0cc
flag foo
1994-05-05 05:59:14 +00:00
deraadt
526fa73de2
use SUN4C, not sun4c, throughout
1994-05-05 05:58:27 +00:00
deraadt
32f1e3f490
flags foo
1994-05-05 05:55:00 +00:00
cgd
0f2ecb72f6
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:40:40 +00:00
mycroft
9acec7fcbb
Clean up deleted files.
1994-05-05 05:40:27 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
gwr
c859ba3b1c
proc flag names
1994-05-05 04:48:52 +00:00
cgd
51bb2bd806
if_hp won't compile, but it'd need a counter include, if it were to...
1994-05-05 04:47:41 +00:00
gwr
aa2348a426
cosmetic
1994-05-05 04:46:51 +00:00
gwr
9200c97aec
Oops - had some options in twice.
1994-05-05 03:48:56 +00:00
cgd
05a7ffd00c
fix rlimit calls for ultrix compat; untested, but should work
1994-05-05 03:31:07 +00:00
gwr
2bb2cb3a72
take out the trash
1994-05-05 03:09:11 +00:00
gwr
e53edb4c86
Fix prom entry for Adam's version of prom.c
1994-05-05 03:07:32 +00:00
gwr
4204589450
Track renamed proc flags.
1994-05-05 03:02:49 +00:00
gwr
2ae9ef44af
changes to use generic dev/cons.c
1994-05-05 02:59:37 +00:00
cgd
013681d5ce
fix my forgetfulness; from gwr
1994-05-05 02:46:58 +00:00
mycroft
a9c3f137b5
Don't frob the connector type if the card doesn't grok soft config.
1994-05-05 02:20:44 +00:00
gwr
72b8de4aa3
HPUXCOMPAT changed to COMPAT_HPUX
1994-05-05 01:11:29 +00:00
cgd
6074d0e9d1
comment out hp0; at charles's prompting
1994-05-05 00:03:45 +00:00
mycroft
5e5b91a3c5
Move internal prototypes to a better place.
1994-05-04 11:25:25 +00:00
mycroft
f8a6ac17b2
More return types...
1994-05-04 11:24:06 +00:00
mycroft
b4719466f8
More return types...
1994-05-04 11:04:58 +00:00
mycroft
4cce672e7d
Prototype lots of kernel-internal functions.
1994-05-04 10:59:14 +00:00
mycroft
7b1bf9c7d2
Add return types where missing. Simplify some of the compat conditionals.
...
Include compat code if COMPAT_SUNOS with or without COMPAT_43.
1994-05-04 10:27:20 +00:00
mycroft
511a02415f
Fix panic when closing a file descriptor on which access rights have been sent
...
but not received.
1994-05-04 09:50:11 +00:00
cgd
c08ef4088b
add CP_INTR cpu state.
1994-05-04 09:23:45 +00:00
mycroft
b72ce59575
Add some more prototypes.
1994-05-04 09:08:33 +00:00
chopps
36de8a074d
update to match current proc flags.
1994-05-04 07:35:33 +00:00
gwr
77a3c6a20e
Make conf.o depend on the Makefile
1994-05-04 05:57:27 +00:00
gwr
8e386a7196
Add zs driver, organize like TIMESINK
1994-05-04 05:56:33 +00:00
gwr
1e7ab48e57
Add zs driver files.
1994-05-04 05:55:35 +00:00
gwr
fc31584a9b
Get rid of some compiler warnings.
1994-05-04 05:53:38 +00:00
gwr
b0f38818a3
Replace unnecessary call to sun3_stop() with a simple panic()
1994-05-04 05:52:44 +00:00
gwr
f74faa505c
Enable/disable clocks in sun3_stop()
...
Add functions to call sun3_stop() with the appropriate arg.
Set the cpuspeed according to the machine type.
1994-05-04 05:51:36 +00:00
gwr
74028249b8
Add missing .text to avoid confusing the assembler.
1994-05-04 05:48:10 +00:00
gwr
c0af07f1b6
Catch up with changes in the common vm code.
1994-05-04 05:46:11 +00:00
gwr
1c7ffbcc19
Catch up with changes in the common vm code.
...
Change sun3_stop() calls to sun3_rom_xxx()
1994-05-04 05:45:02 +00:00
gwr
c40d99cb96
Catch up with changes in common vm code.
1994-05-04 05:42:29 +00:00
cgd
17f30a5d0b
kill obvious bug; glad to know this was tested!
1994-05-04 05:41:55 +00:00
gwr
bf2e2efc81
Add delay.s
1994-05-04 05:40:17 +00:00
gwr
4a83b7b796
Implements the functions: delay(), delay2us()
1994-05-04 05:39:44 +00:00
gwr
03bb45e589
New style (easier to read), use SunOS-4.1.1 device numbers.
1994-05-04 05:38:39 +00:00
gwr
76cd02b219
Add RB_NOSYNC to boothowto instead of disabling machdep.c:boot()
1994-05-04 05:36:55 +00:00
gwr
93fa1563a6
Get initial mappings for console routines.
...
Use the kd device instead of tty rewiring mess
1994-05-04 05:34:14 +00:00
gwr
21e4034d51
Make ZS_DELAY() use the new delay2us() function.
1994-05-04 05:30:35 +00:00
gwr
bfcbf0f513
Add zs0_va, zs1_va
1994-05-04 05:29:25 +00:00
gwr
c224b41c38
This provides a tty device for dev/cons.c to point at.
1994-05-04 05:27:50 +00:00
gwr
1adf9a39b5
Make the DELAY macro call the new delay() function.
1994-05-04 05:25:43 +00:00
briggs
83e8ab7114
Don't even pay lip service to HPUXCOMPAT, now COMPAT_HPUX.
1994-05-04 05:25:41 +00:00
gwr
a8f63d1201
Add zs0_va, zs1_va
1994-05-04 05:24:36 +00:00
gwr
7504f664b1
Add EE_CONS_P4OPT, fix boilerplate.
1994-05-04 05:23:02 +00:00
mycroft
e1f885f156
HPUXCOMPAT -> COMPAT_HPUX
1994-05-04 04:10:28 +00:00
mycroft
e5a2605525
Remove silly redundant #ifdefs.
1994-05-04 04:09:34 +00:00
mycroft
495d3519fa
HPUXCOMPAT -> COMPAT_HPUX
1994-05-04 04:02:54 +00:00
mycroft
e3e3d72f66
Update to match proc.h.
1994-05-04 03:47:10 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
mycroft
901ca10819
Tweak overflow check.
1994-05-04 02:07:24 +00:00
cgd
f8dd4f370d
expand the rlimit struct, kill last vestiges of off_t bogosity.
1994-05-04 01:38:25 +00:00
deraadt
946453260a
fixes from <brad@fcr.com> who claims it now works correctly
1994-05-03 23:02:07 +00:00
mycroft
e5c1d566ef
Really fix the Buslogic/DTC problem.
1994-05-03 20:53:54 +00:00
mycroft
d300cfc46f
Various cleanup.
1994-05-03 20:51:15 +00:00
mycroft
90beb62e64
Need icu.h.
1994-05-03 20:35:08 +00:00
mycroft
0ee51c2c8b
Forgot to munge the #includes in last commit.
1994-05-03 20:32:22 +00:00
mycroft
e8f7c7c31b
Speed it up, and make it easier to handle different timer rates efficiently.
1994-05-03 20:30:26 +00:00
mycroft
884168ce49
Move beep junk to clock.c.
1994-05-03 08:23:55 +00:00
mycroft
36a9bcce8d
Fix argument to aic_sched_msgout() is several places, and condense some code.
1994-05-03 08:20:43 +00:00
phil
4e523f8ddb
clock.c/mem.c: real time clock detection fix/config change
...
pmap.c: zap mmap
1994-05-03 07:30:30 +00:00
phil
cbe2aab3b2
changes for shared libs and fast ntoh*/hton* routines.
1994-05-03 07:29:37 +00:00
mycroft
650e19b16d
Clean up deleted files.
1994-05-03 07:27:06 +00:00
phil
4cf1fbc402
configuration name changes, cleanup on the Makefile
1994-05-03 07:26:59 +00:00
mycroft
3acdcf5311
Use vm_map_remove(), not vm_map_delete().
1994-05-03 01:24:11 +00:00
mycroft
0985e0980b
Avoid sleeping in swtch_exit().
1994-05-02 23:38:10 +00:00
deraadt
394be046a5
insw takes a word count
1994-05-02 06:37:10 +00:00
glass
7a1f9ba5b9
ugh. splimp is the greater of splnet and splbio now. used by pmap module for splpmap()
1994-05-02 05:46:06 +00:00
cgd
55d406e5e7
clean output, take the blame for a thing or two, and shrink more
1994-05-01 06:46:27 +00:00
cgd
70ba2b2c43
sun syscalls.master update
1994-05-01 06:15:58 +00:00
cgd
40d241b53a
three changes i forgot, from Gordon Ross (gwr@lamp)
1994-05-01 06:14:50 +00:00
cgd
9fb6210877
keep appropriate id's in 'created from' lines
1994-05-01 06:14:04 +00:00
cgd
4d3fb006eb
kill damned off_t weirdness, also upgrade get- and setrlimit.
1994-05-01 05:02:24 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
glass
e22b4a56ec
i really wish i knew what was wrong
1994-04-29 15:54:10 +00:00
chopps
2ad38fe7cd
change mmap to vmpte to avoid nameclash with the syscall.
1994-04-29 10:50:06 +00:00
cgd
531f171602
kill an FDSCRIPTS bug which nobody had found yet.
1994-04-29 08:35:29 +00:00
mycroft
06a4a02877
Add some DIAGNOSTIC code to detect trying to free a page that is being faulted
...
in.
1994-04-29 08:21:49 +00:00
cgd
f50f031448
kill syscall name aliases. no user-visible changes
1994-04-29 04:41:02 +00:00
cgd
6029e550f1
kill 'aliases'
1994-04-29 04:29:14 +00:00
cgd
e5ad8074f2
minor code structure nit that i pointed out to hibler a while ago...
1994-04-29 03:56:26 +00:00
mycroft
f9926d7e22
Clean up deleted files.
1994-04-29 02:06:49 +00:00
mycroft
2ff4b1435c
Set ICUs to read IRR by default.
1994-04-28 08:28:35 +00:00
mycroft
39718a43cc
Enable/disable shared memory access on all WD/SMC boards. Add support for
...
software selection of AUI or BNC connectors using LINK0.
1994-04-28 04:53:09 +00:00
cgd
10b63d74bc
SHUT UP!
1994-04-28 03:51:58 +00:00
cgd
009e6dd4e9
rearrange some splfoo
1994-04-28 01:17:00 +00:00
cgd
da9e659d0d
SHUT UP!
1994-04-27 21:43:47 +00:00
cgd
6035732eed
need <sys/time.h>
1994-04-27 21:32:00 +00:00
pk
c36241bbed
Add "show callout".
1994-04-27 10:49:07 +00:00
pk
6ce04ec890
Routine to display callout table from DDB.
1994-04-27 10:47:51 +00:00
mycroft
930194f7f9
Remove wt0 and el0 from these configs until probe problems are resolved.
1994-04-27 08:25:53 +00:00
hpeyerl
04853608cf
make a make and a make install work
1994-04-27 06:23:02 +00:00
mycroft
11bb73b9a1
Fix mmopen() and mmclose().
1994-04-27 03:53:29 +00:00
mycroft
bec176e7da
Update for new time struct.
1994-04-26 22:33:28 +00:00
phil
128ceab54f
Sigh .. forgot to kill one .globl
1994-04-26 20:47:46 +00:00
phil
fe9c815e20
using the "autoboot rom", the pc532 will now actually reboot ... locore.s can
...
now stop mapping and rerun the monitor as if the machine just had power
applied.
1994-04-26 20:46:40 +00:00
pk
3bd7cfeb1b
More prototyping.
1994-04-26 20:19:52 +00:00
pk
21099f340f
Fix typo.
...
Give TIOCTCNTL a try.
1994-04-26 19:52:29 +00:00
pk
13809c7029
SunOS's RLIMIT_NOFILE is different: add sun_[gs]rlimit().
1994-04-26 19:50:37 +00:00
cgd
ed7e1b86da
clean up a little bit, and minor optimization...
1994-04-26 05:40:35 +00:00
chopps
1996d53f08
don't reinit board twice if it works once.
1994-04-26 03:48:08 +00:00
mycroft
fc844e1797
Style nits.
1994-04-26 03:43:26 +00:00
mycroft
62773fc6f8
Add Adaptec 6360 driver from Jarle Greipsland, with some changes by me.
1994-04-26 00:05:56 +00:00
mycroft
d093232445
Add aic0.
1994-04-26 00:04:24 +00:00
cgd
95fcf16b66
add sequential swap device support, supplied by hibler many moons ago.
...
(Note that it needs config support, too, which isn't there yet, but
might be soon...) Also, general cleanup. use NODEV to terminate swdevt,
so that sparc port (and future) is happy.
1994-04-25 23:53:51 +00:00
mycroft
4dfb6d0abd
Implement intr_disestablish().
1994-04-25 22:12:14 +00:00
mycroft
87b39add50
As I described this on comp.protocols.tcp-ip:
...
I've found a problem with the TCP delayed ack algorithm. If the writer's
buffer becomes full before sending an entire window, the writer will stop
and the ack will be delayed and the transmission will be stalled pending
a timeout on (and transmission of) the delayed ack.
As an experiment, I've applied the following patch to my (NetBSD) kernel,
and it alleviates the problem.
The worst case for this change is that the writer sets the PSH bit on
every outgoing packet, in which case delayed ack is effectively disabled.
This is not an issue of correctness, however, and since most vendors use
the PSH bit a bit more intelligently, it doesn't seem like a serious
problem.
1994-04-25 19:16:53 +00:00
phil
6275189adf
locore.s: attempts to get back to the pc532 rom monitor
...
machdep.c: debug cleanup and queues change
1994-04-25 18:13:41 +00:00
cgd
8276c52cd9
i hate RISC.
1994-04-25 17:45:35 +00:00
cgd
7f3f130206
minor cleanup
1994-04-25 09:51:56 +00:00
mycroft
f43af3a756
Remove another bit of that.
1994-04-25 08:47:50 +00:00
mycroft
ccb0412b7c
Remove a piece of the previous patch.
1994-04-25 08:41:03 +00:00
mycroft
e4af8f69a5
Minor cleanup.
1994-04-25 08:22:07 +00:00
mycroft
efe5996f50
Set the file type correctly for stat().
1994-04-25 08:09:59 +00:00
mycroft
cd6e6bc193
Remove sbselqueue().
1994-04-25 08:08:56 +00:00
mycroft
35f4cd6784
Fix minor number.
1994-04-25 06:17:30 +00:00
cgd
22aa92e0a9
kill some code that became obsolete when berknet died...
1994-04-25 05:48:41 +00:00
mycroft
29467fc8ce
Need fcntl.h.
1994-04-25 05:17:25 +00:00
mycroft
dabe150020
Only diddle IOPL if opened for writing.
1994-04-25 05:15:07 +00:00
mycroft
695a2609af
Add mmopen() and mmclose(), to do user-level PIO.
1994-04-25 05:05:48 +00:00
mycroft
4d9d00948c
Add mmopen() and mmclose(), to do user-level PIO.
1994-04-25 05:05:05 +00:00
mycroft
6c82c5d9a2
Don't barf on inet without ether.
1994-04-25 04:59:24 +00:00
cgd
d071d1cf05
some prototype cleanup, eliminate/replace bogus types (e.g. quad and
...
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +00:00
mycroft
0e689f0375
Fix uninitialized pointer, pointed out by Michael VanLoon.
1994-04-25 03:16:03 +00:00
mycroft
4cda5e8d03
Reload the LDT immediately rather than trying to reschedule.
1994-04-24 22:49:05 +00:00
mycroft
a638b2a7ed
I feel lucky...
1994-04-24 21:58:24 +00:00
glass
4193c502e4
fixed to use new queue stuff. random diffs to make ddb stuff mostly compile
1994-04-24 20:10:13 +00:00
mycroft
a9cd310982
Add aic6360.c.
1994-04-24 19:48:03 +00:00
deraadt
b0e09935c4
more, more, more
1994-04-24 12:18:49 +00:00
mycroft
ebd7e0e107
Fix typo.
1994-04-24 12:06:03 +00:00
chopps
17d245f3af
fix form hp300.
1994-04-24 12:05:28 +00:00
mycroft
aa59ec01a8
Remove all vestiges of hppagesperpage and HP_PAGE_SIZE, and just use NBPG.
1994-04-24 11:48:50 +00:00
deraadt
714db1ef12
make sunos mount(2) work again
1994-04-24 11:37:49 +00:00
mycroft
64a52d148e
Clean up bogus VM #includes.
1994-04-24 07:00:12 +00:00
mycroft
b03a6c6949
Clean up bogus VM #includes.
1994-04-24 06:38:46 +00:00
mycroft
34caa72b58
Update to match queue changes.
1994-04-24 06:14:02 +00:00
mycroft
613c669b62
Add COMPAT_09.
1994-04-24 05:41:34 +00:00
mycroft
efbbf1b09f
Deal with variable-length drives that don't specify a maximum block size.
...
c.f. SCSI 2 protocol definition.
1994-04-24 05:40:05 +00:00
mycroft
c791f19ad1
Fix an #include.
1994-04-24 04:44:16 +00:00
deraadt
30c24e4508
bit better now, fixes from me & charles. squishy squishy squishy. HI ADAM!
1994-04-24 02:48:10 +00:00
mycroft
f35e488b02
Still need this for config for now.
1994-04-24 01:39:11 +00:00
mycroft
f581b01fee
Clean up deleted files.
1994-04-24 01:34:18 +00:00