Commit Graph

2999 Commits

Author SHA1 Message Date
deraadt ed575390ee pmap.c, machdep.c, autoconf.c, cpu.c, intr.c, : net-posted patches from Torek
autoconf.c: mountroot kludges that need fixing later
clock.c: two volatile decls
conf.c: stategy()'s return void, *tty[] not tty[], __P()'d xxdump() calls,
	add mem_no, *constty[] not &cons.
genassym.c, machdep.c: sys/vmmeter.h needed
intr.c: make kernel writable temporarily in intr_fasttrap()
intr.c: do not use NETISR_ARP
locore.s: icode maps at 0 so do not relocate, don't define __main here.
machdep.c: don't have sysctl.h (yet), use vm_page_free_count for freemem,
	setregs() sets pc/npc/stack, note: signal delivery code needs
	fixing, add various other NetBSD function stubs.
pmap.c: do kernel_pmap/kernel_pmap_store the old way, delete
	vm_page_startup_initialized weirdness.
swapgeneric.c: everything about mountroot needs fixing, help.
trap.c: sunsys -> sun_sysent, etc.
vm_machdep.c: don't use cpu_coredump() for now.
1993-10-11 02:16:12 +00:00
cgd e98e3183fc get rid of a few ref's to buffer_map 1993-10-11 02:11:28 +00:00
deraadt d9ead6b6f5 TDR: config file i'm testing with
files.sparc.newconf: a files file that works
files.sparc: old name for above file, might as well delete
1993-10-10 11:19:26 +00:00
deraadt 5dbfa8c726 need these 1993-10-10 11:18:03 +00:00
rgrimes d466119aa4 Convert space to tabs on the trapframe and sigframe lines 1993-10-10 07:23:34 +00:00
rgrimes 4119b752e0 Add symbols KERNSIZE and PDRSHIFT so that they can be used along with
KERNBASE to caclulate several constants in locore.s used for setting
up the vm system.
1993-10-10 07:07:52 +00:00
cgd f017d3a03f deal with the libc "arch" change 1993-10-10 01:53:09 +00:00
mycroft cc73d66b19 Clean up deleted files. 1993-10-10 00:32:42 +00:00
mycroft 2f0fca8e20 Clean up deleted files. 1993-10-10 00:18:02 +00:00
mycroft 5074eed1b2 Clean up deleted files. 1993-10-09 23:31:37 +00:00
cgd b23795cc2b the two real include files are now in /usr/src/include 1993-10-09 23:31:27 +00:00
cgd a97c22bc0c install the 2 includes in ./rpcsvc, too. 1993-10-09 23:28:14 +00:00
mycroft 4cbf1951c1 Put back assembler versions of setrq() and remrq(). GCC 2 is just too lame. 1993-10-09 22:49:29 +00:00
mycroft c8431a9508 Add locore2.c as standard. 1993-10-09 22:17:36 +00:00
mycroft 99e736549a Remove `device-driver' flags. 1993-10-09 08:55:24 +00:00
cgd 7b64280a28 patch from rod grimes:
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define         NBPG            4096
#define         PGSHIFT         12
use:
#define         PGSHIFT         12
#define         NBPG            (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
cgd 8b2f878d38 get rid of some (bad) setreuid() calls, which caused a security problem.
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
1993-10-09 01:11:39 +00:00
cgd 82360f892e correct directory name in man page 1993-10-09 00:59:10 +00:00
cgd f51618137b genassym needs a dependency... 1993-10-09 00:31:21 +00:00
jtc 845bf7e773 Helper function _strerror is in the user's namespace, renamed it to
__strerror().
1993-10-09 00:11:01 +00:00
jtc f2c1ee25de Added rand48 manual page. 1993-10-09 00:08:02 +00:00
jtc aed559e85d Make it possible to use machine dependant versions of div and ldiv functions.
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc 479a1c33c9 Provide i386 versions of div and ldiv -- they are simpler than the C versions,
since the idiv instruction does the right thing wrt truncating towards zero.
1993-10-08 23:57:13 +00:00
mycroft c32809f0fe Clean up deleted files. 1993-10-08 05:48:14 +00:00
cgd 5058978f80 move rpcsvc files and include generation into src/lib/librpcsvc 1993-10-08 05:48:05 +00:00
cgd 8fc014c815 frob things a bit so depend works. 1993-10-08 05:44:32 +00:00
cgd 8a4e4890b1 move include generation and rpc source files intp lib/librpcsvc 1993-10-08 05:26:25 +00:00
mycroft 6a93cfbcbc Clean up deleted files. 1993-10-08 03:47:32 +00:00
cgd f771d07953 no more librpc 1993-10-08 02:34:16 +00:00
cgd 922f210aea don't think of .pl files as prolog files, think of them as Perl files,
and give them a "# " default comment string.
1993-10-08 02:33:30 +00:00
cgd f69e02fc8e no more librpc 1993-10-08 02:28:39 +00:00
cgd 8f46a34fed fix man page so that makewhatis works on it now... 1993-10-08 01:42:06 +00:00
cgd a4f95e1816 no more librpc 1993-10-08 01:33:33 +00:00
jtc e09d2f42db Use "testb %cl,%cl" instead of "cmpb $0,%cl".
This saves three cycles per character, and reduces the size of the
function by eight bytes (the loop is unrolled eight times).
Thanks to davidg for pointing this out.
1993-10-08 01:25:51 +00:00
cgd 909ad08f8c there is no librpc any more 1993-10-08 00:51:12 +00:00
jtc 42cce25b89 Use machine dependant version of labs.[cs] if one is present.
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
jtc b3f9f8f6f4 Provide an assembly language version of labs().
Since ints and longs are both 32 bits on a i386, we could alias abs()
and labs() together as mycroft did with memmove()/memcpy(), but I'm
waiting on an interpretation ruling to see if it is legal.
1993-10-08 00:01:04 +00:00
jtc b050bfde2c Use _ASSERT_H_ guard macro so that <sys/cdefs.h> is only included once and
the __assert() helper function is declared once if <assert.h> is included
multiple times.
Don't support the _assert() macro, nothing uses it and it pollutes the
user's namespace.
1993-10-07 22:15:29 +00:00
jtc 68bc42722e Add entries for x400 mail, pop-2 & pop-3, and the X Display Manager Control
Protocol.
1993-10-07 21:54:36 +00:00
brezak 4eae27f3eb Whilst hacking the Net/2 version of finger to work on Solaris 2.2 (we
needed a finger on that platform which grokked the office/phone # GCOS
info), I decided to put mail status in (as the solaris version has
that).

The attached patch adds:
- manual page typos fixed: finger doesn't scan .forward, contrary to
  what the man page says (and really shouldn't either, IMHO - that's
  what telnet host SMTP & VRFY are for :)

- added a mail check (printed between login info and the project).
  three different messages possible:
  - if you have no mail:
        No Mail.
  - if you have mail, but there's no unread mail:
        Mail last read DDD MMM ## HH:MM (TZ)
  - if you have new mail:
        New mail received DDD MMM ## HH:MM (TZ)
             Unread since DDD MMM ## HH:MM (TZ)

- fixed the manual page.

lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
1993-10-07 19:58:28 +00:00
brezak 933a7b3ad8 Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier) 1993-10-07 19:53:35 +00:00
cgd 3ae2c70acd sometimes we want a profiled libkern. i can't ever see wanting a
PIC one...
1993-10-07 19:40:36 +00:00
mycroft b50f401d64 Clean up deleted files. 1993-10-07 19:28:50 +00:00
jtc 473c152a0a Moved strerror.[c3] from libc/stdio to libc/string.
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
brezak 2a790909ba Add socks service 1993-10-07 13:25:50 +00:00
cgd cab8e2bdba "There will be NO librpc tomorrow!" 1993-10-07 07:39:23 +00:00
mycroft 4d4f745b47 Clean up deleted files. 1993-10-07 07:33:02 +00:00
cgd 63d7b6778b move the rpc code into libc 1993-10-07 07:29:33 +00:00
cgd 3fc63f6bb3 now that the rpc code lives in libc, we should install the man page
for /etc/rpc from here.  the man page's header was changed to note
that hackers/source-browsers should look at the README and DISCLAIMER
in libc/rpc
1993-10-07 07:29:00 +00:00
cgd d6ff5db170 converted to use gnu malloc, and depend on it correctly 1993-10-07 07:23:44 +00:00