Commit Graph

92101 Commits

Author SHA1 Message Date
manu 26aff33a7d Typo fix 2002-02-03 17:41:03 +00:00
manu 5c72031257 Added system calls: gettimeofday, getitimer, setitimer 2002-02-03 17:39:54 +00:00
manu 5b436803dd Removed the hack in mapelf to get libX11 loading. The new version assumes
that the load addresses in the section array are increasing, and that no
section in the array overlap with each other. IRIX proably makes the same
assumptions, but this has not been tested.

The key point with relocation is to always use the same offset for each
section. Because userland gets only the load address off the first section, it
has to assume that all the remaining sections kept the same offset with
respect to the first section. By using fixed offset instead of finding
some free space for each section, we can eliminate the libX11 load hack.
2002-02-03 17:28:19 +00:00
lukem de1da0afc1 remove XXX comments left in by mistake 2002-02-03 16:58:46 +00:00
lukem adb295f063 use ${HACKOBJS:Ngethost.o} instead of trying to keep HACKOBJS in sync with HACKSRC/Makefile.inc 2002-02-03 16:35:11 +00:00
lukem c8099b4072 Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
	list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename  bootfloppy-common/Makefile.inc  to  common/Makefile.bootfloppy
and	fdset-common/Makefile.inc       to  common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst.  Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
2002-02-03 16:22:19 +00:00
tsutsui c33eea3aac Use more libhack functions. 2002-02-03 15:56:26 +00:00
lukem d691d4a33e distrib/common - shared files for building distribution media, initially
comprising of:

    Makefile.crunch
	build a crunchgen(1)ed binary from the provided lists

    Makefile.image
	build a tree from the provided lists, and
	build an ffs file system image from that tree using makefs(8),
	without requiring root privileges

    parselist.awk
	parse list files generating different output:
		crunchgen config
		mtree specfile
		sh commands to populate a tree
2002-02-03 15:24:43 +00:00
lukem b5c22acdbc revert revs 1.10 (and 1.11); now back to using the ustarfs build framework
from ../bootfloppy-common/Makefile.inc like the other boot floppies.
it wasn't ustarfs that was broken, it was the broken PAD=yes code in the
latter trashing the last 8k of the kernel...
2002-02-03 14:58:24 +00:00
lukem ce248e3fc1 - fix PAD=yes code so that it won't potentially trash some of the last
8k of the kernel.
- minor cleanup of an error message
2002-02-03 14:56:00 +00:00
darrenr 0d5f0d9024 * add machdep.booted_device and machdep.boot_args (both fetched from
appropriate PROM variables).
* return "netbsd" for machdep.booted_kernel if the PROM doesn't return us a
  kernel name.
2002-02-03 14:10:02 +00:00
lukem 447e6b3ec5 crank size of mfs from 512 sectors to 768 sectors (large i386 MAKEDEV) 2002-02-03 12:55:26 +00:00
tsutsui 182244fcd9 Add MD Makefile.inc for newsmips to make release.
XXX distrib/notes/newsmips is not yet.
2002-02-03 11:23:45 +00:00
fair 3e8b41381f Document NetBSD/sparc support for HyperSPARC and sun4u per PR 14851.
Also mention JavaStation support.
2002-02-03 11:13:14 +00:00
fair 8bd0f72b87 Text expanding the NLS abbreviation added per PR 14576. 2002-02-03 09:31:36 +00:00
fair 622875edb1 Revise wording about the -q and -c options per PR 12035.
Correct nroff nits, and fix some incorrect abbreviation usage
("i.e." was used where "e.g." should have been used).
2002-02-03 09:19:55 +00:00
veego 6ff44bd71d etc/rc.d/NETWORK was renamed to etc/rc.d/NETWORKING 2002-02-03 08:33:14 +00:00
fair 94125ab8df Add a reference to dir(5) per PR 14291 2002-02-03 08:05:12 +00:00
fair 4d71b1538f Add explanation of directory sizes, and a reference to dir(5),
per PR 14291.
2002-02-03 08:00:05 +00:00
jmc edd781367c Change some wording on fw's to make it more logical sounding. 2002-02-03 07:29:14 +00:00
jmc c4bd465ed5 Add IEEE1394_MAX_REC macro 2002-02-03 07:25:11 +00:00
jmc 715f7380b0 Add an unreg function.
Add a uio struct to the abuf so direct uio supporting calls can be setup.

Change all refs of csr in the abuf to addr as thats it's real function.
2002-02-03 07:24:48 +00:00
darrenr 1ff5e232ba add missing #include for SUN4 options 2002-02-03 05:53:28 +00:00
ross cc9d651712 LP64 tweak 2002-02-03 05:53:07 +00:00
chs eecf9e208a fix PR 15299 by making MFS filesystems not be "async".
in the longer term, MFS needs to be made a lot more VM-friendly.
2002-02-03 03:51:57 +00:00
perry 9944f8fbe3 resolve conflicts 2002-02-03 03:27:17 +00:00
perry 9834dfda1c Postfix 1.1.3 2002-02-03 03:10:53 +00:00
lukem b7677f4e0e .ifdef SMALLPROG, compile without ALTSHELL and SECURE support 2002-02-03 02:40:14 +00:00
perry ecf26eb9de add defaults for install parameters to stop errors 2002-02-03 02:20:05 +00:00
manu 98f3287e7d Added some system calls: gethostname, sethostname, getdomainname,
setdomainname, alarm
2002-02-03 01:21:47 +00:00
perry 13b9b0e653 And install the script as a SCRIPT... 2002-02-03 00:50:36 +00:00
perry a292bb8303 Install post-install and postfix-files.
This is likely not enough yet.
2002-02-03 00:47:49 +00:00
perry 00f7fe97b4 resolve conflicts 2002-02-02 23:54:35 +00:00
perry 5cf194aa6d not part of release 1.1.2 2002-02-02 23:27:32 +00:00
perry 1f31e11b0f update reachovers for postfix 1.1.2 2002-02-02 23:21:45 +00:00
perry 6f59dc7aeb Postfix 1.1.2
(Postfix releases are now numbered -- 1.1.2 means 1.1, patchlevel 2.)
Lots of new features, same great security.
2002-02-02 23:10:24 +00:00
dbj ecf4398451 increment uvmexp.traps on entry to trap() 2002-02-02 22:02:00 +00:00
tls 59b84cdaa8 Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
2002-02-02 20:58:43 +00:00
manu 97db5a818c Added errno translation for non native OSes emulation (IRIX, Linux, Ultrix) 2002-02-02 20:28:59 +00:00
jdolecek ef0bbb2a55 Retire -C, do all the ioctls on same audio device we do i/o 2002-02-02 20:20:23 +00:00
manu 4aa2e3fde7 Fixed the X11 load bug. dynamic linking now seems to be fully functionnal,
even for program with a DSO using overlapping load virtual addresses.

The fix is a mean hack, see the comments in irix_syssgi.c. It would be nice to
get uvm_map_findspace() to return the page we suggest instead of the page which
is 16384 bytes away.
2002-02-02 19:27:18 +00:00
gson fe2fc5699c Fix the bcea redefinition issue in a different way: instead
of removing the duplicate variables, make sure that any duplicate
variable that has an initial value in libsa also has an initial
value here; this keeps the linker from pulling in the libsa
definition.
2002-02-02 18:53:12 +00:00
jdolecek f32b3f4f89 Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
jdolecek 34b1784adf enable the joystick port on attach, too 2002-02-02 18:10:28 +00:00
thorpej 9ff7f6dda8 Add <stdbool.h> 2002-02-02 17:36:07 +00:00
thorpej e499744b58 ISO C / SUSv3 <stdbool.h>. 2002-02-02 17:31:52 +00:00
tv eef7548a36 Move CLEANFILES up so it is actually used. Noted by Bernd Ernesti. 2002-02-02 17:11:38 +00:00
veego e2e1706f05 Ups, it is LIBUSBHID and not LIBUSBHIB. 2002-02-02 16:54:26 +00:00
bjh21 043db35f0a cpu_cache_syncI_rng -> cpu_icache_sync_range 2002-02-02 16:53:39 +00:00
bjh21 c738201135 We shouldn't need an icache sync when catching a signal, so don't bother. 2002-02-02 16:52:45 +00:00