jtc
11b51f8dcb
#include <machine/ansi.h>, declare size_t typedef.
...
Only include <sys/types.h> if !_POSIX_SOURCE.
1993-10-11 19:08:26 +00:00
jtc
7050b3fd65
declare char *tzname[2];
1993-10-11 18:45:05 +00:00
jtc
847ee7d5b1
Changed preprocessor conditional so non-standard functions would not be
...
declared in a _POSIX_SOURCE environment.
1993-10-11 18:43:45 +00:00
jtc
9770032514
Make C++ safe by wrapping in __BEGIN_DECLS, __END_DECLS.
1993-10-11 18:28:04 +00:00
phil
b43476d41c
Changing a bsd => bsr.
1993-10-11 18:23:17 +00:00
jtc
9064bd694b
Move forward declaration of struct rusage into !_POSIX_SOURCE conditional.
1993-10-11 18:18:10 +00:00
jtc
3088508ccf
Moved definition of M_FOO constants into !_ANSI_SOURCE && !_POSIX_SOURCE
...
conditional.
1993-10-11 18:13:24 +00:00
jtc
9a6746f2ce
Restore define for L_cuserid and add cuserid prototype.
...
It was provided, but not documented.
1993-10-11 18:01:45 +00:00
deraadt
13c7bc2156
machdep.c: setregs() adjusts the stack correct and warns about problems
...
cpu_exec_aout_makecmds() that understands sunos ZMAGIC.
trap.c: just Theo's debugging stuff, delete later.
1993-10-11 10:53:26 +00:00
cgd
ed8d9adecd
needs libcrypt
1993-10-11 10:52:31 +00:00
deraadt
2521f66843
setregs():
...
%sp needs to be offset +sizeof(struct rwindow)
warn if %sp isn't double-word aligned, it MUST be.
1993-10-11 04:26:33 +00:00
deraadt
c147fc9845
various: timeout parms typecast properly
...
net-posted patches from torek
sys-fbio.h -> machine/fbio.h
1993-10-11 02:49:44 +00:00
deraadt
a851f1b5f1
bwtwo.c, cgthree.c: sys-fbio.h -> machine/fbio.h
...
if_le.c: #ifdef MULTICAST some things, and do arp the old way
1993-10-11 02:45:49 +00:00
deraadt
b3147a8677
various changes, suffice to say that 4.4 syscalls do not look like ours
1993-10-11 02:44:06 +00:00
deraadt
2e78184935
cons.c, zs.c: tty->t_stop doesn't exist here. I think it goes through d_stop
...
automatically now, but have not checked.
l_ioctl() has no last parameter 'p'
fb.c: move sys/fbio.h to machine/fbio.h
various: typecast parms for timeout() properly
zs.c: extra level of indir in cdevsw[]->d_ttys
1993-10-11 02:36:38 +00:00
deraadt
d5b0b3dffa
New location for libkern, fixes for many paths.
...
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.
1993-10-11 02:33:25 +00:00
deraadt
7ee2311b78
stdarg.h, varargs.h, psl.h, autoconf.h: posted patches from torek
...
cpu.h: cpu_adjstack() won't work well in the NetBSD execve - need a
different model, stub enablertclock() for now..
exec.h: a netbsd-type exec.h file (ie. empty)
param.h: add MID_MACHINE
pmap.h: delete kernel_pmap hack - it doesn't work for us, + two proto's
vmparam.h: VM_MIN_ADDRESS = 0!
1993-10-11 02:28:23 +00:00
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