Commit Graph

8145 Commits

Author SHA1 Message Date
briggs
33cef0adfd Clean up a lot. Run machdep.c through indent.
Remove a bunch of old debugging code and some dead code.
Put in some new comments.  Need more.
1995-07-08 04:25:07 +00:00
cgd
21d1e8d60f fix bug in load average calculation that prevented processes which were
uninterruptibly sleeping for a short period from being counted.
1995-07-08 03:12:22 +00:00
cgd
fd0f559215 add missing splx(), as suggested by enami@sys.ptg.sony.co.jp. 1995-07-08 00:42:45 +00:00
cgd
e574814605 insert missing call to splx() when {aha,bt}_send_mbo() returns null.
from enami@sys.ptg.sony.co.jp.
1995-07-08 00:34:16 +00:00
gwr
ca95fcc2e3 Put back SYMTAB_SPACE so the distributed kernels will have symbols when
loaded by the SunOS boot program.  Our netboot works, but our ufsboot
still has a problem on the 3/260, so keep SunOS boot support for now.
1995-07-07 16:01:22 +00:00
brezak
4b4b3ee81a Cleanup 1995-07-07 02:19:48 +00:00
brezak
dd3d2e28ed Setup irq correctly (PR#1179) 1995-07-07 02:15:12 +00:00
brezak
0bdd4aa7c2 add support for cs4231 1995-07-07 02:11:45 +00:00
brezak
106dafc42e Common splaudio and ISA_IPL_AUDIO 1995-07-07 01:58:04 +00:00
brezak
0589b5a222 Make mode a flag set. Full-dpulex fixes from John Kohl. 1995-07-07 01:52:30 +00:00
brezak
67dc53b92a Add typedef for audio_prinfo_t (PR#1167), Change AUMODE_* to flags, and add new strings for mixer devs 1995-07-07 01:43:35 +00:00
briggs
3758e23b79 Add another routine for the grf display-specific drivers to return a physical
address.
1995-07-06 17:13:45 +00:00
briggs
e6992b3e60 Panic if we don't know how to relocate the video address. 1995-07-06 13:30:24 +00:00
briggs
84ee954356 Change NBSBASE to 0x90000000 and let it and NBSTOP be defined. 1995-07-06 13:25:30 +00:00
pk
576bc844e5 Support KIOC_GETLAYOUT, so other than US keyboards can be dealt with better. 1995-07-06 05:35:34 +00:00
briggs
d1d1fbc094 Put in a cast to make compiler happy. 1995-07-06 04:17:15 +00:00
briggs
0ae9938e56 Fix (last?) bug in the IIvx kludge. 1995-07-06 03:44:46 +00:00
cgd
479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
briggs
6503666839 If SYMTAB_SPACE is defined, set esym to be the same as end.
Fixup my IIvx kludge again.
1995-07-06 02:32:13 +00:00
briggs
f3274364d4 Fix a bug I introduced earlier. 1995-07-06 00:28:32 +00:00
pk
12bdf1b787 KNFify a bit. 1995-07-05 19:55:02 +00:00
gwr
090fdb11cf Do not advance esym if the SYMTAB_SPACE option is set. 1995-07-05 19:36:48 +00:00
gwr
2d867f9de5 SUBDIR=stand 1995-07-05 19:04:23 +00:00
pk
41d3ba8d49 Commit to MACHINE_NONCONTIG. 1995-07-05 18:52:32 +00:00
pk
b8065a4244 remove a db_printf() that has been there for too long. 1995-07-05 18:51:41 +00:00
pk
10a0b4b79e Prototype pmap_dumpsize() and pmap_dumpmmu(). 1995-07-05 18:45:46 +00:00
pk
a796c37169 Re-arrange dumpconf() and dumpsys(). 1995-07-05 18:40:50 +00:00
pk
b34c403839 #define MACHINE_NONCONTIG here, so all vm_*.c files see it timely. 1995-07-05 18:04:48 +00:00
pk
50755a7cc5 typos. 1995-07-05 17:53:41 +00:00
pk
8a8842dc58 remove __BDEVSW_DUMP_OLD_TYPE
#include <sys/cdefs.h>.
1995-07-05 17:46:11 +00:00
christos
3a1e063118 Make the macro botch fix more palatable. 1995-07-05 17:08:54 +00:00
pk
337522fb97 Move dumpmmu() over here. 1995-07-05 16:35:42 +00:00
pk
c39b37a262 xd declarations. 1995-07-05 15:53:22 +00:00
pk
9013a7a6e2 Add xxread/xxwrite. 1995-07-05 13:34:10 +00:00
pk
cde4f269ae Start using sunos_sigvec(). 1995-07-05 13:14:09 +00:00
pk
426fb108d1 Brutally work around a macro botch. 1995-07-05 13:07:12 +00:00
pk
deb17b0f15 make this compile better.... 1995-07-05 13:06:33 +00:00
ragge
e0ebe6c93d (some) support for DDB disassembly added. 1995-07-05 09:54:07 +00:00
ragge
620027e37d Null pointer were referenced if signal occurred before first
syscall. Didn't hurt on 4.3 Reno binaries.
1995-07-05 08:39:48 +00:00
ragge
a237052e3a DDB needs writable kernel text. 1995-07-05 08:36:37 +00:00
ragge
761fc3ae0f Bug causing null pointer mscp buffer reference fixed. Thanx, Rick Macklem! 1995-07-05 08:34:01 +00:00
ragge
26c6819bfc mscp_requeue() should work now. 1995-07-05 08:31:38 +00:00
ragge
426274c2a6 rx, rl and kdb needed cdev_decl's. 1995-07-05 08:30:41 +00:00
ragge
0e60bcde3a Calling of pppintr() included. 1995-07-05 08:29:27 +00:00
ragge
dc2461e35c uda/tmscp read/write added. 1995-07-05 08:24:45 +00:00
ragge
5ad69f2c9d nton?/ntoh? moved to endian.h. 1995-07-05 08:22:21 +00:00
ragge
25e4dd61b5 Changes due to common network code mods. 1995-07-05 08:19:05 +00:00
ragge
1ab8219384 DDB file added. 1995-07-05 08:17:16 +00:00
ragge
7d58080faf More near reality. 1995-07-05 08:15:25 +00:00
briggs
e11c8dfd4c Stupid programmer error in IIvx kludge. 1995-07-05 03:48:45 +00:00
mycroft
9624704e02 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-05 02:32:53 +00:00
chopps
07d9670a6c remove indirect use of strategy which brok with recent changes 1995-07-05 02:12:38 +00:00
paulus
fdb27420ea Change $Id to $NetBSD 1995-07-04 23:26:10 +00:00
paulus
8f120b82c6 Add definition for NETISR_PPP. 1995-07-04 23:24:07 +00:00
christos
87b62763ae Add a few more sockio ioctls... Now sunxdoom is running! 1995-07-04 23:00:11 +00:00
christos
38f1964478 Fix bug in the KGDB trap definition. Add svr4 software traps. 1995-07-04 22:58:51 +00:00
christos
1fc6525f9b trap.c: Add svr4 software traps. Fix bug in errno mapping.
svr4_machdep.c: Add siginfo translation (from mrg), add some software traps.
1995-07-04 22:57:33 +00:00
christos
c07ddb7c1d Added sockioctls... Only getifnum supported for now.
Added SVR4_EMT_TAGOVF, needed by new machdep translations.
1995-07-04 19:46:58 +00:00
briggs
38031d912a First cut at a kludge for IIvx internal video. 1995-07-04 18:55:11 +00:00
chopps
f1e1796cf4 misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-07-04 18:06:40 +00:00
briggs
61405ee181 Use the right prototype for pppioctl(). 1995-07-04 15:30:39 +00:00
briggs
6d08320888 Move SCSIBase from scsi.c. 1995-07-04 14:42:16 +00:00
briggs
2e4f1e0daa Update a bit. 1995-07-04 14:38:49 +00:00
briggs
2510a4f689 A few nits. 1995-07-04 14:38:34 +00:00
paulus
a8adf7421b Add code to netintr to call pppintr. 1995-07-04 12:37:42 +00:00
paulus
374a7cc9cb Add code to soft01intr to call pppintr. 1995-07-04 12:34:37 +00:00
paulus
08b7596c51 Add code to interrupt to call pppintr. 1995-07-04 12:22:21 +00:00
paulus
da3602a73e Add code to softnet to call pppintr. 1995-07-04 12:19:07 +00:00
paulus
1513342690 Add code to netintr to call pppintr 1995-07-04 12:14:32 +00:00
pk
63eeefb6cd make this compile better. 1995-07-04 10:29:22 +00:00
mycroft
7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft
9fbf4d6f47 Make hardware interrupts always block all software interrupts. 1995-07-04 07:09:53 +00:00
paulus
f3285c2e0e Add call to pppintr in softnet. 1995-07-04 07:00:47 +00:00
paulus
b41c6a7d1c Add call to pppintr from netintr. 1995-07-04 06:54:52 +00:00
paulus
c9a82bdc54 Add code for netintr to call pppintr if PPP is included. 1995-07-04 06:51:05 +00:00
mycroft
eb99dcc09a Fix a condition where ttywait() wouldn't be woken up. Also, short-circuit
the case of no pending input in compoll().
1995-07-04 06:47:18 +00:00
paulus
69f3d14493 Include extra files for the new PPP stuff. 1995-07-04 06:42:19 +00:00
paulus
7f06ab8b0b Latest version of PPP stuff, with packet compression and other
improvements.  The PPP kernel code is now split into if_ppp.c,
containing generic PPP support, and ppp_tty.c, which specifically
supports PPP on async tty devices (as a line discipline).  This is
so that other devices can be supported without making them look
like ttys.
1995-07-04 06:28:17 +00:00
briggs
f92d7eb51f Clean up some types. 1995-07-04 03:34:09 +00:00
briggs
4d6ed092f1 Fixup a comment. 1995-07-04 03:30:11 +00:00
fvdl
059661a991 Fix totally bogus implementation of a few fcntl() calls. I think I'll go
live on a deserted island now..
1995-07-03 21:33:59 +00:00
leo
d9019191a0 NetBSD/Atari keyboard mappings 1995-07-03 20:49:40 +00:00
mycroft
083ba962e2 Oops; need fcntl.h. 1995-07-03 16:58:38 +00:00
gwr
0a035e5e9f Can not use htonl() in static initializers. (Fixes PR 1188) 1995-07-03 04:56:33 +00:00
gwr
2d83203f6a Build all RPC requests with AUTH_UNIX (thanks to Chuck Silvers) 1995-07-03 02:59:16 +00:00
gwr
365e8c62da Remove temporary hack (now merged into src/sys/lib/libsa) 1995-07-03 02:56:52 +00:00
gwr
5cd60330a9 Remove temporary hack (../libnet) 1995-07-03 02:53:55 +00:00
gwr
c4746effe0 Correct !DDB console abort (thanks to David Brownlee) 1995-07-03 02:52:13 +00:00
mycroft
9a4505cb89 Close routines take file flags, not I/O flags. Fix two incorrect usages. 1995-07-02 18:13:02 +00:00
mycroft
2dadf2f086 Simplify some conditionals. 1995-07-02 16:10:40 +00:00
mycroft
839598dfec Make spec_read() and spec_write() vaguely consistent. 1995-07-02 07:20:50 +00:00
christos
ed63c665eb - make svr4_break() identical to obreak(). We still keep the code here,
to do some more testing.
- add POSIX.4 sysconfig options [we don't support them, but we don't
  return EINVAL too]
- More kludges in the interpeter load address. I hope I escape the kludge
  police...
1995-07-02 06:16:06 +00:00
christos
e7dcefc56c Add the svr4 network cloning devices. Now telnet(1) works too. There are
still problems with X-windows programs.
1995-07-02 06:13:27 +00:00
briggs
1040af3492 Add missing interface for getting a grfmode structure from kernel. 1995-07-02 05:26:27 +00:00
briggs
ed434b457d Fix grfmap() as well as grfmmap(). 1995-07-02 00:49:52 +00:00
briggs
932a8fc9af Set and use new fboff element from grfmode structure. 1995-07-02 00:30:25 +00:00
briggs
af7f31e30a Add a couple elements to the grfmode structure. 1995-07-02 00:29:03 +00:00
mycroft
f4b5f723e0 Remove references to if_addrlist. 1995-07-02 00:16:00 +00:00
christos
45d46cb0c9 svr4_machdep.c: Fix {get,set}context and sendsig.
locore.s: add signal trampoline code for svr4. There is a lot of code
	  duplication there. Maybe we should share the code?
SVR4 status now:
	/bin/sh:	works
	/bin/ls:	works
	/bin/sleep:	works
	/bin/csh:	gives unknown software trap 0xa7
	/bin/ldd:	works
1995-07-01 23:55:31 +00:00
christos
294f607d50 Fix alignment of svr4_getdents, so that it works for solaris2.4/sparc 1995-07-01 23:42:54 +00:00
briggs
3401cca400 Fix buglet that was missed when converting nubus to non pa==va mapping. 1995-07-01 23:40:38 +00:00
briggs
303845a487 Remove this define--we're using the new dump type. 1995-07-01 18:47:51 +00:00
briggs
eec2d38c71 Take out ncr96scsi0. 1995-07-01 16:35:54 +00:00
briggs
36654b75d9 Use flags for scsi interrupts. clean up a small bit. 1995-07-01 16:35:16 +00:00
briggs
175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
cgd
5b435dbf05 null mbuf pointer could cause system crash; avoid it. From
Torsten Duwe <duwe@immd4.informatik.uni-erlangen.de>.
1995-07-01 03:44:55 +00:00
gwr
38c03f8581 Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
1995-07-01 00:51:15 +00:00
briggs
12ab0410c7 Clean up a tad. 1995-06-30 05:25:41 +00:00
briggs
fcde92bcba Fix straytrap(). Update a few values in the ROM table. 1995-06-30 05:25:01 +00:00
briggs
5fced13f51 Ooops. 1995-06-30 05:23:03 +00:00
briggs
705e6bd12b Fix oversight. 1995-06-30 05:21:33 +00:00
christos
6b27eeffbc Don't make libkern. 1995-06-30 03:00:33 +00:00
christos
1654fca494 Remove unused define 1995-06-30 02:57:20 +00:00
briggs
29bb03860c Option key fix from Ken Nakata (kenn@remus.rutgers.edu). 1995-06-30 01:23:21 +00:00
cgd
3748c1aef7 try to insure that the 'default' address for shm segments is the same
from process to process.  It apparently is on SysV systems, and some
programs depend on this.  Suggested by  John Birrell <jb@werple.mira.net.au>.
1995-06-29 11:43:17 +00:00
cgd
2acbae9178 slight cleanup 1995-06-29 10:05:16 +00:00
jonathan
7c4739e2c3 Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
1995-06-28 10:22:32 +00:00
cgd
dfd39259bf oops; this got mangled. 1995-06-28 08:27:08 +00:00
cgd
db0f3de337 replace an incorrect remque. 1995-06-28 05:10:45 +00:00
cgd
26340c4a2e sync with my current sources. WAY out of date. 1995-06-28 04:41:30 +00:00
cgd
2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs
829668e8d3 Some random cleanup and some cleanup of the dump routines, modelled on
i386.  Untested.  Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd
28cbee6941 move to more appropriate (...reg.h) names. 1995-06-28 04:02:13 +00:00
cgd
a921a720f7 no more serial console. There aren't enough free serial ports on non-crash
machines in my office!
1995-06-28 03:48:48 +00:00
cgd
bbe407930b header file got renamed 1995-06-28 03:26:36 +00:00
cgd
65c4cf2b9a light cleanup, adjustments for the Alpha 1995-06-28 03:00:20 +00:00
cgd
8357feb486 update dependencies to deal with the alpha 1995-06-28 02:59:12 +00:00
cgd
cfbb9c7cfe no longer needs machine/cpu.h, and use new name for the 'broken swap' define 1995-06-28 02:58:51 +00:00
cgd
c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd
40e29d5890 sync with my current Alpha sources 1995-06-28 02:44:51 +00:00
cgd
d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +00:00
cgd
da6d5a140a update to use new paths for MI lance driver 1995-06-28 02:30:25 +00:00
cgd
50937bb63a add charles's mostly-machine-independent lance driver, which is used
by the Alpha port.
1995-06-28 02:24:50 +00:00
cgd
c319ff6546 these have moved to more appropriate names 1995-06-28 02:23:27 +00:00
cgd
6d04247fc7 update to use machine-independent lance driver 1995-06-28 01:48:12 +00:00
cgd
549f126f4b ISA and PCI support for DEC AlphaStations 1995-06-28 01:24:50 +00:00
cgd
5cc82e159a Support for ISA programmed I/O functions. 1995-06-28 01:16:33 +00:00
cgd
ba164ee03d update for various (old) NetBSD changes 1995-06-28 01:16:13 +00:00
cgd
f36f0cf3e2 update to make current state of knowledge 1995-06-28 01:14:41 +00:00
cgd
2a6abc91f8 update for (old) new tty changes 1995-06-28 01:06:35 +00:00
cgd
7a275b5901 update for new clock interrupt handling 1995-06-28 01:03:57 +00:00
cgd
a6b5caae1a update for new kernel names 1995-06-28 01:02:58 +00:00
cgd
f9e02471d0 make boot blocks work on AlphaStation systems 1995-06-28 00:58:44 +00:00
christos
68328ddcdd Fixes for Solaris-2.4/sparc dynamically linked binaries.
We can now run them, but:

1. setcontext() causes a panic so binaries that receive signals
   crash the machine [something is wrong with the register setup].
   sleep 10 ==
    Watchdog reset
    Data Access Exception
    Type  help  for more information
    ok

2. csh says "unknown software trap a7".
3. ls gives us a bus error.
4. ldd works :-)

But I solved the problem that had been bothering me for weeks :-)
1995-06-27 22:12:47 +00:00
cgd
1c5d265cad another CD-ROM quirk, a la PR 1166 1995-06-27 20:42:45 +00:00
mellon
34f8cc760a leinit: we always have at least one address now. 1995-06-27 19:54:49 +00:00
gwr
e80271fbe0 Get things from libsa now. 1995-06-27 15:57:13 +00:00
gwr
b4c3997cb9 Support functions for NFS boot (get server address and root path). 1995-06-27 15:32:40 +00:00
gwr
539a3bff11 Modified to do less copying, and to allow determination of
the address from whence the reply has come.
1995-06-27 15:28:58 +00:00
gwr
1fe28794f3 Fix ARP opcode, add more debugging prints. 1995-06-27 15:27:24 +00:00
gwr
55eb5a12f1 Re-work for new rpc interface, and simplify a bit. 1995-06-27 15:25:30 +00:00
gwr
d7e1ef6af2 Pad HEADER_SIZE for alignment. 1995-06-27 15:23:18 +00:00
gwr
0e4efb30ef Pad the request out to the minimum Ethernet length.
Improve some debug prints...
1995-06-27 15:18:57 +00:00
gwr
29b61e2253 Add/correct some cache-flush logic to deal with the fact that the
VAC has ref/mod bits that need write-back treatment.
1995-06-27 14:44:47 +00:00
gwr
d5761f14d9 Fix uses of btoc() which requires an unsigned arg. 1995-06-27 14:42:34 +00:00
gwr
6b6502194f Fix warnings about setjmp arg. 1995-06-27 14:40:14 +00:00
gwr
f82c63a641 Remove temporary __BDEVSW_DUMP_OLD_TYPE (our dumpsys is safe 8^) 1995-06-27 14:38:22 +00:00
gwr
6548befa4f Nuke user-mode DELAY() macro. 1995-06-27 14:37:22 +00:00
gwr
3a59870c12 Leave modem control lines in correct state on interrupted open.
(From sparc/dev/zs.c)
1995-06-27 14:36:20 +00:00
gwr
f872dedb62 Catch up with net/if.h changes 1995-06-27 14:34:32 +00:00
chopps
5ad7f31079 udpate to match ifnets new use of sys/queue.h 1995-06-27 13:13:32 +00:00
cgd
e0f9279f31 update for current configuration descriptions 1995-06-27 00:54:55 +00:00
gwr
09e284bcca Fix null VP references (pr 1124) - from John Kohl 1995-06-27 00:15:13 +00:00
gwr
5be81bd012 Fix null VP references (pr 1124) 1995-06-27 00:12:21 +00:00
pk
09ea33db05 Do away with ROM printf. 1995-06-26 23:45:06 +00:00
pk
a50ba2b546 Adapt to new lib{sa,kern} regime. 1995-06-26 23:26:57 +00:00
phil
ad4af073cd Updates from Matthias Pfaller. (leo@marco.de) 1995-06-26 23:13:54 +00:00
pk
c7df493055 SMD disk driver, from Chuck Cranor. 1995-06-26 23:06:57 +00:00
pk
70b6d95d44 xd definitions, from Chuck Cranor. 1995-06-26 23:01:06 +00:00
pk
35ad7a1ff3 xd driver entries, from Chuck Cranor. 1995-06-26 23:00:32 +00:00
pk
4f4e4826a6 xd definitions, from Chuck Cranor. 1995-06-26 23:00:31 +00:00
pk
d918ea9e14 xd driver entries, from Chuck Cranor. 1995-06-26 22:59:54 +00:00
pk
3c17e9e63f isbad(), for Chuck's new xd driver. 1995-06-26 22:57:29 +00:00
pk
34c8ad8c30 Define dvma_map{in,out}() to map a buffer into DVMA space. These are
safe for use at interrupt time.

Implement vmapbuf() and vunmapbuf() in terms of these new functions.
1995-06-26 22:46:04 +00:00
pk
68e9c36909 Allocate/initialise DVMA maps and base address.
The fact that `phys_map' is split in half for different kinds of DVMA
allocations is not ideal..
1995-06-26 22:41:23 +00:00
pk
affbc4d346 Define variables and macros for DVMA allocation using rmaps. 1995-06-26 22:36:32 +00:00
pk
04977f87e0 sl_xxx2 -> sl_pcylinder, for Chucks new xd driver. 1995-06-26 22:09:47 +00:00
pk
47ce042b76 Small optimisation & 1 fewer depedency on zs_ctty. 1995-06-26 21:45:31 +00:00
pk
45eb69b276 Use ZS_DELAY() in a few more places (from Gordon Ross, cf. sun3/dev/zs.c). 1995-06-26 21:32:51 +00:00
leo
abe8c288fb Sync grf with underlying view on open. 1995-06-26 19:55:45 +00:00
christos
c35bc29cc9 Fix PR1160... (bug with the new compat_util prefix) 1995-06-26 19:27:17 +00:00
leo
f205966027 The atari specific code can be removed now it is using MACHINE_NONCONTIG. 1995-06-26 14:40:11 +00:00
leo
0d1035fa62 Fix thinko. It will now also work when no mouse is configured. 1995-06-26 14:31:27 +00:00
cgd
2b7d3527a2 define and set PTDpaddr (pyhs addr of kernel PTD) 1995-06-26 13:26:26 +00:00
cgd
db66a978e9 IdlePTD has been gone for a while. PTDpaddr now exists. 1995-06-26 13:25:29 +00:00
cgd
336e8d4de0 prototype inittodr and resettodr 1995-06-26 10:39:20 +00:00
cgd
59e990a56b check CMOS time against base time, for sanity. if CMOS time invalid,
warn user and user base time.  if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it.  (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd
23e75a550d fix typo 1995-06-26 08:46:16 +00:00
cgd
2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
c8858650b0 DEBUG -> FD_DEBUG, so this thing doesn't spew when used with options DEBUG 1995-06-26 05:47:40 +00:00
cgd
bc9de32349 make dump stubs consistent 1995-06-26 05:34:44 +00:00
cgd
35bea7d1f4 use new-style block device dump functions. (most intelligence here now.) 1995-06-26 05:22:53 +00:00
cgd
5ccd187ba5 reserve VM to map pages being dumped 1995-06-26 05:21:58 +00:00
cgd
dd3e2df4a7 make dump stubs consistent. fix other piece of code to compile
properly with DEBUG; used bogus variable.
1995-06-26 05:20:40 +00:00
cgd
2a8d6461a8 implement new-style block device dump routine if __BDEVSW_DUMP_OLD_TYPE
not defined, otherwise use an "not implemented" stub.
1995-06-26 05:16:55 +00:00
cgd
d093e5d8b8 make dump stubs consistent 1995-06-26 05:15:33 +00:00
cgd
ac9043055a oops; i meant __BDEVSW_DUMP_OLD_TYPE, not __BDEVSW_DUMP_OLD_FORMAT 1995-06-26 05:14:17 +00:00
cgd
1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
cgd
2d045e2f16 prototype the dump function pointer, if __BDEVSW_DUMP_OLD_FORMAT not defined 1995-06-26 05:09:37 +00:00
cgd
7491d6cbe5 if subdevices specified with wildcarded unit number, config_attach()
can change the cf_unit, so save it before attach and use saved value.
1995-06-26 04:08:04 +00:00
christos
2a17942096 Add the ability to override COMPATREL and COMPATDST similar to libkern 1995-06-26 03:27:13 +00:00
christos
2cb09c2709 Add the ability to override KERNREL and KERNDST. 1995-06-26 03:25:46 +00:00
christos
e14fb59c60 Fix building of libkern that broke with yesterday's fixes 1995-06-26 03:24:17 +00:00
chopps
81d3868e70 missed one fdopen 1995-06-26 02:34:01 +00:00
chopps
76a5f59729 setup pcb in cpu_fork. 1995-06-26 01:52:53 +00:00
chopps
4230801c92 be sure of product from Ezra Story <ezy@panix.com> 1995-06-26 01:49:05 +00:00
chopps
2937872ca5 typo fix from Daniel Widenfalk <t94dwi@student.tdb.uu.se> 1995-06-26 01:42:08 +00:00
chopps
d6e4fd6e10 fix for sprite problem from Kenneth Dyke <kcd@babylon5.jumpgate.com> 1995-06-26 01:39:55 +00:00
pk
2321aeb62a Reserve arguments 2-4 for SunOS loaders; pass DDB stuff in args 5 and 6. 1995-06-25 23:26:21 +00:00
pk
008504e597 Define IO-cache bit for sun 4/400 machines. 1995-06-25 23:15:58 +00:00
pk
95733d9732 add a couple more sun4m bits. 1995-06-25 21:34:28 +00:00
leo
4abd54fe69 Mouse driver added. 1995-06-25 19:05:23 +00:00
briggs
a734709115 Oops... NOARGS for compat_43_sigvec. 1995-06-25 14:58:17 +00:00
briggs
e1731cd1bf syscalls.master changed. 1995-06-25 14:18:56 +00:00
briggs
de17480671 sigvec -> compat_43_sigvec. 1995-06-25 14:18:35 +00:00
briggs
09e0072b98 Add sunos_emul_path (/emul/sunos). I don't know if this is correct, but
this will at least aid the compilation step and is similar to the
others.
1995-06-25 14:15:08 +00:00
briggs
600cdad805 Stupid typo in last. 1995-06-25 14:02:09 +00:00
briggs
50d8509da2 Stupid pasto in last. 1995-06-25 13:53:21 +00:00
briggs
0958ef72c8 Add libcompat. 1995-06-25 13:39:37 +00:00
briggs
c9917aa539 * Don't include sys/exec.h explicitly--it's not protected against multiple
inclusions and compat_util.h now includes it.
* Declare struct emul *e=p->p_emul in a couple of places so we can use
  STACKGAPBASE macro (should this macro be modified to take a struct
  emul * or struct proc * parameter?).
* Declare extern struct emul emul_sunos for sunos_sigvec's comparison.
1995-06-25 13:11:44 +00:00
briggs
2a153a49b1 Fix the clean target. 1995-06-25 13:06:32 +00:00
briggs
4d6069140b Get the units right... 1995-06-25 04:49:05 +00:00
briggs
b1addb6674 Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
and Daniel Risacher (magnus@mit.edu).  Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com).
This works on my IIcx and IIsi.  Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs
b1598cdd1b Remove a compile warning. 1995-06-25 02:46:46 +00:00
briggs
fc6fb65d62 Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
and subsets thereof.
1995-06-25 02:45:14 +00:00
christos
f9f989f545 Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 21:14:40 +00:00
christos
8d8973280c Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:48:36 +00:00
christos
a5c53e5068 Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
1995-06-24 20:47:36 +00:00
christos
98df248f95 Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:46:09 +00:00
pk
dbc54ab48e For a mmu3/sun4 too, it will suffice to just map the first 16MB. 1995-06-24 20:42:59 +00:00
christos
7f0e620523 Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:41:28 +00:00
christos
3cb270c7ee Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
1995-06-24 20:40:45 +00:00
christos
a94817a5de GENERIC: Add COMPAT_IBCS2 in too by default.
Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:39:40 +00:00
christos
fc741845e6 Stackgap_init() now takes an p->p_emul argument. 1995-06-24 20:36:28 +00:00
christos
1a5a3c9199 Extracted all of the compat_xxx routines, and created a library [libcompat]
for them. There are a few #ifdef COMPAT_XX remaining, but they are not easy
or worth eliminating (yet).
1995-06-24 20:33:55 +00:00
christos
fc5a8cffa2 Build libkern in the kernel compilation directory, like libcompat. 1995-06-24 20:31:12 +00:00
christos
d0169ce44a Use compat_util.[ch] 1995-06-24 20:29:17 +00:00
christos
5ad8a15866 Syscalls.master was changed 1995-06-24 20:26:41 +00:00
christos
57b6b2745e Use compat_util.[ch] 1995-06-24 20:22:33 +00:00
christos
6b95b513b0 Use compat_util.[ch]. 1995-06-24 20:20:04 +00:00
christos
3a3aa6407e Use compat_util.[ch] 1995-06-24 20:18:53 +00:00
christos
8207f8e49e Use the new compat_util.h 1995-06-24 20:17:54 +00:00
christos
dcb2a50b2b - Extracted all compat routines from the kern directory and moved here.
- Created compat_util.c and compat_util.h to be used by the compatibility
  modules, so they don't duplicate the same code.
- Added prototypes to the stackgap allocation routines.
1995-06-24 20:15:55 +00:00
fvdl
cbcf8eee8a Check for invalid filedescriptors in getmsg() and putmsg(). 1995-06-24 18:47:08 +00:00
briggs
5781a8dcc0 The kernel is called netbsd, not vmunix. 1995-06-24 17:24:24 +00:00
briggs
4f05f7e8f6 pmap_page_index isn't a macro. 1995-06-24 16:18:50 +00:00
cgd
d8264613c8 add entry for another tweaked Texel CD-ROM. from pr 1151 1995-06-24 01:22:30 +00:00
pk
20d86b44f2 Assume kernel is < 16MB in size,
Massage the a few control bits before remapping (from David S. Miller).
1995-06-23 15:44:34 +00:00
pk
ad8e3ed225 Sync with net/if.h 1995-06-23 13:19:44 +00:00
jtc
611c2dbdc8 fix typo 1995-06-23 01:33:43 +00:00