Commit Graph

107922 Commits

Author SHA1 Message Date
kleink 8ed9abe510 Add ucontext(5). 2003-01-23 22:03:57 +00:00
jdolecek 2011a991cc ramdisk image overflew, bump by 4K 2003-01-23 21:37:28 +00:00
jdolecek 31fcb050d5 add another memory size detection routine, using int15, function 0xc7, which
is supported on later IBM PS/2 models; this is necessary to detect memory
over 64MB
thanks go to Pavel Cahyna for testing on his IBM PS/2 machine with 128MB

bump biosboot version to 2.15
2003-01-23 21:22:24 +00:00
augustss 8aa76b0ae7 Add processor interface register definitions. 2003-01-23 21:17:15 +00:00
wiz c46e8627bc Sync a bit more with default output -- these do not need to be defined (no change in build):
HAVE_LOGIN, HAVE_LOGOUT (will only add #defines if cvs's login/logout conflict)
HAVE_SELECT, HAVE_USLEEP (only used if nanosleep() is not found).
2003-01-23 21:06:50 +00:00
jdolecek 1323e01ddf use %e?x instead of %?x as 'xorl' arguments
use %al for 'movb' target, and 'andb' for masking the result with $0x02
since 'and' conveniently sets ZF, use 'and+jnz' instead of 'and+cmp+jne'
2003-01-23 21:01:18 +00:00
wiz b9537c9578 Update strings for 1.11.5, noted by rafal. 2003-01-23 20:41:01 +00:00
pk a6a16741fe Optimize xcall() et.al. further by maintaining a cpuset mask of all CPUs
marked ready. This saves repeated testing for NULL pointers and the
CPUFLG_READY flag.
Also use a separate flag variable to signal xcall completion. This saves a
load and a pipeline stall.
2003-01-23 19:54:35 +00:00
wiz 4e9926bf90 Help HTML output by replacing <> with \*[Lt] and \*[Gt] or Aq, sort sections, remove .Dp, and some
nits.
2003-01-23 18:57:09 +00:00
pk a799bdd88d GC the per-CPU message lock.
Move the level 15 msg area further down the cpuinfo structure, as it's
used infrequently.
2003-01-23 18:49:08 +00:00
wiz 6ce643e53c Fix indentation of continuation of first line in SYNOPSIS. 2003-01-23 18:32:07 +00:00
christos c79beb47a8 Remove berkeley copyright. There is no similarity to the original anymore.
Reword certain contorted sentences.
2003-01-23 18:21:24 +00:00
jdolecek 969e7f59ee usage(): print newline, and use [<pid> ...] 2003-01-23 18:18:49 +00:00
jdolecek d1020feee3 couple nits:
* RCS Id on top
* set date to today
* split the optional arguments ([pid ...]) on separate line in the source
* replace .EL with .El
2003-01-23 17:52:14 +00:00
christos 5a95c2232e - mention gcore
- luke, it is 2003 already
2003-01-23 17:41:17 +00:00
christos ae1294f148 add gcore. 2003-01-23 17:38:23 +00:00
christos 3235cc3b30 add gcore 2003-01-23 17:37:31 +00:00
christos 3ea86aec06 PT_DUMPCORE support. 2003-01-23 17:35:18 +00:00
christos 8dd5658494 bring back gcore from the dead. 2003-01-23 17:34:49 +00:00
lukem e9a4b099b2 build.sh rototill. attempt at consistency in some other recent entries 2003-01-23 16:26:46 +00:00
lukem 31b7057f61 Rework how build.sh functions, so that command line options set various
parameters, and a list of "operations" defines what to do.
The full usage is show below.  Notes:
	`-b' has been deprecated (it always occurs now)
	`-d' is replaced by "distribution"
	`-R rel' onlys sets RELEASEDIR; use "release" to build a release
	`-k kern' has been replaced by "kernel=kern"
	`-i idir' has been replaced by "install=idir"
	-r now occurs before nbmake is rebuilt

Add a copyright (long due!).  Rework the code to (a KNF inspired) ShellNF.
Use functions appropriately.  Allow `nb' prefix to be easily changed to
something else.  Solve world peace (just kidding)

This is part of the (never achievable) goal of attempting to make
NetBSD easier to build...


  --8<--  new usage follows  --8<--

Usage: build.sh [-EnorUu] [-a arch] [-B buildid] [-D dest] [-j njob] [-M obj]
		[-m mach] [-O obj] [-R release] [-T tools] [-V var=[value]]
		[-w wrapper]   [operation [...] ]

 System build operations (all imply "obj" and "tools"):
    build		Run "make build"
    distribution	Run "make distribution" (includes etc/ files)
    release		Run "make release" (includes kernels & distrib media)

 Other operations:
    obj			Run "make obj" (default unless -o)
    tools 		Build and install tools
    kernel=conf		Build kernel with config file `conf'
    install=idir	Run "make installworld" to `idir'
			(useful after 'distribution' or 'release')

 Options:
    -a arch	Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
    -B buildId	Set BUILDID to buildId
    -D dest	Set DESTDIR to dest
    -E		Set "expert" mode; disables some DESTDIR checks
    -j njob	Run up to njob jobs in parallel; see make(1)
    -M obj	Set obj root directory to obj (sets MAKEOBJDIRPREFIX)
    -m mach	Set MACHINE to mach (not required if NetBSD native)
    -n		Show commands that would be executed, but do not execute them
    -O obj	Set obj root directory to obj (sets a MAKEOBJDIR pattern)
    -o		Set MKOBJDIRS=no (do not create objdirs at start of build)
    -R release	Set RELEASEDIR to release
    -r		Remove contents of TOOLDIR and DESTDIR before building
    -T tools	Set TOOLDIR to tools.  If unset, and TOOLDIR is not set in
		the environment, nbmake will be (re)built unconditionally.
    -U		Set UNPRIVED
    -u		Set UPDATE
    -V v=[val]	Set variable `v' to `val'
    -w wrapper	Create nbmake script as wrapper
		(default: ${TOOLDIR}/bin/nbmake-${MACHINE})
2003-01-23 16:24:08 +00:00
kleink 15027ca61b Correct inverted logic in comment. 2003-01-23 15:59:38 +00:00
gehenna de40fbc7a1 Add the block-device-only devices.
Reported by ragge.
2003-01-23 15:07:54 +00:00
gehenna c8d83dee30 Accept the block-device-only devices.
Reported by ragge.
2003-01-23 15:05:45 +00:00
gehenna d0c0162e9c Not necessary to put fixdevmtab in global section. 2003-01-23 15:03:44 +00:00
gehenna 02681cddbc check the duplication or the inconsistency before evaluating fopts. 2003-01-23 15:01:54 +00:00
agc 53ed48f326 Make this build on platforms where size_t != int, i.e. sparc, arm, ppc, ... 2003-01-23 14:58:07 +00:00
gehenna 27e67caceb reject the duplication of the same device-major lines. 2003-01-23 14:57:40 +00:00
pk 39ce68a44b bogusintr: print cpu number. 2003-01-23 14:56:06 +00:00
gehenna 2c4d3430fb fix typo. 2003-01-23 14:55:39 +00:00
pk 22acc2a827 Shave some code off xcall(). 2003-01-23 14:54:33 +00:00
pk 40a1653fc2 pmap_kenter_pa4m: like pmap_enk4m(), we can use setpte4m().
ctx_free: fix cache flush context for sun4/sun4c.
2003-01-23 12:48:53 +00:00
pk 58005dc9d3 Zombie procs have no lwps. 2003-01-23 12:41:33 +00:00
pk 698ca6fb6f LWPify cpu_debug_dump(). 2003-01-23 11:50:50 +00:00
wiz 31b1facf6b And finally, bump date (for -d description). 2003-01-23 08:53:46 +00:00
jdolecek 32cc757ba5 also add -d to SYNOPSIS 2003-01-23 08:51:00 +00:00
grant 817ab34933 Add description of -d.
From Soren Jacobsen in PR bin/20005.
2003-01-23 05:32:13 +00:00
briggs ecc07a2e36 Use iwin[3] instead of iwin[2] for RAM access and leave iwin[2] unused. 2003-01-23 03:56:45 +00:00
briggs a4734dcbdd Program the BARs after the limit regs. When the BARs are written, the
value actually stored in the BAR is masked by the limit register.
2003-01-23 03:53:16 +00:00
rafal 0923f4be26 Make this build again. 2003-01-23 03:33:16 +00:00
bad f4aacfe9fc Being able to make image backups of your whole disk, not to mention not
causing certain ata disks to lock up by reading beyond the last block,
beats catering to broken devices.

bounds_check_with_label() RAW_PART too.
2003-01-23 00:00:32 +00:00
thorpej d1567e06c2 Add libpthread and librt. 2003-01-22 23:40:19 +00:00
thorpej 02d1b7838b Add a case for librt (POSIX Real-time Library) 2003-01-22 23:37:08 +00:00
thorpej 1b4d724c8e sem_init(): oops, only destroy the ksem on error if it is a ksem. 2003-01-22 23:18:06 +00:00
ragge 413b4a7519 Explicitly cast "g" arg to mtpr to long; to tell gcc that this
instruction will use long indexing.
2003-01-22 23:06:37 +00:00
thorpej c151b13c1f Rewrite to use our internal scheduling primitives. 2003-01-22 22:51:42 +00:00
kleink 2332bdc2f1 Sync MPC601 support bits with UP version. 2003-01-22 22:20:23 +00:00
kleink 6bc656a38f Whitespace nit in previous. 2003-01-22 22:15:06 +00:00
thorpej 03d20ab6ed Tweak this test to make it a bit easier to observe behavior. 2003-01-22 22:12:56 +00:00
wiz e254f6a849 More markup, more commas, less typos. 2003-01-22 22:05:45 +00:00