]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agomdoc(7) police: tidy up previous delta.
Ruslan Ermilov [Wed, 9 Jan 2002 15:32:25 +0000 (15:32 +0000)]
mdoc(7) police: tidy up previous delta.

22 years agomdoc(7) police: tidy up previous delta.
Ruslan Ermilov [Wed, 9 Jan 2002 15:22:30 +0000 (15:22 +0000)]
mdoc(7) police: tidy up previous delta.

22 years agomdoc(7) police:
Ruslan Ermilov [Wed, 9 Jan 2002 15:10:31 +0000 (15:10 +0000)]
mdoc(7) police:

Restore (sorta) a useful piece of information that got lost in the
previous delta -- an ability to specify /prefixlength after an IPv6
address.

22 years agoDocument behaviour with respect to interval timers.
Sheldon Hearn [Wed, 9 Jan 2002 14:44:06 +0000 (14:44 +0000)]
Document behaviour with respect to interval timers.

PR: 33156
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

22 years agomdoc(7) police: add missing markup bits for ``errno''.
Ruslan Ermilov [Wed, 9 Jan 2002 14:03:54 +0000 (14:03 +0000)]
mdoc(7) police: add missing markup bits for ``errno''.

22 years agomdoc(7) police:
Ruslan Ermilov [Wed, 9 Jan 2002 14:01:22 +0000 (14:01 +0000)]
mdoc(7) police:

Stop abusing the .%J macro for where the .Pa macro should have been used.

22 years agoUpdate the country code list.
Nik Clayton [Wed, 9 Jan 2002 13:46:58 +0000 (13:46 +0000)]
Update the country code list.

PR: docs/27027
Submitted by: Steve Coltrin <spcoltri@omcl.org>

22 years agoFrom the PR:
Nik Clayton [Wed, 9 Jan 2002 13:43:31 +0000 (13:43 +0000)]
From the PR:

        1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet
        they are not documented in any of the manpages.

        2. The ctype manpage references a non-existent manpage for
        digittoint().

        3. The isascii() manpage claims it is standards compliant, when
        it isn't.

        4. isblank() claims it is _not_ standards compliant, when it
        is.

Fix by including the appropriate .Nm entries, and with a new digittoint.3
page.

PR: docs/26451
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>

22 years agoMake the -a flag to opiekey(1) actually work as advertised.
Joerg Wunsch [Wed, 9 Jan 2002 13:36:26 +0000 (13:36 +0000)]
Make the -a flag to opiekey(1) actually work as advertised.

Reviewed by: ache, audit, security
MFC after: 1 week

22 years agomdoc(7) police: tidy up.
Ruslan Ermilov [Wed, 9 Jan 2002 13:29:39 +0000 (13:29 +0000)]
mdoc(7) police: tidy up.

22 years agoNote that kern.sugid_coredump must be 1 to generate a core from processes
Nik Clayton [Wed, 9 Jan 2002 13:16:26 +0000 (13:16 +0000)]
Note that kern.sugid_coredump must be 1 to generate a core from processes
that change their credentials.

PR: docs/21712
Submitted by: Peter Philipp <pjp@click2net.com>

22 years agoFix the rxvt termcap entry:
Jacques Vidrine [Wed, 9 Jan 2002 13:13:51 +0000 (13:13 +0000)]
Fix the rxvt termcap entry:
  = Get the alternate character set capabilities right.
  = Enable color support for `rxvt'.
  = Add `rxvt-mono' for no color support.

Approved by: ache

22 years agoFix typo, and add some additional description to the i8254 and TSC.
Nik Clayton [Wed, 9 Jan 2002 13:10:18 +0000 (13:10 +0000)]
Fix typo, and add some additional description to the i8254 and TSC.

PR: docs/20738
Submitted by: Tan Koan-Sin <freedom@csie.nctu.edu.tw>

22 years agoAdd entries for DEC VT520 and VT525.
Sheldon Hearn [Wed, 9 Jan 2002 13:00:20 +0000 (13:00 +0000)]
Add entries for DEC VT520 and VT525.

PR: misc/33083
Submitted by: Ted Mittelstaedt <tedm@toybox.placo.com>
Obtained from: ftp://gatekeeper.dec.com/pub/DEC/termcaps/

22 years agoispell sweep of share/man/man7/*.
Mike Pritchard [Wed, 9 Jan 2002 12:34:01 +0000 (12:34 +0000)]
ispell sweep of share/man/man7/*.

22 years agoUse KMODDEPS to document module dependencies on libiconv and
Sheldon Hearn [Wed, 9 Jan 2002 11:45:58 +0000 (11:45 +0000)]
Use KMODDEPS to document module dependencies on libiconv and
libmchain.

KMODDEPS seems to be a no-op in HEAD, but is required in RELENG_4,
where MODULE_DEPEND seems to be a no-op.

Therefore, this change is harmless in -CURRENT, but will fix the
dependencies when merged to RELENG_4, where they are currently not
registered!

PR: kern/33625
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>

22 years agoispell sweep of share/man/man9/*.
Mike Pritchard [Wed, 9 Jan 2002 11:43:48 +0000 (11:43 +0000)]
ispell sweep of share/man/man9/*.

22 years agoFairly major cleanup of the text.
Chad David [Wed, 9 Jan 2002 08:42:43 +0000 (08:42 +0000)]
Fairly major cleanup of the text.

PR: docs/32241

22 years agoReplace spaces after #defines with tabs; this makes all #defines
Kelly Yancey [Wed, 9 Jan 2002 07:29:28 +0000 (07:29 +0000)]
Replace spaces after #defines with tabs; this makes all #defines
consistent in their adherence with style(9).

22 years ago o Correct a 32/64-bit error in the initialization of aiol_zone, specifically,
Alan Cox [Wed, 9 Jan 2002 06:40:45 +0000 (06:40 +0000)]
 o Correct a 32/64-bit error in the initialization of aiol_zone, specifically,
   sizeof(int) is not the size of a pointer.

22 years agoAdd a new sysinit SI_SUB_DEVFS. Devfs hooks into the kernel at SI_ORDER_FIRST,
Mike Smith [Wed, 9 Jan 2002 04:58:49 +0000 (04:58 +0000)]
Add a new sysinit SI_SUB_DEVFS.  Devfs hooks into the kernel at SI_ORDER_FIRST,
and devices can be created anytime after that.

Print a warning if an atttempt is made to create a device too early.

22 years agoGC fast_vfork; it's not actually referenced anywhere.
Mike Silbersack [Wed, 9 Jan 2002 04:51:21 +0000 (04:51 +0000)]
GC fast_vfork; it's not actually referenced anywhere.

MFC after: 3 weeks

22 years agoMove the make_dev call from the cn_probe to a sysinit that runs at
Jake Burkholder [Wed, 9 Jan 2002 04:03:55 +0000 (04:03 +0000)]
Move the make_dev call from the cn_probe to a sysinit that runs at
SI_SUB_DRIVERS.  cnprobe is too early.

22 years agoDefine the kern.cam sysctl in the cam layer, rather than multiply in several
Mike Smith [Wed, 9 Jan 2002 03:39:04 +0000 (03:39 +0000)]
Define the kern.cam sysctl in the cam layer, rather than multiply in several
peripheral drivers.  Remove Ken's comment to the effect that this needed
to be done.

Staticise camnet_ih and cambio_ih.

22 years agoStaticise a debugging variable.
Mike Smith [Wed, 9 Jan 2002 03:37:16 +0000 (03:37 +0000)]
Staticise a debugging variable.

Submitted by: non

22 years agoStaticise the aac devclass.
Mike Smith [Wed, 9 Jan 2002 03:32:40 +0000 (03:32 +0000)]
Staticise the aac devclass.

22 years agoholdsock is gone, remove the prototype
Alfred Perlstein [Wed, 9 Jan 2002 03:08:47 +0000 (03:08 +0000)]
holdsock is gone, remove the prototype

22 years agoSockets are called 'so' not 'sp'.
Alfred Perlstein [Wed, 9 Jan 2002 02:47:00 +0000 (02:47 +0000)]
Sockets are called 'so' not 'sp'.

22 years agoRevert 1.81; 1.19 fixed this already in a different way.
Mike Silbersack [Wed, 9 Jan 2002 01:45:17 +0000 (01:45 +0000)]
Revert 1.81; 1.19 fixed this already in a different way.

22 years agoMerge the changes in the English version (1.250 --> 1.251).
Jun Kuriyama [Wed, 9 Jan 2002 01:37:56 +0000 (01:37 +0000)]
Merge the changes in the English version (1.250 --> 1.251).

22 years agoUse a sysinit to initialise the devfs hooks in kern_conf.c rather than common
Mike Smith [Wed, 9 Jan 2002 01:00:20 +0000 (01:00 +0000)]
Use a sysinit to initialise the devfs hooks in kern_conf.c rather than common
variables.

Reviewed by: phk (in principle)

22 years agoAdd a commented-out alternative for the ether line of a DIGITIAL
Joerg Wunsch [Tue, 8 Jan 2002 22:32:00 +0000 (22:32 +0000)]
Add a commented-out alternative for the ether line of a DIGITIAL
DEPCM-BA card, as found on my rev. C01 card.

MFC after: 1 week

22 years agoAdd quirk for DIVA USB Mp3 Player.
Maxim Sobolev [Tue, 8 Jan 2002 21:07:46 +0000 (21:07 +0000)]
Add quirk for DIVA USB Mp3 Player.

PR: kern/33638
Submitted by: Olexander Kunytsa <kunia@x-telecom.net>
MFC after: 3 days
(pending re's approval)

22 years agoRegenerate from 1.26 pccarddevs
Warner Losh [Tue, 8 Jan 2002 20:52:57 +0000 (20:52 +0000)]
Regenerate from 1.26 pccarddevs

22 years agoCatch up to NetBSD:
Warner Losh [Tue, 8 Jan 2002 20:52:23 +0000 (20:52 +0000)]
Catch up to NetBSD:
1.156 pooka; Socket Low-Power CF WLAN
1.155 ichiro; IBM Smart Capture Card II
1.152-154 ichiro; Fujitsu CF EtherCard and FMV-181,182,182A
1.151 christos; Symbol Spectrum24

22 years ago- generic Arcnet framework
Max Khon [Tue, 8 Jan 2002 20:03:13 +0000 (20:03 +0000)]
- generic Arcnet framework
- device driver for SMC COM90cx6 Arcnet network adapters

Obtained from: NetBSD

22 years agoNew release notes: syslogd(8) -c, less 371.
Bruce A. Mah [Tue, 8 Jan 2002 19:59:54 +0000 (19:59 +0000)]
New release notes:  syslogd(8) -c, less 371.

22 years agoRename some variables that end up shadowing their namesakes in the NFS client
Mike Smith [Tue, 8 Jan 2002 19:41:06 +0000 (19:41 +0000)]
Rename some variables that end up shadowing their namesakes in the NFS client
code.

Reviewed by: peter

22 years agoStaticise a couple of debugging variables.
Mike Smith [Tue, 8 Jan 2002 19:37:12 +0000 (19:37 +0000)]
Staticise a couple of debugging variables.

22 years agoRename a variable that might accidentally be duplicated elsewhere.
Mike Smith [Tue, 8 Jan 2002 19:36:54 +0000 (19:36 +0000)]
Rename a variable that might accidentally be duplicated elsewhere.

22 years agoAvoid doubly defining machdep.pccard
Mike Smith [Tue, 8 Jan 2002 19:35:27 +0000 (19:35 +0000)]
Avoid doubly defining machdep.pccard

22 years agoStaticise the coda vfsop pointer.
Mike Smith [Tue, 8 Jan 2002 19:33:51 +0000 (19:33 +0000)]
Staticise the coda vfsop pointer.

22 years agoInitialise the bioops vector hack at runtime rather than at link time. This
Mike Smith [Tue, 8 Jan 2002 19:32:18 +0000 (19:32 +0000)]
Initialise the bioops vector hack at runtime rather than at link time.  This
avoids the use of common variables.

Reviewed by: mckusick

22 years agofind_devclass -> devclass_find.
Mike Smith [Tue, 8 Jan 2002 19:14:59 +0000 (19:14 +0000)]
find_devclass -> devclass_find.

22 years agoAdd forgotten alias for ru_SU.ISO8859-5
Andrey A. Chernov [Tue, 8 Jan 2002 19:07:03 +0000 (19:07 +0000)]
Add forgotten alias for ru_SU.ISO8859-5

22 years agoRevert change that breaks the joy module. joydevclass must not be static.
Warner Losh [Tue, 8 Jan 2002 18:27:49 +0000 (18:27 +0000)]
Revert change that breaks the joy module.  joydevclass must not be static.

22 years agoFix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On the
John Baldwin [Tue, 8 Jan 2002 18:05:03 +0000 (18:05 +0000)]
Fix some 32/64-bit bugs.  IPv4 addresses are 32-bits, not longs.  On the
alpha these bugs didn't cause any problems because it was little endian,
but on sparc64, we ended up with garbage for the IP address when we tried
to contact the server.  (Usually 3.253.0.0)

Not objected to by: wpaul

22 years agoAdd ru_SU locale aliases for nls area also
Alexey Zelkin [Tue, 8 Jan 2002 17:23:03 +0000 (17:23 +0000)]
Add ru_SU locale aliases for nls area also

22 years agoMerge the changes in the English version (1.248 --> 1.250).
Jun Kuriyama [Tue, 8 Jan 2002 17:18:22 +0000 (17:18 +0000)]
Merge the changes in the English version (1.248 --> 1.250).

22 years ago(null delta)
Sheldon Hearn [Tue, 8 Jan 2002 16:41:15 +0000 (16:41 +0000)]
(null delta)

The previous delta was taken from:

PR: bin/33070

22 years agoAdd upa.h, which I had previously forgotten, to unbreak the sparc64
Thomas Moestl [Tue, 8 Jan 2002 16:25:51 +0000 (16:25 +0000)]
Add upa.h, which I had previously forgotten, to unbreak the sparc64
kernel build.

Pointy hat to: tmm

22 years agoActually make aliases for ru_SU locales.
Alexey Zelkin [Tue, 8 Jan 2002 15:30:56 +0000 (15:30 +0000)]
Actually make aliases for ru_SU locales.

22 years agoAdd ro_RO
Andrey A. Chernov [Tue, 8 Jan 2002 15:20:13 +0000 (15:20 +0000)]
Add ro_RO

PR: 33343
Submitted by: Adrian Penisoara <ady@warpnet.ro>

22 years agoAdd ro_RO
Andrey A. Chernov [Tue, 8 Jan 2002 15:06:42 +0000 (15:06 +0000)]
Add ro_RO

PR: 33343
Submitted by: Adrian Penisoara <ady@warpnet.ro>

22 years agoISO 8859-1 -> ISO 8859-5 for ru_*
Andrey A. Chernov [Tue, 8 Jan 2002 15:01:48 +0000 (15:01 +0000)]
ISO 8859-1 -> ISO 8859-5 for ru_*

22 years agoCorrectly handle cases of deprecated locales which are supposed
Alexey Zelkin [Tue, 8 Jan 2002 13:42:52 +0000 (13:42 +0000)]
Correctly handle cases of deprecated locales which are supposed
to have backward compatibility symbolic links.

This code should check existence of deprecated locales and
fix them using following scheme:

. if new locale directory exisists and is a symlink -- remove it
. if old locale directory exists and not a symlink -- rename it to
  its new name

This should allow to mtree(1) and existing locale aliases make(1)
rules to setup locale dirs correctly (avoid self-referenced symlinks)

BTW, this commit brings in backward compatibility support for ru_SU
locales (aliased to appropriate ru_RU ones).

22 years agoWhen authenticating a name containing a ``\'', attempt to autenticate
Brian Somers [Tue, 8 Jan 2002 11:24:39 +0000 (11:24 +0000)]
When authenticating a name containing a ``\'', attempt to autenticate
using the part after the ``\'' if the original name is not found.

This allows M$ clients to use domain\user as their authname.

Reviewed by: Ian West <ian@niw.com.au>

22 years agoStaticise pfs_vncache, it's not used anywhere else.
Mike Smith [Tue, 8 Jan 2002 11:15:57 +0000 (11:15 +0000)]
Staticise pfs_vncache, it's not used anywhere else.

Reviewed by: des

22 years agoReplace -I${.OBJDIR} with -I. and split the CFLAGS line up into two lines.
John Baldwin [Tue, 8 Jan 2002 11:08:20 +0000 (11:08 +0000)]
Replace -I${.OBJDIR} with -I. and split the CFLAGS line up into two lines.

Requested by: bde

22 years agoInitialise the intrq_present fields at runtime, not link time. This allows
Mike Smith [Tue, 8 Jan 2002 10:34:03 +0000 (10:34 +0000)]
Initialise the intrq_present fields at runtime, not link time.  This allows
us to load protocols at runtime, and avoids the use of common variables.

Also fix the ip6_intrq assignment so that it works at all.

22 years agoStaticise a couple of things that shouldn't be leaked into the
Josef Karthauser [Tue, 8 Jan 2002 10:32:33 +0000 (10:32 +0000)]
Staticise a couple of things that shouldn't be leaked into the
kernel namespace.

Submitted by: msmith

22 years agoStaticise the fw chain.
Mike Smith [Tue, 8 Jan 2002 10:30:55 +0000 (10:30 +0000)]
Staticise the fw chain.

22 years agoStaticise the socket list.
Mike Smith [Tue, 8 Jan 2002 10:30:34 +0000 (10:30 +0000)]
Staticise the socket list.

22 years agoStaticise private interface lists.
Mike Smith [Tue, 8 Jan 2002 10:30:09 +0000 (10:30 +0000)]
Staticise private interface lists.

22 years agoGut this header; since physio_proc_init is never called, the code never does
Mike Smith [Tue, 8 Jan 2002 10:26:44 +0000 (10:26 +0000)]
Gut this header; since physio_proc_init is never called, the code never does
anything more than multiply declare some unused variables.

22 years agoStaticise the flash buffer, since it isn't needed anywhere else.
Mike Smith [Tue, 8 Jan 2002 10:25:12 +0000 (10:25 +0000)]
Staticise the flash buffer, since it isn't needed anywhere else.

22 years agoStaticise the con_bios and digi_devclass variables, since they aren't needed
Mike Smith [Tue, 8 Jan 2002 10:24:34 +0000 (10:24 +0000)]
Staticise the con_bios and digi_devclass variables, since they aren't needed
by anything else.

22 years agoRemove gcc specific compiler flags, at least one of which doesn't work with
John Baldwin [Tue, 8 Jan 2002 08:53:12 +0000 (08:53 +0000)]
Remove gcc specific compiler flags, at least one of which doesn't work with
gcc 3.0.2.  (-fstrict-prototypes)

22 years agoUse -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
John Baldwin [Tue, 8 Jan 2002 08:13:23 +0000 (08:13 +0000)]
Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
cross-build environment.

22 years agoStaticise the device node pointers.
Mike Smith [Tue, 8 Jan 2002 06:50:17 +0000 (06:50 +0000)]
Staticise the device node pointers.

22 years agoStaticise the joy devclass.
Mike Smith [Tue, 8 Jan 2002 06:49:06 +0000 (06:49 +0000)]
Staticise the joy devclass.

22 years agoFix a couple of bogus enums.
Mike Smith [Tue, 8 Jan 2002 06:47:55 +0000 (06:47 +0000)]
Fix a couple of bogus enums.

22 years agoStaticise the amr devclass.
Mike Smith [Tue, 8 Jan 2002 06:47:02 +0000 (06:47 +0000)]
Staticise the amr devclass.

22 years agoStaticise devclasses and some unnecessarily global variables.
Mike Smith [Tue, 8 Jan 2002 06:46:01 +0000 (06:46 +0000)]
Staticise devclasses and some unnecessarily global variables.

22 years agoConnect smp support to the kernel build.
Jake Burkholder [Tue, 8 Jan 2002 05:55:46 +0000 (05:55 +0000)]
Connect smp support to the kernel build.

22 years agoCatch up to the latest and greatest.
Jake Burkholder [Tue, 8 Jan 2002 05:53:31 +0000 (05:53 +0000)]
Catch up to the latest and greatest.

22 years agoAdd initial smp support. This gets as far as allowing the secondary
Jake Burkholder [Tue, 8 Jan 2002 05:50:26 +0000 (05:50 +0000)]
Add initial smp support.  This gets as far as allowing the secondary
cpu(s) into the kernel, and sync-ing them up to "kernel" mode so we can
send them ipis, which also work.

Thanks to John Baldwin for providing me with access to the hardware
that made this possible.

Parts obtained from: bsd/os

22 years agoSetup the normal global pcb register as well on entry from user land.
Jake Burkholder [Tue, 8 Jan 2002 05:37:52 +0000 (05:37 +0000)]
Setup the normal global pcb register as well on entry from user land.
Call critical_enter/critical_exit around (fast) interrupt handlers.  All
non-threaded interrupts are fast, and the threaded interrupt scheduler is
itself a fast interrupt.
Assert that an interrupt handler we are about to call is non-zero.
Be paranoid about restoring the users global registers.  Do it as the
last thing before switching to alternate globals (when we magically get
our preloaded registers back), and do it with interrupts disabled.  Any
kind of kernel trap when the globals are not setup properly is bad news.
Don't save and restore the kernel g6, it invariably points to the current
pcb now.

22 years agoAdapt the vectored interrupt handler for receiving ipis. If the second
Jake Burkholder [Tue, 8 Jan 2002 05:27:13 +0000 (05:27 +0000)]
Adapt the vectored interrupt handler for receiving ipis.  If the second
data word in an interrupt packet is non-zero, it points to code to execute
to handle the ipi, so jump to it instead of enqueueing the packet.  It
is unclear if we will need queued ipis.
Interrupt g7 now points to pcpu, instead of to the per-cpu interrupt queue
itself, so use that instead.  Interrupt g6 is no longer reserved.

22 years agoUse the per-cpu panic stack in the case of a fault with a bad kernel
Jake Burkholder [Tue, 8 Jan 2002 05:20:40 +0000 (05:20 +0000)]
Use the per-cpu panic stack in the case of a fault with a bad kernel
stack.

22 years agoRemove ATOMIC_INC_INT macro which has moved elsewhere.
Jake Burkholder [Tue, 8 Jan 2002 05:17:28 +0000 (05:17 +0000)]
Remove ATOMIC_INC_INT macro which has moved elsewhere.

22 years agoCatch up to change in compile time assertion interface.
Jake Burkholder [Tue, 8 Jan 2002 05:15:31 +0000 (05:15 +0000)]
Catch up to change in compile time assertion interface.

22 years agoMake this code more robust in the event of stray interrupts. Handle
Jake Burkholder [Tue, 8 Jan 2002 05:13:29 +0000 (05:13 +0000)]
Make this code more robust in the event of stray interrupts.  Handle
stray level interrupts as well.

22 years agoUse cpufunc macros instead of using inline asm directly.
Jake Burkholder [Tue, 8 Jan 2002 05:10:58 +0000 (05:10 +0000)]
Use cpufunc macros instead of using inline asm directly.

22 years agoSet the normal global pcb register when context switching.
Jake Burkholder [Tue, 8 Jan 2002 05:10:07 +0000 (05:10 +0000)]
Set the normal global pcb register when context switching.

22 years agoAdd a macro for getting the tlbs (itlb and/or dtlb) which the given
Jake Burkholder [Tue, 8 Jan 2002 05:07:58 +0000 (05:07 +0000)]
Add a macro for getting the tlbs (itlb and/or dtlb) which the given
tte may be mapped by.

22 years agoPrototype pmap_map_tsb().
Jake Burkholder [Tue, 8 Jan 2002 05:06:39 +0000 (05:06 +0000)]
Prototype pmap_map_tsb().

22 years agoRemove PANIC_STACK_PAGES which is no longer used.
Jake Burkholder [Tue, 8 Jan 2002 05:05:42 +0000 (05:05 +0000)]
Remove PANIC_STACK_PAGES which is no longer used.
Redefine the compile time assertion macro to take one parameter.

22 years agoAdd declarations needed by last commit.
Jake Burkholder [Tue, 8 Jan 2002 05:03:36 +0000 (05:03 +0000)]
Add declarations needed by last commit.

22 years agoUpdate comments about _start, the kernel entry point, to reflect new
Jake Burkholder [Tue, 8 Jan 2002 05:02:13 +0000 (05:02 +0000)]
Update comments about _start, the kernel entry point, to reflect new
parameters needed for smp support.
If we are not the boot processor, jump to the smp startup code instead.
Implement a per-cpu panic stack, which is used for bootstrapping both
primary and secondary processors and during faults on the kernel stack.
Arrange the per-cpu page like the pcb, with the struct pcpu at the end
of the page and the panic stack before it.
Use the boot processor's panic stack for calling sparc64_init.
Split the code to set preloaded global registers and to map the kernel
tsb out into functions, which non-boot processors can call.
Allocate the kstack for thread0 dynamically in pmap_bootstrap, and give
it a guard page too.

22 years agoFix qsort callouts used for sorting memory regions during boot. vm_offset_t
Jake Burkholder [Tue, 8 Jan 2002 04:43:04 +0000 (04:43 +0000)]
Fix qsort callouts used for sorting memory regions during boot.  vm_offset_t
is unsigned, so we can't use signed arithmetic.

Tripped over by: jhb

22 years agoAdd a md field to pcpu for the upa module id.
Jake Burkholder [Tue, 8 Jan 2002 04:40:13 +0000 (04:40 +0000)]
Add a md field to pcpu for the upa module id.
Remove the alt_stack field.
Use the defines for the register variables declared in C, so that they
don't get out of sync with the assembler.

22 years agoDefine CKLF_PC in terms of TRAPF_PC.
Jake Burkholder [Tue, 8 Jan 2002 04:36:53 +0000 (04:36 +0000)]
Define CKLF_PC in terms of TRAPF_PC.

22 years agoAdd a mov() macro, which is used in conjunction with the register defines
Jake Burkholder [Tue, 8 Jan 2002 04:36:01 +0000 (04:36 +0000)]
Add a mov() macro, which is used in conjunction with the register defines
for setting reserved global registers from c.

22 years agoUpdate comments and defines to reflect that normal and alternate g6 point
Jake Burkholder [Tue, 8 Jan 2002 04:34:20 +0000 (04:34 +0000)]
Update comments and defines to reflect that normal and alternate g6 point
to the current pcb.
Remove interrupt global defines; they use PCPU_REG now.
Move ATOMIC_INC_INT here from exception.s, add ATOMIC_DEC_INT.
Add a KASSERT macro for use in assembler.

22 years agoAdd asis for the upa config reg, which contains the hardware cpu id, and
Jake Burkholder [Tue, 8 Jan 2002 04:29:50 +0000 (04:29 +0000)]
Add asis for the upa config reg, which contains the hardware cpu id, and
for the interrupt send register, which is used for dispatching ipis.

22 years agoPopulate etc.sparc64:
John Baldwin [Mon, 7 Jan 2002 23:53:34 +0000 (23:53 +0000)]
Populate etc.sparc64:
 - The disktab was taken from etc.alpha.
 - rc.sparc64 doesn't do anything right now.
 - The ttys file has all the vty's commented out since we don't know how
   those will work yet.  Also, an entry is added for the Openfirmware
   console device.

Submitted by: jake (partially)

22 years agoCorrect phrase 'get an ACL' to 'set an ACL'.
Chris D. Faulhaber [Mon, 7 Jan 2002 22:46:14 +0000 (22:46 +0000)]
Correct phrase 'get an ACL' to 'set an ACL'.

PR: 33660
Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>

22 years agoNew release note: kernel/mfsroot split on installation CDs,
Bruce A. Mah [Mon, 7 Jan 2002 22:22:35 +0000 (22:22 +0000)]
New release note:  kernel/mfsroot split on installation CDs,
permitting the use of full kernels on CD installs.

MFC noted:  New sysinstall Auto settings and Recover space from
deleted autosize partitions.

22 years agoUpdate for less v371
Paul Saab [Mon, 7 Jan 2002 20:37:33 +0000 (20:37 +0000)]
Update for less v371