Commit Graph

22464 Commits

Author SHA1 Message Date
gwr 165cf39d2a Merge the netbsd-1-2 branch back into the mainline. 1996-10-10 19:58:32 +00:00
christos 95e30eafe7 printf -> kprintf, sprintf -> ksprintf 1996-10-10 19:58:18 +00:00
christos bf78c76b40 - move a variable declaration that is unused under NetBSD into the ifdef
for FreeBSD
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:55:48 +00:00
christos a9f11a46e4 printf -> kprintf, sprintf -> ksprintf 1996-10-10 19:54:10 +00:00
christos 9cbe3b9d5f - printf -> kprintf, sprintf -> ksprintf
- include systm.h
1996-10-10 19:53:03 +00:00
christos 9cc736c839 - printf -> kprintf, sprintf -> ksprintf
- remove unused variables.
- fix cleanup code in case of probe failure.
1996-10-10 19:52:10 +00:00
christos e596968eda - printf -> kprintf, sprintf ksprintf
- const poisoning for the copy routines.
- fu* su* fixes:
  XXX:
    1. These are poorly named [better names should have real sizes in them]
    2. Not all of them are in use implemented
    3. Interface is broken; no way to detect errors in fu*
    4. The kernel man 9 pages for copy, fetch and store leave a lot to be
       desired.
1996-10-10 19:25:45 +00:00
christos 5476886e52 printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:47:29 +00:00
christos de1b2b437e printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:16:17 +00:00
scottr d9add485a7 Updated booter information. 1996-10-10 16:43:47 +00:00
jtc c5364e6a93 S_ISFIFO(x) should not return true with sockets. S_ISSOCK(x) should
not return true with fifos.  Users who want the previous behavior can
use (S_ISFIFO(x) || S_ISSOCK(x)).
1996-10-10 14:34:37 +00:00
jtc 56381415bc Removed missing.c beacuse NetBSD is not missing any of the functions
that it provides.
1996-10-10 14:17:02 +00:00
jtc 87313b5b47 options.h is no longer used 1996-10-10 14:10:39 +00:00
thorpej 4a23efc7bc Fix botch in netbsd-1-2 merge (multiple inclusion of <sys/tty.h>),
pointed out by Jonathan Stone <jonathan@DSG.Standford.EDU>.
1996-10-10 00:27:41 +00:00
cgd c11d591cfe add support for ELF toolchain, including weak alias support (for upcoming
libc changes) and reference warnings.
1996-10-09 22:41:54 +00:00
cgd 6d0af59ad0 change __va_list's "offset" field to be a 'int' to match what gcc now
uses, plus add a compatibility hack so that code compiled with old
versions of gcc (e.g. libraries) can work with code compiled with
new versions.
1996-10-09 21:13:04 +00:00
perry f9af6f1e41 Changed *.ccore to *.core. "make clean" now works right again. 1996-10-09 19:16:10 +00:00
gwr b99b7ecf12 Fix some warnings, and cosmetic things (spaces/tabs, etc.) 1996-10-09 18:07:14 +00:00
explorer f73d65b2ae add rcsid tag 1996-10-09 17:21:27 +00:00
explorer 3e8ed4be5a add copyright and netbsd rcs tag 1996-10-09 17:20:04 +00:00
explorer e331708d2f turn off floppy motor (and light) even if the drive isn't found. This fixes
some laptop indicator lights which would be stuck on after the probe
1996-10-09 16:10:14 +00:00
jtc 6f57e37d56 sync with 5.2.11 (now define POSIXLY_CORRECT) 1996-10-09 15:31:59 +00:00
jtc 0de5aac478 import pdksh 5.2.11 1996-10-09 15:29:01 +00:00
jtc dc22bec48e autoconf biffed a test --- our stat macros do work 1996-10-09 15:16:44 +00:00
jtc 5a4124868a import pdksh 5.2.9 1996-10-09 15:12:31 +00:00
matthias 9176e41d88 * Pull over prototyping fixes from i386. 1996-10-09 07:45:28 +00:00
matthias b43657168e * Add prototypes.
* Add support for ddb and kgdb.
1996-10-09 07:45:25 +00:00
matthias 9d22d4d454 * Fix declaration of setconf. 1996-10-09 07:45:23 +00:00
matthias 85ddb3de03 * A few prototyping tweakes and deletion of unused variables.
(pulled over from i386).
1996-10-09 07:45:20 +00:00
matthias e90bc618bd * Support for ddb.
* New patchable variable maxphysmem to limit physical memory.
That's useful to simulate small machines for testing install
kernels.
* Make debugging crashdumps with gdb -k work.
* microtime is moved to clock.c.
* Reserve memory for symbol table when ddb is configured.
* Move checks for RB_KDB into consinit.
1996-10-09 07:45:17 +00:00
matthias 89a49bedc6 * Set _kernel_text to the correct value.
* Fix a typo in delay().
* Disable generation of profiling prologue for proc_trampoline,
sigcode, idle, handle_trap, flush_icache, svc and interrupt.
* A few tweaks to make kgdb and ddb work nicer.
1996-10-09 07:45:13 +00:00
matthias 560bd7e107 * New file for kgdb support. 1996-10-09 07:45:06 +00:00
matthias 9c3592a5ca * Reduce softint latency.
* Pull over change from i386 to make statclock > (tty | net | bio).
1996-10-09 07:45:05 +00:00
matthias 1dceda47e0 * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
* Remove things not used by NetBSD.
* Make stacktracebacks work better.
1996-10-09 07:45:03 +00:00
matthias 4484a4406d * New file for routines common for kgdb and ddb support. 1996-10-09 07:45:00 +00:00
matthias 6f37f75ecb * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
* Move some functions shared with kgdb to db_memrw.c.
1996-10-09 07:44:59 +00:00
matthias 79ded0d7e1 * Make it work for NetBSD and not for mach. Most of
this was done by Phil Budne.
1996-10-09 07:44:56 +00:00
matthias afd88ad8ed * Remove unused function spinwait.
* Add Phil Budne's microtime.
1996-10-09 07:44:54 +00:00
matthias 00695d93ae * Now that ddb works, boot should set esym to the correct value... 1996-10-09 07:42:13 +00:00
matthias 483cff53cd * Add the README file from Ian Dall's original distribution. 1996-10-09 07:40:45 +00:00
matthias 84b238b8eb * Add files needed for kgdb and ddb.
* Delete (commented out) ntoh.s.
1996-10-09 07:34:42 +00:00
matthias f0c2efd752 * Remove ncr_minphys. Simply use minphys.
* Protect interrupt code with splbio.
* Don't use intr_disable/intr_enable in the pdma routines.
1996-10-09 07:29:58 +00:00
matthias f28c7ec9dd * Don't use ansi c prototypes. Use the __P() macro.
* Support for bpf added.
* Don't duplicate code, use ether_ifattach instead.
* Recode plipreceive and pliptransmit in assembler.
This improves performance from 40 kbyte/s to 50 kbyte/s
between a 30mhz pc532 and a 25mhz i386.
1996-10-09 07:29:55 +00:00
matthias f8c337b300 * Remove intr_disable/intr_enable stuff.
* Reduce softint latency.
1996-10-09 07:28:52 +00:00
matthias f673492195 * redefine MAXPHYS to 128k to support DAT-tapes with a
very large blocksize.
1996-10-09 07:28:50 +00:00
matthias b5542a0938 * The expression to which ICU_CLK_HZ is defined has to be
protected by parentheses.
1996-10-09 07:28:47 +00:00
matthias 0a6d52bb21 * Make it work for NetBSD (and not mach). Most of
this was done by Phil Budne.
* Delete unused macros.
* Define a few things to support kgdb.
1996-10-09 07:28:44 +00:00
matthias b1bd20fbe2 * Delete define for DELAY.
* Add prototype for delay()
* Add prototypes for functions from various
machine dependent files.
1996-10-09 07:28:43 +00:00
matthias 1ebd4878ae * Include profiling prologue not only when PROF is
defined but also when GPROF is defined.
* Provide _ENTRY and _ASENTRY to make it possible to
define functions that should not be profiled.
1996-10-09 07:28:40 +00:00
matthias b83348353f * ddb now works.
* Profiling works as well.
1996-10-09 07:21:47 +00:00