leo
db846246ba
Add video registers and other defines for Falcon video.
1995-08-17 20:34:04 +00:00
leo
44d433786d
Remove 2 wrong proto-types.
1995-08-17 20:32:50 +00:00
leo
a1fe704278
Initialize the YM sound-chip to a sane state.
1995-08-17 20:31:31 +00:00
cgd
049a3d5a4d
clean up the whitespace, and kill the 4BSD SCSI code comments
1995-08-17 18:50:34 +00:00
cgd
c9dbf2d1d2
clean up 7/26 de snapshot import
1995-08-17 18:04:55 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
thorpej
555a22e058
Add the ccd.
1995-08-17 17:38:42 +00:00
thorpej
77d85de272
New version of ccd. Allows dynamic run-time configuration and
...
unconfiguration and supports disklabels.
1995-08-17 16:31:30 +00:00
thorpej
28c60eacc1
Add disk types for the ccd and vnd.
1995-08-17 16:26:54 +00:00
jonathan
647f483937
Remove turbochannel slot_hand_fill functions and all references
...
to them.
1995-08-17 09:27:18 +00:00
jonathan
2c6601a704
Remove lint in the intializer of the table used to glue new-config
...
drivers and the old-config PMAX-specific scsi drivers.
1995-08-17 06:54:56 +00:00
mycroft
760379d766
Update for signal handling changes.
1995-08-17 03:07:47 +00:00
mycroft
873ed30f83
so_pcb should be a void *.
1995-08-17 02:57:20 +00:00
pk
42802ac2fa
Drop si_minphys().
1995-08-16 23:01:16 +00:00
briggs
68b61ea1ad
Fix comments. .space 0x1000 was accidentally left commented so it
...
still is--just explicitly, now.
1995-08-16 13:18:24 +00:00
briggs
37004a19e4
Missing cast and semicolon in last.
1995-08-16 05:17:31 +00:00
cgd
a2e0a97608
check for null subclass pointer. From Todd Mummert
1995-08-16 04:54:50 +00:00
mycroft
2c03307168
If updating the timeval would make it negative, zero it instead.
1995-08-16 04:50:17 +00:00
briggs
665a6a78bc
Load the old MacOS ROMBase value back in before we jump to reset.
1995-08-16 04:48:34 +00:00
mycroft
dc41c4257e
Allow bogus timevals, per Linux.
1995-08-16 04:29:49 +00:00
mycroft
54c148fda5
Convert 230400 baud.
1995-08-16 04:14:51 +00:00
mycroft
4e18827511
Garbage collect.
1995-08-16 01:04:06 +00:00
mycroft
a87c08a36e
Access rights are now stored in MT_CONTROL mbufs. Document this.
1995-08-16 01:03:19 +00:00
mycroft
26c674e349
Allocate PCBs with malloc(), not MGET().
1995-08-16 00:38:53 +00:00
mycroft
af8b19a276
Allocate PCBs with malloc(), not mgetclr().
1995-08-16 00:32:40 +00:00
mycroft
0ecd5256ad
Allocate PCBs with malloc(), more mgetclr(). Be more careful to free the
...
PCB after it's done with.
1995-08-16 00:29:50 +00:00
fvdl
02b3c95be6
Implement the rest of the sysv ipc calls ({sem,msg}*())
1995-08-15 21:14:32 +00:00
gwr
238eb3d35a
Correct a comment re. splnet
1995-08-15 17:41:38 +00:00
gwr
3d4ed382f6
Catch up with renamed SA_DISABLE flag and update
...
sunos_sigvec to allow the new SA_RESETHAND flag.
1995-08-15 17:28:02 +00:00
mycroft
c331c7be82
Rename ss_flags bits.
1995-08-15 16:52:30 +00:00
chuck
72d03ec724
TDR config update (from Theo).
1995-08-14 20:32:38 +00:00
gwr
2666f17777
SCSI bus phase not valid until REQ is true (Fix from David Jones).
1995-08-14 20:00:00 +00:00
pk
de80daa3cd
Make MCOUNT() PIC-safe.
1995-08-14 15:44:36 +00:00
briggs
3560df43af
CHINON CDS-535 version Q117 also needs NOLUNS. Assume all 535s do.
1995-08-14 13:01:42 +00:00
mycroft
d23236204d
When resetting a signal, change ps_sigact, just to be sure.
1995-08-14 06:07:55 +00:00
cgd
26fbf3bbb8
prototype inline functions, almost as suggested by Jonathan Stone in PR 1258.
1995-08-14 05:43:24 +00:00
cgd
f215ae1873
prototypes for d_mmap and dev_type_mmap, as suggested by Jonathan Stone in
...
PR 1259. prototype for dev_type_dump if not not __BDEVSW_DUMP_OLD_TYPE.
1995-08-14 05:05:55 +00:00
briggs
ae51ffca30
Always fail when probed--until this driver works.
1995-08-14 03:55:28 +00:00
briggs
64ea04b1d0
Be more vocal about interrupts that we don't expect.
...
Include ncrscsi.h and ncr96scsi.h.
1995-08-14 03:16:07 +00:00
mycroft
e9d68a777e
Export bsd_to_linux_sig[], and use it.
1995-08-14 02:58:29 +00:00
mycroft
96d6db2c1a
Export bsd_to_ibcs2_sig[], and use it.
...
Nuke ancient vmtime().
1995-08-14 02:27:30 +00:00
mycroft
d2c9e4f1c8
Export bsd_to_ibcs2_sig[], and use it.
1995-08-14 02:26:01 +00:00
mycroft
10c06fe363
Prototype some functions.
1995-08-14 02:22:20 +00:00
mycroft
9b899c17cd
Export bsd_to_linux_sig[], and use it.
1995-08-14 02:19:08 +00:00
mycroft
0a601c87ba
Rename two functions.
1995-08-14 02:13:42 +00:00
mycroft
1e69f23205
Export bsd_to_svr4_sig[], and use it.
1995-08-14 02:07:57 +00:00
mycroft
5c03d498db
Fix typos.
1995-08-14 01:47:03 +00:00
mycroft
baaaba9bc5
Rearrange #includes.
1995-08-14 01:38:24 +00:00
mycroft
283f211782
Sort.
1995-08-14 01:34:09 +00:00
mycroft
01fa87477a
syscalls.master changed.
1995-08-14 01:29:05 +00:00
mycroft
88b8e43a80
Rearrange #includes.
1995-08-14 01:27:43 +00:00
mycroft
9440382c88
svr4_stack_t --> svr4_sigaltstack
1995-08-14 01:13:29 +00:00
mycroft
05abc039c9
syscalls.master changed.
1995-08-14 01:13:11 +00:00
mycroft
eba2f2e81a
Move signal types into signal.h.
1995-08-14 01:11:52 +00:00
mycroft
3b76c0ddef
svr4_stack_t --> svr4_sigaltstack
1995-08-14 00:57:13 +00:00
mycroft
475edc261c
Move definition of sigset_t into types.h.
1995-08-14 00:50:27 +00:00
mycroft
a6bb142d21
Various clean up and bug fixes. Make this look like the SVR4 and Linux
...
versions.
1995-08-14 00:44:12 +00:00
mycroft
ca057762b9
Minor cleanup.
1995-08-14 00:41:02 +00:00
mycroft
1575859e07
Minor cleanup.
1995-08-13 23:37:56 +00:00
mycroft
a6b7c740c6
Convert SA_RESETHAND and SA_NODEFER.
...
Scrub this code a bit.
1995-08-13 22:57:10 +00:00
mycroft
fef558efaa
Convert SA_NOMASK and SA_ONESHOT.
...
Clean up this code a bit.
1995-08-13 22:55:28 +00:00
mycroft
2e95cf3d31
Implement SA_RESETHAND and SA_NODEFER.
...
Only return SA_NOCLDSTOP in the sigaction struct for SIGCHLD.
Rename ss_flags bits.
1995-08-13 22:53:59 +00:00
mycroft
e0d445350d
Add SA_RESETHAND and SA_NODEFER, as in SVR4.
...
Rename bits in ss_flags to SS_ONSTACK and SS_DISABLE; this makes more sense,
and it's what SVR4 does.
1995-08-13 22:51:24 +00:00
mycroft
0b54b37344
Add ps_sigreset, to to keep track of signals which are reset when caught.
1995-08-13 22:48:47 +00:00
mycroft
ad35618e1e
Linux doesn't allow select(2) to be restarted.
1995-08-13 17:51:40 +00:00
briggs
19f3c3099f
Another SDEV_NOLUNS device from paul@pgoyette.bdt.com (Paul Goyette).
1995-08-13 17:48:57 +00:00
mycroft
36a94a031a
Lock the process in core before operating on it.
1995-08-13 09:05:51 +00:00
mycroft
67daa4706d
Add PHOLD() and PRELE() macros, used to hold a process in core and release it.
1995-08-13 09:04:43 +00:00
mycroft
f174a96f7b
Don't pass through SIOCGIFADDR, per Steve McCanne.
1995-08-13 04:15:38 +00:00
mycroft
c8e379015c
Fix sysbeep() for the case of pitch == 0, and garbage collect a useless
...
variable.
1995-08-13 04:06:29 +00:00
briggs
7d55e1196e
Document spl()s a bit, order the splfoo()s in splX() order.
1995-08-13 01:52:16 +00:00
mycroft
6deb1a5816
Fix comment on splnet().
1995-08-13 00:45:21 +00:00
mycroft
0e29cb31fa
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:32:47 +00:00
mycroft
a38e73b5a7
splnet --> splsoftnet
1995-08-13 00:32:02 +00:00
mycroft
9a5c8b5f89
Add splsoftnet().
1995-08-13 00:31:28 +00:00
mycroft
7eba547264
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:29:56 +00:00
mycroft
af645f49fb
Make splimp() > spltty().
1995-08-13 00:29:03 +00:00
mycroft
6cc376290b
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:27:11 +00:00
mycroft
7a9cad50cd
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:23:56 +00:00
mycroft
54c9a1df90
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:22:40 +00:00
mycroft
ddd123a7c5
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:21:54 +00:00
mycroft
79cecdbce0
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:20:52 +00:00
mycroft
fa13d32c41
Add splsoftnet().
1995-08-13 00:16:08 +00:00
mycroft
21bd4f21f6
Use splimp(), not splnet(), for now.
1995-08-13 00:07:17 +00:00
mycroft
c5ec5c3003
Add splsoftnet().
1995-08-13 00:03:11 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
8887de9230
opri --> s
1995-08-12 22:58:01 +00:00
mycroft
240560e9fd
ia_irq has not been a power of 2 for a long time...
1995-08-12 22:37:58 +00:00
mycroft
8a9880e714
Fix oversight in previous.
1995-08-12 21:36:46 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
briggs
52e968da1a
Fix oversight in last.
1995-08-12 18:48:47 +00:00
gwr
d9678d59b2
Fix up DVMA-related confusion. Disk boot now works.
1995-08-12 18:38:30 +00:00
briggs
1fd03600dd
Get rid of cpu040 for good.
1995-08-12 04:08:29 +00:00
leo
24644e5151
New version of NCR5380-SCSI driver. This version is far more generic than
...
the previous version. The machine dependent part contains the configuration
for both the TT and FALCON. The configuration files have been changed to
select SCSI-support for either TT, Falcon or both.
The configuration file for the Atari-Falcon will only get _really_ usefull
when the Falcon video part is finished.
1995-08-11 20:01:15 +00:00
briggs
8f58d57321
Don't fake these values.
1995-08-11 17:48:19 +00:00
briggs
72d557cf87
The serial console works again (at least on the Q700).
1995-08-11 03:29:07 +00:00
briggs
d192d70a87
Note that we've been initialized.
1995-08-11 03:02:04 +00:00
briggs
100380f075
Do the serial console a bit better (still has problems).
1995-08-11 03:00:15 +00:00
jonathan
6a43b6e3a1
Re-port the Alpha versino of NetBSD's machine-independent LANCE driver
...
back to the DECstation. Boots on 3MAX and 3MAXPLUS. The bug-fixes
applied to this driver since it forked off the Decstation code also
seem to fix long-standing DMA problems with the Decstation SCSI driver.
1995-08-11 02:12:56 +00:00
chuck
0744a4dc6a
sync with hp300 version (cpu_coredump changes)
1995-08-10 19:46:45 +00:00
chuck
b256a1bf82
sync with hp300 version
1995-08-10 19:44:01 +00:00
chuck
939f7eb7d0
add bounds_check_with_label(), and thus sync with hp300 version.
1995-08-10 19:36:41 +00:00
chuck
f54a288467
minor alphabetize clean up
1995-08-10 19:18:02 +00:00
chuck
d65beaf096
add bcea[] (as per sun3 port)
1995-08-10 16:21:54 +00:00
jonathan
37e46e6b64
clockattach() wasn't printing a newline; add it.
1995-08-10 10:50:58 +00:00
jonathan
69f95bd2bb
Use "lance" as the name of the PMAX (kn01) Lance device, not "le", since
...
"lance" is what the Alpha drivers use.
1995-08-10 10:49:46 +00:00
jonathan
0822ab0fe1
Map from NetBSD/Alpha names for machine-dependent functions (e.g.,
...
"force this pending write to complete") to the names used in NetBSD/pmax.
1995-08-10 05:29:11 +00:00
jonathan
b42e35d645
Un-comment dependency on file cpu.c, since cpu.c has been commited to CVS.
1995-08-10 05:22:26 +00:00
jonathan
0b4c870908
Change DEcstation autoconfiguration to use new-style config.
...
All devices except SCSI disks and tapes are found using new config only.
SCSI disks and tapes are configured using a table edited from an ioconf.c
produced by config.old.
Boots multi-user on PMAX, 3MAX and 3MAXPLUS. The old-style "slot hand fill"
functions for those machines, and the old TurboChannel configuration
main loop, have been removed.
Since new-style config runs later in boot than the old pmax turbochannel
probing, we no longer know what devices will be configured when consinit()
is called. Use PROM output until autoconfig is finished.
1995-08-10 05:17:07 +00:00
jonathan
bc6e09fad6
Remove extraneous debugging printf()s when running on processors
...
this code has been tested on.
1995-08-10 04:31:46 +00:00
jonathan
a1a7750426
Move IO ASIC interrupt-enable outside #ifdef DEBUG, where it had
...
accidentally snuck in. Clean up debugging messages and explicitly
give a warning on CPUs the code hasn't been tested on.
1995-08-10 04:30:41 +00:00
jonathan
e3b5a34826
Update DECstation Lance ethernet driver to use new-style config.
1995-08-10 04:27:43 +00:00
jonathan
88b9b7eb4a
Update DECstation drivers to use new-style config, removing
...
old-style config support, except for SCSI disks and tapes.
1995-08-10 04:21:35 +00:00
mycroft
6f7dc7fd4e
Make this compile if one of SYSV{SEM,SHM,MSG} is not defined.
1995-08-10 04:08:57 +00:00
briggs
81cc5998a1
Missing increment operator for if_opackets in last change.
1995-08-09 12:16:10 +00:00
briggs
b4eecb5362
We need to set cpu040 for just a while longer.
1995-08-09 03:25:25 +00:00
briggs
53af1e73b8
Make sure we don't remap video/serial before we're done writing to it.
1995-08-09 03:23:57 +00:00
briggs
71b21ba74e
Don't go bonkers if we don't have a real swap device.
1995-08-09 03:22:50 +00:00
briggs
dbdcebe34b
Fix a few 040-isms, remove an old comment, and add a few things for the future.
1995-08-09 03:21:59 +00:00
mycroft
3ee59cd771
Fix oversight in previous change; spl*() must also block
...
software interrupts.
1995-08-09 01:47:37 +00:00
jonathan
96f7ad7c6e
Add missing "priority" field value in KN02 "asic" configuration entry for
...
the Dallas-compatible real-time clock. The missing entry caused the offset
to end up in the "priority" field. New-style config now boots cleanly on a
KN02 (3MAX).
1995-08-09 01:21:43 +00:00
gwr
67ad80c6ed
Not really useful anymore.
1995-08-08 22:28:32 +00:00
gwr
75dc312695
Do errno translation when emulation needs it.
1995-08-08 21:11:47 +00:00
gwr
ee8dd73508
Make this link with PMAP_DEBUG turned off.
1995-08-08 21:10:18 +00:00
gwr
73d4eba4cf
Only allow mmap in "managed" RAM for now.
1995-08-08 21:09:01 +00:00
gwr
fafc2a527a
Fix signed/unsigned comparison in dumpconf().
1995-08-08 21:07:52 +00:00
gwr
106e4e8c4a
Fix "oops" line that was supposed to increment tv_usec
...
(just to make sure time keeps moving 8^)
1995-08-08 21:05:48 +00:00
gwr
dac3687c31
Make it work with obj dirs. (from Jason Thorpe)
1995-08-08 21:02:04 +00:00
gwr
7eda63e726
Get rid of libnet
1995-08-08 21:00:00 +00:00
gwr
b090a64678
Add bcea[] here now that is is gone from arp.c
1995-08-08 20:59:07 +00:00
gwr
59078e8a4b
Cosmetic (fix order)
1995-08-08 20:57:51 +00:00
gwr
239821855f
Add default value for SHMMAXPGS (from Jason Thorpe - fixes PR#1220)
1995-08-08 20:56:45 +00:00
gwr
c96c328a9d
Use old-style function definitions (like the sparc driver).
1995-08-08 20:54:08 +00:00
gwr
2a3eef935e
Improve handling of a device that "sits on" the bus (from Jason Thorpe)
1995-08-08 20:53:16 +00:00
gwr
9ede017ccb
Set TIMEZONE=0, DST=0 (which is correct for the hardware clock).
1995-08-08 20:51:26 +00:00
gwr
19969f2fe2
Use RPCAUTH_UNIX in requests to please picky NFS servers.
1995-08-08 20:43:43 +00:00
thorpej
0b486f9aa0
Add bounds_check_with_label().
1995-08-08 06:23:08 +00:00
mycroft
e4413d1a10
Fix another comment.
1995-08-07 14:26:51 +00:00
mycroft
f657f5bf3e
Make this interface simplex. It's more efficient, and sidesteps the
...
problem of receiving our own multicasts in promiscuous mode. Also, fix
some outdated comments.
1995-08-07 14:16:26 +00:00
jonathan
19e02269b2
New-style config (config.new) autoconfiguration code for Decstation
...
turhsturbochannel machines. Lifted wholesale from cgd's Alpha
turbochannel code, with changes that reflect the slightly different
bus topology and `slot' numbering on Decstations.
1995-08-07 07:07:43 +00:00
mycroft
8e77047f2c
Make new-style core dumps.
1995-08-07 06:13:57 +00:00
mycroft
bc59b73733
Merge npxinit() into npxdna(), and remove duplicated code.
1995-08-06 19:48:58 +00:00
mycroft
b725d8b30b
Update the comment describing how this works.
1995-08-06 19:31:49 +00:00
mycroft
3c20501d57
Clear MDP_USEDFPU on exec. Set it in process_write_fpregs() unconditionally,
...
for the benefit of the emulator.
1995-08-06 19:01:14 +00:00
mycroft
ef504e724d
Fix oversight in previous.
1995-08-06 18:05:22 +00:00
mycroft
764d69bf8e
Make process_write_fpregs() safe.
1995-08-06 18:02:22 +00:00
mycroft
d730fead60
Eliminate direct uses of curproc in npxdna() and npxinit().
1995-08-06 17:59:10 +00:00
mycroft
0affdcf4d8
Pass curproc to npxdna().
1995-08-06 17:54:35 +00:00
mycroft
ccdf6ac81b
Change le0 iosiz.
1995-08-06 16:14:29 +00:00
mycroft
a326c49adf
Stop using cr0 to flag that the FPU has not been used.
1995-08-06 06:05:28 +00:00