briggs
a15027bd11
Remove old comment.
1995-04-10 13:01:19 +00:00
briggs
769e59cd1f
Remove bogus extra tape cdevsw entry.
...
Change adb dev init to a mouse dev init.
Remove non-existant clock device stuff.
1995-04-10 12:59:48 +00:00
mycroft
fecbe784d6
Oops; finish that last change.
1995-04-10 12:45:53 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
c668fc0161
vmempage -> vmmap
1995-04-10 11:58:33 +00:00
mycroft
e5ea545fb6
vmempage --> vmmap, and remove incorrect comment.
1995-04-10 11:57:17 +00:00
mycroft
127e0761c9
Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
...
needed. Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
66845e73cc
cn_tty is unneeded.
1995-04-10 10:23:49 +00:00
mycroft
d751b03236
Minor consistency nits.
1995-04-10 10:01:40 +00:00
mycroft
4d2499eb58
Update for conf.h.
1995-04-10 09:22:28 +00:00
mycroft
bdd61fbe66
Fdclose --> fdclose
1995-04-10 09:14:00 +00:00
mycroft
1475e294a9
map --> mmap
1995-04-10 09:12:10 +00:00
mycroft
ab5eac8e84
Add dummy itestop(), and rename a few functions.
1995-04-10 09:11:41 +00:00
mycroft
f96eaaabc0
Nuke write routines.
1995-04-10 09:10:20 +00:00
mycroft
01e31cf3cd
Fdclose --> fdclose
1995-04-10 08:56:18 +00:00
mycroft
b0a77d1212
map --> mmap
1995-04-10 08:55:47 +00:00
mycroft
25e4eaf5ca
Nuke kbdwrite().
1995-04-10 08:54:41 +00:00
mycroft
42a32c0eca
Minor tweak for ite.
1995-04-10 08:54:16 +00:00
mycroft
27d859e141
Add dummy itestop(), and rename a few functions.
1995-04-10 08:53:46 +00:00
mycroft
e66c94e4b5
Update for conf.h.
1995-04-10 08:51:09 +00:00
mycroft
9170f98a19
Remove private read and write routines.
1995-04-10 08:13:54 +00:00
mycroft
c0e128ac74
This is what physio() is for.
1995-04-10 08:09:59 +00:00
mycroft
0a6d915b83
Update for conf.h.
1995-04-10 08:06:06 +00:00
mycroft
8f8bccf41f
Switch grfmap and grfmmap.
1995-04-10 07:56:46 +00:00
mycroft
942c5ec591
Map vnd device from chr to blk.
1995-04-10 07:54:45 +00:00
mycroft
7e450d5085
device.h is defunct.
1995-04-10 07:50:42 +00:00
mycroft
14241df959
Update for conf.h.
1995-04-10 07:43:49 +00:00
mycroft
c126c9401f
Add a dummy kdstop().
1995-04-10 07:33:53 +00:00
mycroft
9da61beca9
map --> mmap
1995-04-10 07:31:22 +00:00
mycroft
7ccad2faec
Update for conf.h.
1995-04-10 07:29:42 +00:00
mycroft
9e5184dfec
Add dummy cnstop(), more return types.
1995-04-10 07:14:33 +00:00
mycroft
795010b56c
map --> mmap
1995-04-10 07:04:18 +00:00
mycroft
d64b72d064
Fdclose --> fdclose
1995-04-10 07:01:31 +00:00
mycroft
a7b5f01159
Update for conf.h, and add a real chrtoblktbl[].
1995-04-10 07:01:04 +00:00
mycroft
a9fe4eea9f
Fix typo.
1995-04-10 06:55:56 +00:00
mycroft
0ed094a91e
Add a stop function to cdev_cn_init().
1995-04-10 06:32:14 +00:00
mycroft
6e992fcd83
Add a dummy cnstop().
1995-04-10 06:30:52 +00:00
mycroft
63dcb06933
Add promstop(), adjust return types, make sure ttselect() doesn't panic, and
...
obey standard style conventions.
1995-04-10 06:14:57 +00:00
briggs
d5cfa2c98f
Synchronize with latest changes to hp300 conf.c and give dummy mem
...
open/close/map routines (map is dummy for now, but should be implemented
when I'm more awake).
1995-04-10 05:57:40 +00:00
mycroft
ca5caf005a
map --> mmap
1995-04-10 05:45:26 +00:00
mycroft
11ea6e42ce
conf_init() is no more.
1995-04-10 05:44:08 +00:00
mycroft
3ba14de085
Rewrite in new format.
1995-04-10 05:42:34 +00:00
mellon
404e6bc5c9
Put endif COMPAT_09 inside function definition
1995-04-10 04:47:47 +00:00
mycroft
f8f99c94a1
Fdclose --> fdclose; no longer conflicts.
1995-04-10 04:18:14 +00:00
mycroft
1b3587f158
Minor changes to match hp300 version.
1995-04-10 04:17:12 +00:00
mycroft
0f894dcdc4
Update to match hp300 port.
1995-04-10 04:02:53 +00:00
mycroft
28978ed078
v_cmap --> vmmap
1995-04-10 03:54:27 +00:00
mycroft
ea5470b091
Partially update to match conf.h.
1995-04-10 03:36:17 +00:00
mycroft
3f22df0746
Declare all return types.
1995-04-10 01:56:41 +00:00
mycroft
21993f8246
Add dummy mmopen() and mmclose(); change mmmap() to mmmmap().
1995-04-10 01:55:57 +00:00
mycroft
3d4e73333d
Update to match conf.h.
1995-04-10 01:54:00 +00:00
mycroft
0b734c8881
Minor stylistic changes.
1995-04-10 01:26:43 +00:00
mycroft
a9e1bbb0c7
Add no-op open and close functions.
1995-04-10 01:23:19 +00:00
mycroft
9c41e0f2f2
Most of the console functions return void.
1995-04-10 01:07:16 +00:00
mycroft
95c5c4f79f
Most of the console functions return void. Also change interrupt logic
...
slightly.
1995-04-10 01:05:55 +00:00
mycroft
374185caff
Most of the console functions return void.
1995-04-10 01:01:40 +00:00
mycroft
0ed4893351
mmmap --> mmmmap
1995-04-10 00:59:33 +00:00
mycroft
5ca64d4b70
hilmap --> hilmmap
1995-04-10 00:58:36 +00:00
mycroft
0323181eb1
Switch grfmap and grfmmap.
1995-04-10 00:58:10 +00:00
mycroft
1b8aff7880
map --> mmap
1995-04-10 00:55:57 +00:00
mycroft
84de5b1135
Update to make con[fs].h.
1995-04-10 00:50:50 +00:00
mycroft
affcd0e2c8
Properly prototype the switch table functions. Add conf.h-like macros for
...
defining the switch tables.
1995-04-10 00:50:27 +00:00
mycroft
99005388fd
Return EOF for old vnodes of tty devices, rather than EIO.
1995-04-10 00:48:46 +00:00
mycroft
7f3a305b34
Use the new d_type field. Set VISTTY for vnodes of tty devices.
1995-04-10 00:48:10 +00:00
mycroft
04a0a9a518
Use the new d_type field.
1995-04-10 00:46:51 +00:00
mycroft
f4d66d9b37
Add a device type to the switch tables. Move the [bc]dev_{decl,*_init}()
...
macros into here, so they only need to be defined in one place.
1995-04-10 00:46:11 +00:00
mycroft
2f30839b62
Remove now unneeded #ifdef. Prototype new function.
1995-04-10 00:06:54 +00:00
mycroft
4b5c13c2c7
Shift the bit positions.
1995-04-09 23:29:22 +00:00
mycroft
e957423a98
Move fp_except and fp_rnd definitions to machine/include.
1995-04-09 21:31:58 +00:00
pk
2e1b0cc690
Adapt to if.h changes.
1995-04-09 12:36:22 +00:00
pk
6e4b0ecfc6
Unblank frame buffer when entering the debugger.
1995-04-09 11:51:10 +00:00
gwr
f0dfc32ae9
Sync with net/if.h changes
1995-04-09 05:08:33 +00:00
leo
8b093b18a2
Added '\r' chars in printf, so output under TOS becomes readable. Also
...
added some extra options for debugging.
1995-04-08 21:01:39 +00:00
briggs
c17558aa9b
Fixup types of a few functions to match if.h structure.
1995-04-08 20:55:26 +00:00
briggs
426b77c9eb
Put in a dummy PostEvent trap and enable ADB interrupts for IIci. From
...
Paul Goyette (paul@pgoyette.bdt.com ).
I went ahead and removed the conditional around setting the ADB interrupt
enable. I don't expect Apple will have changed this on any other models
as it's the same on all documented models.
1995-04-08 20:46:23 +00:00
briggs
7e4d7125a3
Back to previous version of the serial driver until we can figure out
...
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs
870235352d
Print a diagnostic if we do hit the watchdog and recover w/o resetting.
1995-04-08 13:17:55 +00:00
briggs
8ca9890ea2
Actually set the vectors for RBV as well as VIA2.
...
Don't go to spl4 when we have an ADB interrupt.
Turn off video interrupts on the SE/30.
1995-04-08 13:16:33 +00:00
chopps
967e7d4f1d
fix typo
1995-04-08 05:30:58 +00:00
gwr
bcd63a2a47
minor cleanup
1995-04-08 04:46:59 +00:00
gwr
f41996e453
Do the I-cache flush in the process switch asm code like other ports.
1995-04-08 04:45:43 +00:00
gwr
cf2da3de32
Add some comments.
1995-04-08 04:43:44 +00:00
gwr
cd79987a43
Fix CGTWO entry
1995-04-08 04:42:01 +00:00
gwr
a1cc6d49c4
It works now.
1995-04-08 04:40:27 +00:00
fvdl
71f3e4d1f2
Add ep_sigcode and ep_esigcode fields to exec package structure.
1995-04-07 22:34:11 +00:00
fvdl
366ba9b889
Use sigcode fields in package structure. This seems to be the cleanest
...
way to deal with seperate trampoline code for emulation of other OSs,
it avoids having to clutter up kern_exec.c any further.
1995-04-07 22:33:23 +00:00
fvdl
fb00b736fd
Arch dependant defs for Linux. Just signal stackframe definition for now.
1995-04-07 22:31:19 +00:00
fvdl
46de9a804f
Changes because of proper Linux signal stackframe building, and
...
seperate signal trampoline code. Ugly hack in trap.c no longer
needed.
1995-04-07 22:29:34 +00:00
mycroft
87d43afd46
Clean up to match common code, and fix a typo.
1995-04-07 22:27:42 +00:00
mycroft
99cd177c88
Add a common function to initialize ARP-related variables. `Insired'
...
by Garrett Wollman.
1995-04-07 22:26:04 +00:00
fvdl
a3ff5bc0aa
Add arch/i386/i386/linux_machdep.c
1995-04-07 22:25:41 +00:00
fvdl
c37a9a26c6
syscalls.master was changed, so update these
1995-04-07 22:24:11 +00:00
fvdl
623f1e3986
Handle Linux signal tramp code differently. Some changes because of the
...
now seperate Linux signal trampoline code. Add linux_sigreturn to
syscalls.master.
1995-04-07 22:23:22 +00:00
mycroft
1b863c2eca
if_start and if_watchdog should return void.
1995-04-07 22:20:24 +00:00
mycroft
da0921a4a2
Set if_output in ether_ifattach().
1995-04-07 22:19:29 +00:00
pk
8161907540
Add evcnt_attach().
1995-04-07 19:46:13 +00:00
mycroft
641dc38337
Require the denode to be locked before calling msdosfs_hashins(), rather than
...
inlining the rest of the code in reinsert(). (No functional changes.) Also,
make sure that we don't print the (bogus) lock values when !DIAGNOSTIC.
Partly based on a patch from Mike Pritchard.
1995-04-07 17:37:08 +00:00
jtc
ec2bda0f0b
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-07 15:00:54 +00:00
gwr
d0d1dc8a4e
Fix that probe sequence right this time.
1995-04-07 05:19:24 +00:00
gwr
8f584db874
Flush the cache when switching contexts (thanks to David Jones).
1995-04-07 04:46:41 +00:00
gwr
e7f174fdcd
Make sure curproc->p_addr is set before any faults occur.
...
Put msgbuf in page zero (so its location is predictable).
1995-04-07 04:44:55 +00:00
gwr
9a714f87a8
Use vmempage for /dev/mem like other ports.
1995-04-07 04:44:26 +00:00
gwr
e1b1e78d15
Allocate vmempage here (for use by /dev/mem).
1995-04-07 04:44:05 +00:00
gwr
d047cd4b9c
Announce unexpected interrupts once for each level.
1995-04-07 04:43:25 +00:00
gwr
88f350e128
Make sure we do not enable clock interrupts too early.
1995-04-07 04:30:13 +00:00
gwr
4a3ad0819d
Look out for null curproc->p_addr which caused a "Watchdog Reset!"
...
when the recursive faults overflowed the stack. (from David Jones)
1995-04-07 03:12:51 +00:00
gwr
e5a537ade9
Fix to make "root on sd2a" work (from David Jones)
1995-04-07 03:02:36 +00:00
gwr
65725c0bce
Add cgtwo
1995-04-07 02:58:49 +00:00
gwr
522e7f03d7
First cut at cgtwo driver. Not quite right yet.
1995-04-07 02:54:43 +00:00
gwr
0af73b6fc3
Changed fb_attach() interface
1995-04-07 02:51:21 +00:00
gwr
19c01b5c67
Corrected fbtype->fb_size (which x11r6 is picky about...)
1995-04-07 02:47:40 +00:00
gwr
637b45dbf2
Changed fb_attach() interface, hack probe to avoid impossible matches.
...
Corrected fbtype->fb_size (which x11r6 is picky about...)
1995-04-07 02:43:25 +00:00
gwr
d49502cfa2
Changed fb_attach() interface
1995-04-07 02:37:18 +00:00
gwr
1feb639a38
First cut at cgtwo driver. Not quite right yet.
1995-04-07 02:31:45 +00:00
gwr
63052ecc6e
Add cgtwo
1995-04-07 02:23:03 +00:00
gwr
3de4f27e67
Yet more SYMTAB_SPACE
1995-04-07 02:18:39 +00:00
jtc
7a5da7fda2
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-07 00:44:37 +00:00
leo
8dc1468412
NetBSD/Atari, port by Leo Weppelman.
1995-04-06 21:04:54 +00:00
chopps
e688ef2f10
say something more for unconfigured devices
1995-04-06 19:45:00 +00:00
chopps
dac345e605
add new option to enable faster (and on some boards non-working) scroll
...
code for retina grahpics cards.
1995-04-06 19:24:47 +00:00
chopps
79bf8f86dd
made current retina vertical scroll code conditional on the new
...
option RETINA_SPEED_HACK. Old commented code has been resurected.
This reportedly fixes the smear problems some retinas have.
John Vrolijk <dsnjvro@etmsun.etm.ericsson.se> noticed this.
1995-04-06 19:19:45 +00:00
mycroft
6f131301b0
Make OSI and X.25 work on little-endian machines.
1995-04-05 21:38:50 +00:00
mycroft
bb85930bbe
Add missing argument to closef().
1995-04-05 21:26:40 +00:00
leo
e5d720f534
Fixed up chr to blk translations.
1995-04-05 06:31:33 +00:00
mycroft
3836533fc6
Add another broken CD-ROM drive to The List.
1995-04-04 05:44:32 +00:00
mycroft
cd50457f15
Fix conversion of `type' and `whence' values in struct flock.
1995-04-04 04:21:30 +00:00
mycroft
0e67f2a78e
Rename a few constants to match the chip documentation.
1995-04-04 01:59:28 +00:00
mycroft
13ac06ec6a
More debugging printf()s, from Rafal Boni.
1995-04-04 01:44:23 +00:00
gwr
aa197980e8
Use new core file format in cpu_coredump()
1995-04-03 22:06:11 +00:00
gwr
69aa4da3cf
Add FDESC FIFO NULLFS UNION file systems.
1995-04-03 22:03:38 +00:00
mycroft
c04ae31e95
Prototype iexmit().
1995-04-03 21:22:37 +00:00
mycroft
9085715229
Some pseudo-random cleanup, and try to start transmitting packets quicker.
1995-04-03 21:17:13 +00:00
mellon
23023327a2
Move cpu-specific exec support to cpu_exec.c; Support 4.4BSD a.out
1995-04-03 04:38:04 +00:00
chopps
85bd6c5e30
cleanup SG4_, fix magnum interrupts, gvp hack for ziii, new gvp configs, 4066
...
4066 interrupt fix, add baudrate gen and don't clear other port lines for mfc
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-04-02 20:38:09 +00:00
mycroft
47ba263ebe
Emulate SCO behaviour when both FREAD and FWRITE are set, but only for SCO
...
executables.
1995-04-02 19:27:48 +00:00
pk
1dd6d8a8dd
Fix TCGETA compat, from Matthew Green.
...
SunOS `setaudioinfo' does implicit `getaudioinfo'.
Recognise streams flush/setsig ioctls.
1995-04-02 10:43:29 +00:00
mycroft
7e2dabf972
Add a missing unlock.
1995-04-01 10:29:41 +00:00
mycroft
508897dfcc
Insert a missing unlock.
1995-04-01 10:27:56 +00:00
mycroft
03e3548ec7
Change the locking protocol to match other drivers.
1995-04-01 08:45:33 +00:00
mycroft
5ef3b8b957
Always load the TOC. Turn off the TOC bit in the mode register so the busy
...
light goes off.
1995-04-01 08:40:11 +00:00
mycroft
0a2cdb6d61
Fix bogus buffer indexing when a value is split across a mbuf boundary,
...
as suggested by Greg Ansley. Also, redefine MINDEX() slightly to avoid
duplicating code.
1995-04-01 03:04:49 +00:00
mycroft
25b58554cb
Update.
1995-03-31 18:27:30 +00:00
christos
5ee5b100d3
Added TIOCGSID for COMPAT_SVR4 [get session id]
1995-03-31 03:10:15 +00:00
christos
c8afb5deaf
Syscalls.master was changed
1995-03-31 03:08:25 +00:00
christos
9255f898e8
Added TIOCGSID for COMPAT_SVR4 [get session id]
1995-03-31 03:07:41 +00:00
christos
ee05f066e8
1. siginfo stuff torn out from wait.h to be used by the MI portion of the code.
...
2. many termio, ioctl, sigaction fixes
3. better socket type emulation; still ticotsord [the loopback interface I
guess] does not work properly on svr4 4.1.
4. new gettimeofday, fixed utssys..
5. rmdir and mkdir were swapped in syscalls.master
1995-03-31 03:06:17 +00:00
christos
f376448086
Added the svr4 files
1995-03-31 02:57:02 +00:00
christos
687b36dccc
First pass at the ucontext stuff.
1995-03-31 02:55:59 +00:00
christos
d281894ab6
Moved KGDB trap 0x88 to 0x8a, and made 0x88 to be svr4 syscall [this is what
...
solaris uses]. Stubs for the missing and currently unused signal functions
stolen from the i386 code.
1995-03-31 02:54:10 +00:00
christos
0fd8f81d69
Reorganization of the signal frame and ucontext to make it shareable with
...
the sparc code. Added trap defines.
1995-03-31 02:51:37 +00:00
christos
d736bba447
Changes to make svr4 emulation signal() to work, and minor cleanup in trap.c
1995-03-31 02:49:25 +00:00
ragge
e1bbd102d9
Bug log...
1995-03-30 21:36:44 +00:00
ragge
80b5aa7c05
Speed-up of pmap and trap.
...
Fixes due to uVAX support.
1995-03-30 21:25:14 +00:00
ragge
a95842832d
Bug fixes of interrupt handlers.
1995-03-30 20:55:23 +00:00
ragge
c362495157
Some bug fixes & update of pcb.
1995-03-30 20:42:55 +00:00
ragge
543b832ee3
Support for DEQNA/DELQA added.
1995-03-30 20:26:32 +00:00
leo
f95dd52b68
KERNEL -> _KERNEL
1995-03-30 06:01:13 +00:00
mycroft
e17c63cee6
Revamp the locking mechanism slightly. Update some outdated comments, and add
...
a few new ones.
1995-03-29 23:36:27 +00:00
mycroft
1d568eab9a
Revamp the locking mechanism slightly.
1995-03-29 23:04:39 +00:00
ragge
b94cd499ab
All supported devices.
1995-03-29 22:54:02 +00:00
ragge
db6fbd3bf2
Support for tmscp tapes.
1995-03-29 22:50:47 +00:00
briggs
6efcd1b6d4
KERNEL -> _KERNEL
1995-03-29 21:57:43 +00:00
briggs
0884490297
KERNEL -> _KERNEL.
1995-03-29 21:56:46 +00:00
ragge
887089b1c2
uVAX II support.
1995-03-29 21:35:16 +00:00
ragge
9dbb11b582
Added support for uVAX boot.
1995-03-29 21:23:59 +00:00
mycroft
46b2bb599f
Make definition of b_cylinder global.
1995-03-29 20:57:35 +00:00
briggs
10fc499f8c
Nuke FPCOPROC and add fpu device driver and FPU_EMULATE from sun3.
...
Still need to figure out how to handle this w/ FPSP on 68040's but
since we're not really using the 68040 yet...
1995-03-29 07:38:34 +00:00
briggs
7a557178ba
Get rid of some BARFs and assign some semi-reasonable spl()s...
1995-03-29 07:35:35 +00:00
briggs
9fca93fa60
Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
...
Support the above with gwr's sun3 stuff.
1995-03-29 07:28:48 +00:00
hpeyerl
217531ad26
Update to reflect reality.
1995-03-28 23:57:20 +00:00
gwr
1012443810
Cosmetic changes suggested by Adam.
1995-03-28 21:29:32 +00:00
jtc
db0046c14d
KERNEL -> _KERNEL
1995-03-28 19:59:56 +00:00
jtc
8ba211cde0
Added #define _KERNEL
1995-03-28 18:37:27 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
gwr
cd70d15138
Avoid passing non-ASCII chars to the PROM.
...
Call PROM at splsoftclock to avoid missing interrupts.
1995-03-28 16:09:41 +00:00
leo
36592a50b1
Make ite ioctl work and fixup the colormap stuff.
1995-03-28 06:35:40 +00:00
leo
95b76828da
Add -D_KERNEL to preprocessor flags
1995-03-28 06:29:39 +00:00
leo
4458e46001
Capitalisation of NetBSD fixed.
1995-03-28 06:26:50 +00:00
gwr
0f9e8841da
Add _KERNEL
1995-03-28 04:30:45 +00:00
mycroft
aff93b44b4
Remove unused variable.
1995-03-27 21:44:11 +00:00
mycroft
657ddd6fde
Remove a tiny bit of redundant code.
1995-03-27 18:08:34 +00:00
mycroft
0a3d4f358a
It's not necessary to do a GETSTAT before each read.
1995-03-27 16:48:45 +00:00
mycroft
c61cb27f9c
Small garbage collection, and turn off debugging info by default.
1995-03-27 16:04:07 +00:00
mycroft
306af9bd89
Largely rewritten by me, with some input from Dave Burgess. Implement most of
...
the CDIOC* calls correctly, improve performance by 10x when interrupts work,
and implement the same generic disk framework as other drivers.
Needs some more work.
1995-03-27 15:45:20 +00:00
mycroft
ad8b7c8c7d
Remove some sanity checks that are too restrictive, as suggested by Leo.
1995-03-27 12:59:56 +00:00
cgd
9141ec70a1
change needed for atari; recycle some code for the i386 that was in Lite
...
that we don't use, but is used by the atari now. (it should change
to MACHINE_NONCONTIG, too...)
1995-03-27 09:09:05 +00:00
gwr
507979e02b
Increase ZSSOFT_PRI from 2 -> 3 now that tty ipl is 4.
1995-03-27 01:25:20 +00:00
gwr
b7982644e1
Put spltty at level 4 and adjust others appropriately.
...
Also, improve the inline _spl() and move it to psl.h
1995-03-27 01:22:50 +00:00
jtc
f76f1f89ad
KERNEL -> _KERNEL
1995-03-26 20:35:13 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
gwr
4916e6ce63
Nuke FPCOPROC
1995-03-26 19:38:23 +00:00
gwr
56bbea071a
Add/fix some comments.
1995-03-26 19:37:41 +00:00
gwr
1a22be7490
Enable interrupts before autoconfig.
...
The reasons to do it later no longer exist.
1995-03-26 19:32:31 +00:00
gwr
58662ede8c
Enable interrupts before autoconfig (like hp300).
...
The reasons to do it later no longer exist.
1995-03-26 19:28:29 +00:00
gwr
42d319670c
Add "tun" device.
1995-03-26 19:24:16 +00:00
gwr
e2d6f35c09
The splbio()/splx(s) is now appropriate even if SCSI_POLL is set.
1995-03-26 19:23:12 +00:00
gwr
0784cab36b
Sync with GENERIC
1995-03-26 19:17:48 +00:00
gwr
3316bb27fd
Nuke FPCOPROC
1995-03-26 19:17:23 +00:00
briggs
4c88a6a961
Don't MRG_TEST the tracing if MRG_TRACE isn't defined. From
...
Paul Goyette (paul@pgoyette.bdt.com ).
1995-03-26 18:10:23 +00:00
briggs
71a63538b8
KERNEL -> _KERNEL
1995-03-26 17:08:36 +00:00
mycroft
445c619523
Make this lighter.
1995-03-26 16:36:12 +00:00
briggs
625d11a739
sun3 fixes for COMPAT_SUNOS.
1995-03-26 15:53:36 +00:00
briggs
9d7efb1fb0
Do iteon() and iteoff(). Right now, they just clear/draw the cursor and
...
clear the screen. "We" should look at updating these further.
1995-03-26 15:52:21 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +00:00
cgd
a046d2374e
don't default return types to ints; specify them.
...
ktrsyscall takes (vp, code, argsize, args), and stores argsize rather
than nargs.
1995-03-26 07:48:47 +00:00
cgd
3a977bd3df
syscall tracing: store code and argsize, as ints; update comments.
1995-03-26 07:47:39 +00:00
leo
aaba69e8ca
fix some formatting nits
1995-03-26 07:24:32 +00:00
leo
71f4b7ab67
cgd for leo: adjust ktrsyscall() invocation to behave like ktrsyscall()
...
now expects.
1995-03-26 07:20:54 +00:00
leo
e5838fcffd
cgd for leo: kill some casts; catch up with the state of the rest of the world
1995-03-26 07:17:44 +00:00
leo
8b0113cfce
NetBSD/Atari, port by Leo Weppelman.
1995-03-26 07:12:03 +00:00
cgd
e2f551312e
make alpha GENERIC kernel have 'options INSECURE' by default
1995-03-26 01:48:21 +00:00
cgd
0310dd8f78
add an 'INSECURE' option which makes securelevel default to -1
1995-03-26 00:01:08 +00:00
briggs
5a8670a41a
add_nubus_intr takes int (*)(), not void (*)().
...
Fix slot interrupts more.
1995-03-25 22:30:39 +00:00
briggs
bc14b5cbcc
Don't count video interrupts.
1995-03-25 22:28:30 +00:00
cgd
fd10fb94e5
make it reasonable for processes to not double-map it's user area and kstack
1995-03-25 22:05:15 +00:00
mycroft
b51403f60d
Remove the write protect check altogether, and rely on the drive to do it.
1995-03-25 19:45:18 +00:00
mycroft
12a1b9ad67
Add a rogue entry for the ANRITSU DMT780.
1995-03-25 18:41:42 +00:00
mycroft
c7cee0e9b6
.
1995-03-25 00:46:42 +00:00
mycroft
ff6c206c3f
Use void* rather than caddr_t in many places.
1995-03-25 00:00:53 +00:00
mycroft
10512e87fa
All of the audio drivers need DMA.
1995-03-24 22:47:39 +00:00
glass
911fbf48fa
fix syntax error. Andreas Gustafsson <gson@clinet.fi>
1995-03-24 20:17:15 +00:00
gwr
a1bc8a65f8
Cleanup, and deal with kd != console
1995-03-24 19:48:41 +00:00
gwr
d57d569cad
Determine FPU type during autoconfig.
1995-03-24 17:27:12 +00:00
cgd
dd6089fc52
explicitly cast &time to (struct timeval *) when passing it to VOP_UPDATE.
...
new prototypes and picky compilers make a volatile mess.
1995-03-24 15:33:23 +00:00
cgd
cba4b405e4
don't let args default, return values, add protos
1995-03-24 15:29:46 +00:00
cgd
765d6cba46
kill a couple of debugging printfs
1995-03-24 15:15:45 +00:00
cgd
a7b2a08bc6
remove support for double-mapping the user area and kernel stack.
1995-03-24 15:07:10 +00:00
cgd
6203812f8d
better 3000/300-series systype recognition.
...
remove a while (1); that i added for debugging a while back.
remove support for double-mapping the user area and kernel stack.
1995-03-24 15:04:14 +00:00
cgd
2a6f9d0165
allow user to halt system at boot device prompt
1995-03-24 15:03:02 +00:00
cgd
804b49ae1f
remove support for double-mapping the user area/kernel stack
1995-03-24 15:01:31 +00:00
cgd
f2682e8576
fill in sysnames for the 300 family
1995-03-24 15:00:51 +00:00
cgd
93d789f4a5
cleanup, add some comments, and (oh yeah!) look at interrupt bits
1995-03-24 14:59:37 +00:00
cgd
0d22f2407b
make bpf work, by appending ether header before mtap, then discarding it.
1995-03-24 14:57:12 +00:00
cgd
f2619698ac
deal reasonably with the 3000/300's console (annoying engineers!)
1995-03-24 14:52:24 +00:00
cgd
91a475f398
print out mode (slow vs. fast)
1995-03-24 14:49:28 +00:00
briggs
bb035dee62
KERNEL -> _KERNEL
1995-03-23 20:19:16 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +00:00
briggs
50e913cf92
Handle VIA2 (RBV?) better. Speed up interrupt processing (which had a
...
negative impact on the ethernet timeouts). This is still not correct,
but I am unsure what is correct. We can, apparently, get a nubus
interrupt without any slots showing an interrupt condition. Ick. This
does not always happen before we apparently lose an interrupt, either
(see last (chronological) log message for if_ae.c).
Someone with a fresh set of eyes should probably look at this, but it's
cobbled together to (mostly) work.
1995-03-23 14:16:38 +00:00
briggs
24787aea0e
Add macvideo_intr to handle video interrupts. Currently has behavior
...
that was previously in slot_noint().
1995-03-23 13:45:07 +00:00
briggs
129893572f
Serious kludge around network timeouts. Network timeouts seem to be
...
caused by the VIA missing the ethernet slot interrupt. If we get a
watchdog, try calling the via's nubus interrupt function. If that
causes an interrupt, don't reset anything. If it doesn't, use old
behavior (log timeout and reset).
Yuck.
1995-03-23 13:00:05 +00:00
mycroft
990077ba88
Don't bother with DIOCWLABEL.
1995-03-23 12:13:37 +00:00
mycroft
06d0a67a07
Check for read-only media in open(), not write().
1995-03-23 12:11:07 +00:00
mycroft
d21add8356
Revert cdsize() to do nothing.
1995-03-23 11:51:22 +00:00
mycroft
4712cd33dc
Rearrange DIOCWDINFO a little; closer to wd.c.
1995-03-23 11:43:09 +00:00
mycroft
562ca7760b
Fix typo.
1995-03-23 11:37:51 +00:00
mycroft
02df08a47e
Allow DIOCWDINFO even if label is not `writable'.
1995-03-23 11:33:18 +00:00
mycroft
86feec27e6
In T_PAGEFLT, check for null proc pointer before dereferencing it.
1995-03-22 23:25:13 +00:00
mycroft
b468ed3d00
Fix panic when an interface in promiscuous mode goes down and the BPF user
...
tries to turn off promiscuous mode. From Lon Willett.
1995-03-22 16:08:32 +00:00
mycroft
5abce26266
Add a missing dependency.
1995-03-22 15:10:04 +00:00
mycroft
6865b2589a
Emulate the return value of times() better.
1995-03-22 05:24:47 +00:00
scottb
87005937ec
add code to zero fill directory name buffer
1995-03-22 01:28:53 +00:00
gwr
04446336b4
correct the file name
1995-03-21 16:22:25 +00:00
gwr
a59d9a4ac9
This is needed by the Xsun servers.
1995-03-21 16:19:57 +00:00
brezak
331f0252c6
Fix probing of slave devices and remove unneeded ffs()'s
1995-03-21 14:05:28 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00
mycroft
592f732f5a
Make timeradd() and timersub() more generic, and remove the underscores.
1995-03-21 13:14:07 +00:00
glass
e553431826
Default linger time was 120 clock ticks instead of the intended
...
2 minutes.
[Bug pointed out by Wright/Stevens in TCP/IP Illustrated Vol II]
1995-03-21 07:48:14 +00:00
briggs
8b2f3e8f69
Modify handling of via2 interrupts. Ethernet is much more reliable
...
for me, now (one problem down, anyway).
1995-03-20 05:59:42 +00:00
mycroft
7439778432
Use %p.
1995-03-19 23:44:44 +00:00
mycroft
20a403a292
Nuke startinit_verbose.
1995-03-19 23:27:03 +00:00
mycroft
fe62f9afca
Actually, do the previous differently.
1995-03-19 23:23:11 +00:00
mycroft
feb5b4b126
Add a `%p' format.
1995-03-19 23:17:16 +00:00
ws
046d575708
Use the correct block number for updating the backup copy of the FAT when
...
deleting a file. Deleting a large file used to scramble the backup copy.
Found in FreeBSD by bde.
1995-03-19 20:52:36 +00:00
mycroft
a1615c4d35
Clean up comments related to last change, and remove an unneeded
...
splclock/splx pair.
1995-03-18 14:35:14 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
gwr
ca3ff7bdd8
Initialize fields in the RPC data where we were sending garbage.
1995-03-18 05:56:32 +00:00
gwr
8f7b63df4e
Print the "root/swap on ..." messages here.
...
Add NFS_BOOT_OPTIONS for things like NFSMNT_NOCONN.
1995-03-18 05:54:10 +00:00
gwr
efc4706419
Do the printf "root/swap on" elsewhere to avoid confusion.
1995-03-18 05:51:22 +00:00
gwr
4b284ae4ba
Make call to nfs_writerpc() consistent with others.
1995-03-18 05:49:51 +00:00
cgd
d9ac18eda0
MID 143 -> ARM6 for ws.
1995-03-18 03:24:53 +00:00
gwr
9567db4c9a
Make the "removing wired pmeg" Debugger call conditional.
1995-03-17 05:00:31 +00:00
briggs
a6f94aae0e
Let's do leave the RAW_PART alone...
1995-03-17 03:40:41 +00:00
glass
15642dad87
update
1995-03-16 16:37:41 +00:00
brezak
8193ffc379
Add support for PAS 16 basic
1995-03-15 18:45:58 +00:00
glass
af46d07f24
fix compilation error. don't bother checking for IRQ2
1995-03-15 16:43:09 +00:00
mycroft
8f96feada8
Correct call to coff_load_shlib(), and prototype it.
1995-03-15 08:14:28 +00:00
brezak
36fa07bde5
Fixes defect port-i386/860 from John Woods (jfw@jfwhome.funhouse.com) with
...
supplied patch. Kernel will not link with only ProAudio Spectrum driver
specified.
1995-03-14 18:43:19 +00:00
brezak
f3226ad49e
Fixes defect port-i386/864 from John Woods (jfw@jfwhome.funhouse.com) with
...
supplied patch. pas.c doesn't recognize ProAudio Spectrum 16 Basic card.
1995-03-14 18:41:36 +00:00
scottb
6e5f98b553
updated existing files to use new system call interface.
...
added new code to support socket interface.
borrowed code from linux/svr4 to use /emul pathnames.
split ibcs2_misc.c into more managable files.
1995-03-14 15:12:17 +00:00
scottb
fc0e015f22
added code to remap BSD errno to iBCS2 errno
1995-03-14 14:43:59 +00:00
scottb
02083108db
added entries for new ibcs2 files
1995-03-14 14:42:09 +00:00
mycroft
37c67f3481
Turn off two diagnostic printfs by default.
1995-03-14 02:35:11 +00:00
brezak
7ce1465911
Fix SB8 playback. From David Gluss <david@pure.com>
1995-03-13 14:37:12 +00:00
brezak
1c9582b63e
Add IRQ 9 as a valid IRQ
1995-03-13 14:29:11 +00:00
pk
cb5b3d7700
Add a pmap_pa_exists() in the non MACHINE_NONCONTIG case too.
1995-03-12 18:56:57 +00:00
ws
6239f691c1
Fix off-by-one error in root directory length calculation
1995-03-12 16:27:34 +00:00
pk
36009bdf5f
Move a comment back to appropriate place.
1995-03-12 12:25:16 +00:00
mycroft
b83b02cc20
Remove unneeded variable.
1995-03-12 12:09:18 +00:00
cgd
17d1e137e0
punt on using int8 types for chars, at least for now. char is 8 byts anyway.
1995-03-12 04:19:08 +00:00
mycroft
b9cb1cdd51
Update version number.
1995-03-12 00:13:47 +00:00
mycroft
40a71a0a2c
Various minor cleanup.
1995-03-12 00:10:53 +00:00
ws
999d50b578
Initialize emulation in systems without NPX
1995-03-11 18:42:42 +00:00
briggs
5b07b9403e
Nuke NEWCONFIG. It's not used anymore at all.
1995-03-11 13:56:36 +00:00
briggs
999ff6a003
Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
...
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
glass
fc2c13bcb4
add COMPAT_LINUX
1995-03-11 10:12:25 +00:00
mycroft
aae5ebefc2
Add missing arguments to VOP_CLOSE() in some cases. From Frank van der
...
Linden.
1995-03-11 06:14:28 +00:00
gwr
91b78094fd
Add more stuff! (/kern /proc bpf, ppp, sp, ...)
1995-03-10 23:52:10 +00:00
gwr
ac83684fb7
Define IS_MAIN_MEM(pte) better and explain it.
1995-03-10 23:45:02 +00:00
gwr
dc764bad7e
Kill old declarations which now conflict...
1995-03-10 23:36:42 +00:00
fvdl
e0518ae749
Update automatically generated syscall files.
1995-03-10 23:10:35 +00:00
fvdl
faf1442285
Add the Linux pause() system call. Fix the arguments to sigsuspend().
1995-03-10 22:55:04 +00:00
pk
5307cf957f
Use pmap_pa_exists().
...
Allow read-only access to the prom via /dev/kmem.
1995-03-10 17:06:15 +00:00
pk
d374af4496
Prototype for pmap_pa_exists().
1995-03-10 16:56:27 +00:00
pk
eedb392003
Missing #ifdef MACHINE_NONCONTIG.
...
Add function pmap_pa_exists() to assist /dev/mem.
1995-03-10 16:54:40 +00:00
mycroft
936d442143
Fix another oversight.
1995-03-10 12:20:37 +00:00
mycroft
b9e30291a4
Fix oversight in previous change.
1995-03-10 10:56:16 +00:00
chopps
b3f539b09c
add prototypes before each inline
1995-03-10 04:13:52 +00:00
gwr
91c5750c11
Add bwtwo, cgfour, fb
1995-03-10 02:31:29 +00:00
gwr
d8b3f42519
Declare ee_console (for drivers).
1995-03-10 02:29:16 +00:00
gwr
7dc7eb1364
Fix PA_PGNUM for high addresses (cast to unsigned).
1995-03-10 02:28:01 +00:00
gwr
72fe3a22d4
Fix sunos compat code in sigreturn (from Chuck Silvers)
1995-03-10 02:24:42 +00:00
gwr
fd555db42e
Add bwtwo, cgfour, and fb
1995-03-10 02:22:21 +00:00
gwr
f7f7ec9278
Treat high physical addresses like "device" space,
...
so frame-buffer devices don't go into the pv_lists.
1995-03-10 02:20:40 +00:00
gwr
ee5c85f6a1
Synthesize KBD_L1|KBD_UP after return from zsabort.
...
Simplify PROM mapping stuff, use ee_console.
1995-03-10 02:15:03 +00:00
gwr
8119e6377d
Add kdcnpollc so it can call fb_unblank
1995-03-10 02:09:35 +00:00
gwr
151da5e380
Provide ee_console for drivers.
1995-03-10 02:06:54 +00:00
gwr
376432783f
Set speed on open (from Chuck Silvers).
1995-03-10 01:57:02 +00:00
gwr
63c3c68de4
New frame-buffer support from Chuck Silvers (plus some tweaks from me)
1995-03-10 01:50:28 +00:00
gwr
d0dba9b2d2
Add missing break in switch (not that it mattered 8^)
1995-03-10 01:43:05 +00:00
mycroft
fab1d8444c
Update to match syscalls.master.
1995-03-09 17:33:07 +00:00
mycroft
57e6889435
Make memory map syscalls consistently use size_t.
1995-03-09 17:28:28 +00:00
mycroft
5e754ab356
Change bcopy() and bzero() prototypes to use size_t.
1995-03-09 15:47:44 +00:00
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
mycroft
d004d5d34c
Remove something I don't use.
1995-03-09 11:32:33 +00:00
mycroft
b880de68c5
ifconf() takes a u_long, not an int.
1995-03-09 09:47:25 +00:00
mycroft
dc3d752c6c
Fix last arg to scdebug_ret().
1995-03-09 08:59:45 +00:00
mycroft
1f5c42f54c
Update types.
1995-03-09 08:55:47 +00:00
mycroft
7f1e89164d
Update types, and fill in missing debug switch entries.
1995-03-09 08:54:37 +00:00
mycroft
cf5fea3430
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
1995-03-09 08:03:51 +00:00
mycroft
db7371a9b7
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
mycroft
75556e2e34
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Add syscall debugging hooks.
1995-03-09 07:47:33 +00:00
cgd
f6589edbc7
spaces -> tab
1995-03-09 02:20:34 +00:00
pk
03b9b4a4bb
Add a CR.
1995-03-08 20:58:05 +00:00
brezak
83fffa3985
Cleanup for SB16 (From Jan Sparud)
1995-03-08 18:27:35 +00:00
fvdl
9e7e8cd294
Add missing structure conversion for IPC_RMID.
1995-03-08 17:27:42 +00:00
pk
d61b2703ef
Allow for multiple virtual PROM addresses.
1995-03-08 15:51:03 +00:00
fvdl
ad4540a424
Fix typo in comment.
1995-03-08 15:17:49 +00:00
mycroft
80d817b8de
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Small optimization to the Linux compat code, and don't blindly fail on if
the argument list size is invalid.
1995-03-08 07:12:28 +00:00
mycroft
add762f71c
Panic if the emulation type is invalid.
1995-03-08 06:49:22 +00:00
mycroft
e10c1980be
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Some general cleanup, and undo many of the differences between this syscall()
and the hp300 version.
1995-03-08 06:46:03 +00:00
mycroft
e518635e13
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Remove old notimp() kluge; replaced by a better mechanism.
Add some of the SunOS compat hooks.
1995-03-08 06:39:06 +00:00
cgd
e363664703
fixed sized types, where appropriate. when casting pointers to
...
integers to do math on them, cast to long. ioctl commands are
u_longs.
1995-03-08 02:56:49 +00:00
mycroft
4e7630d68f
copy*() should use size_t, not u_int or u_long, and especially not a
...
combination of the two.
1995-03-08 02:48:20 +00:00
cgd
4df31d916c
fix cd major number
1995-03-08 02:41:37 +00:00
cgd
95aec707ad
fix major number for swap device
1995-03-08 02:40:34 +00:00
cgd
d4c091877f
cast pointers correctly, ioctl cmds are u_longs, most int \!= long
...
type bogons. two on-inspection fixes.
1995-03-08 02:16:07 +00:00
cgd
e7c1a9e7f9
cast pointers correctly, ioctl cmds are u_longs, most int != long type bogons
1995-03-08 02:14:50 +00:00
cgd
992d10a16e
cast pointers correctly, ioctl cmds are u_longs.
1995-03-08 02:13:59 +00:00
cgd
ad86c7f247
size for copyinstr should be u_long
1995-03-08 01:51:49 +00:00