]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoWeed out those pccard entries that match everything. These are too
imp [Tue, 20 Nov 2001 06:15:24 +0000 (06:15 +0000)]
Weed out those pccard entries that match everything.  These are too
dangerous to allow :-)

This should fix the ed1: <PLANEX ... bug.

22 years agoSince buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
gshapiro [Tue, 20 Nov 2001 03:41:05 +0000 (03:41 +0000)]
Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
installworld should install them.

PR: 29928
Submitted by: wollman
MFC after: 3 days

22 years agoHandle the sendmail_outbound_enable knob in the start target.
gshapiro [Tue, 20 Nov 2001 03:31:54 +0000 (03:31 +0000)]
Handle the sendmail_outbound_enable knob in the start target.

PR: 32033
MFC after: 3 days

22 years agoMake this a bit closer to a true tradition by adding one more committer.
max [Tue, 20 Nov 2001 01:49:11 +0000 (01:49 +0000)]
Make this a bit closer to a true tradition by adding one more committer.

22 years agoUse a local write_mfs_in_kernel.c instead of the one in ncvs/src/release
joe [Tue, 20 Nov 2001 01:00:52 +0000 (01:00 +0000)]
Use a local write_mfs_in_kernel.c instead of the one in ncvs/src/release
which is likely to be removed shortly, after repo-copying it from
there.

22 years agoDisabled tagged commands for Hitachi Jura-C series with J8A8 firmware.
dg [Mon, 19 Nov 2001 23:23:28 +0000 (23:23 +0000)]
Disabled tagged commands for Hitachi Jura-C series with J8A8 firmware.

PR: 23536
Submitted by: amagai@nue.org

22 years agoReference lomac in its new location.
green [Mon, 19 Nov 2001 22:36:40 +0000 (22:36 +0000)]
Reference lomac in its new location.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r86629,
green [Mon, 19 Nov 2001 22:34:06 +0000 (22:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r86629,
which included commits to RCS files with non-trunk default branches.

22 years agoImport LOMAC preliminary release 2.0.0 in src/sys/security. These files may
green [Mon, 19 Nov 2001 22:34:06 +0000 (22:34 +0000)]
Import LOMAC preliminary release 2.0.0 in src/sys/security.  These files may
be modified and do not have to remain on the vendor branch.

http://opensource.nailabs.com/lomac/index.html

Sponsored by: DARPA, NAI Labs (CBOSS project)

22 years agoEliminate another instance of the old and well-known
yar [Mon, 19 Nov 2001 21:52:03 +0000 (21:52 +0000)]
Eliminate another instance of the old and well-known
DoS bug that the select(2)/accept(2) pair is called on
a socket that is in the blocking I/O mode.  The bug is
triggered if a selected connection dies before the accept(2)
leading to the accept(2) blocking virtually forever.

MFC after: 1 week

22 years agoUse modules-depend instead of kernel-depend for doing the depend stage
jhb [Mon, 19 Nov 2001 21:42:08 +0000 (21:42 +0000)]
Use modules-depend instead of kernel-depend for doing the depend stage
in doMODULES.

22 years agoSplit the mfsroot out from the kernel for the 2.88 boot floppy and the
jhb [Mon, 19 Nov 2001 21:27:00 +0000 (21:27 +0000)]
Split the mfsroot out from the kernel for the 2.88 boot floppy and the
Alpha CD.  This makes it easier to customize ISO's locally by being able
to replace either the mfsroot or the kernel w/o having to do both.  It also
allows us to switch to using the full GENERIC kernel when booting from CD
on the Alpha and on x86 when using cdboot.  We don't do this yet, however.

Tested on: x86, alpha

22 years agoo Cleanup of includes: user.h may be a catch-all, but that's not
rwatson [Mon, 19 Nov 2001 21:14:50 +0000 (21:14 +0000)]
o Cleanup of includes: user.h may be a catch-all, but that's not
  entirely desirable.  Back out previous commit, and clean up includes
  to be more minimal.

Submitted by: bde

22 years agoBack out revision 1.117; the correct solution is to upgrade the
iedowse [Mon, 19 Nov 2001 20:50:44 +0000 (20:50 +0000)]
Back out revision 1.117; the correct solution is to upgrade the
firmware on the drive in question. The pattern also matched far
too many Hitachi drives.

Spotted by: dg

22 years agoFix style bugs I found, and add a comment.
knu [Mon, 19 Nov 2001 20:39:24 +0000 (20:39 +0000)]
Fix style bugs I found, and add a comment.

22 years agoThe "lomac" module compiles fine on Alpha, too.
green [Mon, 19 Nov 2001 20:25:55 +0000 (20:25 +0000)]
The "lomac" module compiles fine on Alpha, too.

Tested by: wilko

22 years agoOther committers do not mention their personal names and/or email
keramida [Mon, 19 Nov 2001 20:17:19 +0000 (20:17 +0000)]
Other committers do not mention their personal names and/or email
addresses when adding stuff, so it seems fair to stop ``getting all
the fame'' by having my name displayed on login sessions.

Approved by: nik

22 years agoOops sorry, forgot to add a #include.
knu [Mon, 19 Nov 2001 20:15:10 +0000 (20:15 +0000)]
Oops sorry, forgot to add a #include.

22 years ago- Do not reference argv[1] if no argument is given.
knu [Mon, 19 Nov 2001 19:57:45 +0000 (19:57 +0000)]
- Do not reference argv[1] if no argument is given.

Reported by: brian

- Call error() instead of errx() if compiled as sh(1) builtin.

22 years agoIn the "UseLogin yes" case we need env to be NULL to make sure it
dwmalone [Mon, 19 Nov 2001 19:40:14 +0000 (19:40 +0000)]
In the "UseLogin yes" case we need env to be NULL to make sure it
will be correctly initialised.

PR: 32065
Tested by: The Anarcat <anarcat@anarcat.dyndns.org>
MFC after: 3 days

22 years agoSupport MELCO LUA2-TX USB ethernet adaptor.
sumikawa [Mon, 19 Nov 2001 18:47:49 +0000 (18:47 +0000)]
Support MELCO LUA2-TX USB ethernet adaptor.
Actually this porting supports Pegasus II chip so I guess some other
devices supported by NetBSD also work.  But the devices list are not
included because I cannot confirm if they work.

Obtained from: NetBSD
MFC after: 3 weeks

22 years agoRegen.
sumikawa [Mon, 19 Nov 2001 18:41:35 +0000 (18:41 +0000)]
Regen.

22 years agoAdd Melco LUA2-TX5.
sumikawa [Mon, 19 Nov 2001 18:40:17 +0000 (18:40 +0000)]
Add Melco LUA2-TX5.

22 years agoAdd module "lomac" to the modules Makefile, i386 section. If someone on
green [Mon, 19 Nov 2001 18:15:12 +0000 (18:15 +0000)]
Add module "lomac" to the modules Makefile, i386 section.  If someone on
Alpha can verify that it compiles fine there, too, this should be moved
to the MI section (or that problem fixed); I've only had x86 hardware to
est with.

Sponsored by: DARPA, NAI Labs (CBOSS project)

22 years agoDepend on vnode_if.h.
green [Mon, 19 Nov 2001 18:12:46 +0000 (18:12 +0000)]
Depend on vnode_if.h.

22 years agoUse appropriaate include path for syscall_gate.h
green [Mon, 19 Nov 2001 18:12:12 +0000 (18:12 +0000)]
Use appropriaate include path for syscall_gate.h

22 years agoCull picobsd/custom. It's bit rotted beyond all recognition.
joe [Mon, 19 Nov 2001 18:04:04 +0000 (18:04 +0000)]
Cull picobsd/custom.  It's bit rotted beyond all recognition.

Approved by: freebsd-small

22 years agoAdd the CVS knob so it may be overridden (or have options added).
obrien [Mon, 19 Nov 2001 17:43:29 +0000 (17:43 +0000)]
Add the CVS knob so it may be overridden (or have options added).

Submitted by: Andrea Campi <andrea@webcom.it>

22 years agoUpper case the FreeBSD loader prompt.
obrien [Mon, 19 Nov 2001 17:30:26 +0000 (17:30 +0000)]
Upper case the FreeBSD loader prompt.
On OFW based machines, it is just too confusing having the firmware and
OS loader giving the same prompt.  This is a nice compromise that 99% of the
users on non-OFW platforms will probably not even notice.

22 years agoDeal with a few issues that cropped up following the recent changes
iedowse [Mon, 19 Nov 2001 15:43:50 +0000 (15:43 +0000)]
Deal with a few issues that cropped up following the recent changes
to the code for translating socket and private ioctls:

- Only perform socket ioctl translation if the file descriptor is a
  socket.
- Treat socket ioctls on non-sockets specially, and for now assume
  that these are directed at a tap/vmnet device, so translate the
  ioctl numbers as appropriate (the way if_tap abuses some socket
  ioctls to pass non-ifreq data is utterly bogus, but this is how
  VMware on FreeBSD has always "worked"; I will deal with this
  later).
- Add (untested) support for translating SIOCSIFADDR.
- In all cases where we fail to translate an ioctl, return ENOIOCTL
  so that other handlers have a chance to do the translation.

This should fix the "/dev/vmnet1: Invalid argument" errors that
users of VMware were experiencing, though I have only verified this
on RELENG_4.

Submitted by: des (mostly)
MFC after: 3 days

22 years ago#include <sys/user.h> rather than individually including a plethora
rwatson [Mon, 19 Nov 2001 15:26:36 +0000 (15:26 +0000)]
#include <sys/user.h> rather than individually including a plethora
of kernel include files, reducing the replication of kernel include
dependency information in userland.

Obtained from: TrustedBSD Project

22 years agoAdd fsck tool for UFS to /stand tools (again).
matusita [Mon, 19 Nov 2001 14:43:29 +0000 (14:43 +0000)]
Add fsck tool for UFS to /stand tools (again).

Actually src/release/i386/boot_crunch.conf rev 1.45 does this change,
but unfortunately there is no src/sbin/fsck_4.2bsd directory, but
src/sbin/fsck_ffs.

This commit replaces 'fsck_4.2bsd' to 'fsck_ffs', and add a link to
'fsck_4.2bsd' and 'fsck_ufs'.  Note that 4-stable's fsck(8) have an
ability of fsck_ffs also, there is no need to MFC at least now.

Tested only for: i386 (but I believe this doesn't break for other archs)

22 years agoClose files only if the fp is != NULL.
hm [Mon, 19 Nov 2001 14:19:21 +0000 (14:19 +0000)]
Close files only if the fp is != NULL.
PR: bin/31913
Submitted by: Harald Hanche-Olsen <hanche@math.ntnu.no>
Reviewed by: hm
MFC after: 1 week

22 years agoUse shell functions for printing hex instead of printf(1) so that
sheldonh [Mon, 19 Nov 2001 11:41:51 +0000 (11:41 +0000)]
Use shell functions for printing hex instead of printf(1) so that
printf(1) can be dropped from the system shell as a shell builtin.

22 years agoApply README style guidelines (this time checked).
ru [Mon, 19 Nov 2001 10:10:27 +0000 (10:10 +0000)]
Apply README style guidelines (this time checked).

22 years agoMake kevents on pipes work as described in the manpage - when the last
sobomax [Mon, 19 Nov 2001 09:25:30 +0000 (09:25 +0000)]
Make kevents on pipes work as described in the manpage - when the last
reader/writer disconnects, ensure that anybody who is waiting for the
kevent on the other end of the pipe gets EV_EOF.

MFC after: 2 weeks

22 years agoFix two minor grammar mistakes.
murray [Mon, 19 Nov 2001 09:01:43 +0000 (09:01 +0000)]
Fix two minor grammar mistakes.

PR:           docs/32083
Submitted by: setantae@submonkey.net

22 years agoAdd a missing word to form a complete sentence.
murray [Mon, 19 Nov 2001 08:35:59 +0000 (08:35 +0000)]
Add a missing word to form a complete sentence.

PR:           docs/32084
Submitted by: setantae@submonkey.net

22 years agoRemove a duplicate word.
murray [Mon, 19 Nov 2001 08:20:24 +0000 (08:20 +0000)]
Remove a duplicate word.

PR:           docs/32087
Submitted by: setantae@submonkey.net
MFC After:    2 days

22 years agoUse .Nm to correctly display the program name.
murray [Mon, 19 Nov 2001 08:12:17 +0000 (08:12 +0000)]
Use .Nm to correctly display the program name.

PR:           docs/32086
Submitted by: setantae@submonkey.net
MFC After:    2 days

22 years agos/code/ucode/ (last minute typo)
peter [Mon, 19 Nov 2001 08:06:56 +0000 (08:06 +0000)]
s/code/ucode/ (last minute typo)

22 years agoInitial cut at calling the EFI-provided FPSWA (Floating Point Software
peter [Mon, 19 Nov 2001 07:25:42 +0000 (07:25 +0000)]
Initial cut at calling the EFI-provided FPSWA (Floating Point Software
Assist) driver to handle the "messy" floating point cases which
cause traps to the kernel for handling.

22 years agoAdd support for Intel's i820/i840/i845/i850/i860 chipset.
kuriyama [Mon, 19 Nov 2001 07:15:45 +0000 (07:15 +0000)]
Add support for Intel's i820/i840/i845/i850/i860 chipset.

Submitted by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)

22 years agoLookup the EFI_FPSWA driver and pass the interface pointer through to the
peter [Mon, 19 Nov 2001 07:09:47 +0000 (07:09 +0000)]
Lookup the EFI_FPSWA driver and pass the interface pointer through to the
kernel before we call ExitBootServices().  I've typed the definitions
in efifpswa.h from the Intel FPSWA manual (urk).

22 years agoUse some (now) spare space for passing through a pointer to the FPSWA
peter [Mon, 19 Nov 2001 07:07:09 +0000 (07:07 +0000)]
Use some (now) spare space for passing through a pointer to the FPSWA
Interface provided by EFI (Floating Point SoftWare Assist).

22 years agoRemove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfo
peter [Mon, 19 Nov 2001 07:05:10 +0000 (07:05 +0000)]
Remove bootinfo.bi_kernel.  It isn't used by the kernel.  struct bootinfo
should go away on ia64, we should be loader metadata based since that is
the only way we can boot (loader, skiload).

22 years agoFix a dependency violation, same as in libefi/elf_freebsd.c a while back.
peter [Mon, 19 Nov 2001 06:59:53 +0000 (06:59 +0000)]
Fix a dependency violation, same as in libefi/elf_freebsd.c a while back.

22 years agoThis is used in C, not C++. functions with no args have func(void) in our
peter [Mon, 19 Nov 2001 06:58:14 +0000 (06:58 +0000)]
This is used in C, not C++. functions with no args have func(void) in our
kernel.

22 years agoAdd NEWCARD support to awi.
imp [Mon, 19 Nov 2001 06:42:11 +0000 (06:42 +0000)]
Add NEWCARD support to awi.

Devices obtained from NetBSD (+ zoom air 4000, which I added).

22 years agoCreate a module for awi.
imp [Mon, 19 Nov 2001 06:41:04 +0000 (06:41 +0000)]
Create a module for awi.

22 years agoUpdate to 1.23 pccarddevs
imp [Mon, 19 Nov 2001 06:28:20 +0000 (06:28 +0000)]
Update to 1.23 pccarddevs

22 years agoAdd ZOOM as one of the bgous vendors
imp [Mon, 19 Nov 2001 06:27:33 +0000 (06:27 +0000)]
Add ZOOM as one of the bgous vendors

22 years agoAdd Linksys Instant Wireless Network PC Card from NetBSD
imp [Mon, 19 Nov 2001 05:34:55 +0000 (05:34 +0000)]
Add Linksys Instant Wireless Network PC Card from NetBSD

22 years agoUpdate to 1.22 pccarddevs
imp [Mon, 19 Nov 2001 05:22:46 +0000 (05:22 +0000)]
Update to 1.22 pccarddevs

22 years agoNits to make it whitespace compatible with what I'm about to commit to NetBSD
imp [Mon, 19 Nov 2001 05:22:28 +0000 (05:22 +0000)]
Nits to make it whitespace compatible with what I'm about to commit to NetBSD

22 years agoUpdate to 1.21 pccarddevs
imp [Mon, 19 Nov 2001 05:11:50 +0000 (05:11 +0000)]
Update to 1.21 pccarddevs

22 years agoMerge NetBSD 1.146: Linksys Instant Wireless Network card.
imp [Mon, 19 Nov 2001 05:11:35 +0000 (05:11 +0000)]
Merge NetBSD 1.146: Linksys Instant Wireless Network card.

Obtained From: NetBSD

22 years agoInstall LOMAC public headers.
green [Mon, 19 Nov 2001 05:10:50 +0000 (05:10 +0000)]
Install LOMAC public headers.

Sponsored by: DARPA, NAI Labs (CBOSS project)

22 years agoAdd module compile framework for LOMAC.
green [Mon, 19 Nov 2001 05:09:14 +0000 (05:09 +0000)]
Add module compile framework for LOMAC.

Sponsored by: DARPA, NAI Labs (CBOSS project)

22 years agoUpdate to 1.20 pccarddevs
imp [Mon, 19 Nov 2001 05:04:08 +0000 (05:04 +0000)]
Update to 1.20 pccarddevs

22 years agoMerge NetBSD 1.145: Xircom XE2000
imp [Mon, 19 Nov 2001 05:02:55 +0000 (05:02 +0000)]
Merge NetBSD 1.145: Xircom XE2000

22 years agoFix a license and change $Id$s to $FreeBSD$s.
green [Mon, 19 Nov 2001 04:56:36 +0000 (04:56 +0000)]
Fix a license and change $Id$s to $FreeBSD$s.

Obtained from: DARPA, NAI Labs (CBOSS project)

22 years agoThis commit was generated by cvs2svn to compensate for changes in r86567,
green [Mon, 19 Nov 2001 04:50:51 +0000 (04:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r86567,
which included commits to RCS files with non-trunk default branches.

22 years agoInitial import of the LOMAC (Low-Watermark Mandatory Access Control)
green [Mon, 19 Nov 2001 04:50:51 +0000 (04:50 +0000)]
Initial import of the LOMAC (Low-Watermark Mandatory Access Control)
module port to FreeBSD.

Obtained from: NAI Labsx

22 years agoAvaya Wireless PCCARD
imp [Mon, 19 Nov 2001 01:51:40 +0000 (01:51 +0000)]
Avaya Wireless PCCARD

Submitted by: Ants Aader <ants@kernel.ee>

22 years agoHitachi DK32 disks have problems with tagged queuing under load.
iedowse [Mon, 19 Nov 2001 01:19:08 +0000 (01:19 +0000)]
Hitachi DK32 disks have problems with tagged queuing under load.

PR: kern/23536
Submitted by: Y.Amagai <amagai@nue.org>
MFC after: 1 week

22 years agocast hashing index to (int)(intptr_t) for calculation.
dillon [Mon, 19 Nov 2001 00:20:36 +0000 (00:20 +0000)]
cast hashing index to (int)(intptr_t) for calculation.

mtx_init() with MTX_QUIET and MTX_NOWITNESS to avoid bogus warnings

22 years agoActually build new files.
jake [Mon, 19 Nov 2001 00:19:49 +0000 (00:19 +0000)]
Actually build new files.

Forgotten by: jake

22 years agoForced commit to note that the maintainer's freefall name is kris not
jake [Sun, 18 Nov 2001 21:06:47 +0000 (21:06 +0000)]
Forced commit to note that the maintainer's freefall name is kris not
kkenn.  Too..much..irc.

22 years agolibkvm for sparc64. Only works for kernel memory so far.
jake [Sun, 18 Nov 2001 21:01:09 +0000 (21:01 +0000)]
libkvm for sparc64.  Only works for kernel memory so far.

22 years agoOpensslconf for sparc64. Just a copy of the alpha one for now.
jake [Sun, 18 Nov 2001 20:58:19 +0000 (20:58 +0000)]
Opensslconf for sparc64.  Just a copy of the alpha one for now.

Approved by: kkenn (maintainer)

22 years agoAdd a structure defintion for the id prom contents.
tmm [Sun, 18 Nov 2001 20:50:11 +0000 (20:50 +0000)]
Add a structure defintion for the id prom contents.

Obtained from: NetBSD

22 years ago1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings
tmm [Sun, 18 Nov 2001 20:38:44 +0000 (20:38 +0000)]
1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings
2. Add OF_getprop_alloc(), a helper function that will malloc() a sufficient
   amount of memory and then retrieve a property value into it.

Approved by: benno
Obtained from: NetBSD (1)

22 years agoStandardize idempotentcy ifdefs.
jake [Sun, 18 Nov 2001 20:30:16 +0000 (20:30 +0000)]
Standardize idempotentcy ifdefs.

22 years agoImplement DVD-ROM ioctls.
marcel [Sun, 18 Nov 2001 18:49:07 +0000 (18:49 +0000)]
Implement DVD-ROM ioctls.

PR: 26955
Submitted by: Boris Nikolaus (email unknown)

22 years agoYet another verbose printing cleanup. Remove debug_wakeup flag and
iwasaki [Sun, 18 Nov 2001 18:48:31 +0000 (18:48 +0000)]
Yet another verbose printing cleanup.  Remove debug_wakeup flag and
check common verbose flag instead.

22 years ago- Ensure that linker file id's are unique, rather than blindly
arr [Sun, 18 Nov 2001 18:19:35 +0000 (18:19 +0000)]
- Ensure that linker file id's are unique, rather than blindly
  incrementing the value.

Reviewed by: dfr, peter

22 years agoCleanups of verbose printing. All the messages for the debugging is
iwasaki [Sun, 18 Nov 2001 18:12:07 +0000 (18:12 +0000)]
Cleanups of verbose printing.  All the messages for the debugging is
disabled unless verbose flag is set.  Also fix some messages in terms
of English.
The critical messages and error messages in probe/attach routine are
unchanged by this commit.

22 years agoAdd kernel headers needed to build libc. Some are bogus and/or just enough
jake [Sun, 18 Nov 2001 17:56:46 +0000 (17:56 +0000)]
Add kernel headers needed to build libc.  Some are bogus and/or just enough
to compile.

Mostly obtained from: netbsd

22 years agoMake completion work with filenames containing spaces.
iedowse [Sun, 18 Nov 2001 17:49:09 +0000 (17:49 +0000)]
Make completion work with filenames containing spaces.

PR: bin/23526
Submitted by: root@yoda.fwe.pi.musin.de
MFC after: 1 week

22 years agoAllow the path for /dev and the location of the database file to
iedowse [Sun, 18 Nov 2001 17:24:28 +0000 (17:24 +0000)]
Allow the path for /dev and the location of the database file to
be overridden on the command line. This is useful for setting up
chroot/jail environments.

PR: bin/23509
Submitted by: Seth Kingsley <sethk@pike.osd.bsdi.com>
MFC after: 1 week

22 years agoAdd the PnP ID for a Rockwell 33.6k modem.
iedowse [Sun, 18 Nov 2001 16:39:09 +0000 (16:39 +0000)]
Add the PnP ID for a Rockwell 33.6k modem.

PR: kern/23414
Submitted by: Ryuichiro Imura <imura@af.airnet.ne.jp>
MFC after: 1 week

22 years agoForced commit:
marcel [Sun, 18 Nov 2001 08:06:30 +0000 (08:06 +0000)]
Forced commit:

PR: 22971
Submitted by: Masahiko KIMOTO <kimoto@ohnolab.org>

22 years agoImplement missing SOUND_MIXER_WRITE_RECSRC ioctl.
marcel [Sun, 18 Nov 2001 06:36:18 +0000 (06:36 +0000)]
Implement missing SOUND_MIXER_WRITE_RECSRC ioctl.

PR: 22971
Tested by: dougb

22 years agoAdd Xircom wireless card from pir@pir.net
imp [Sun, 18 Nov 2001 06:01:09 +0000 (06:01 +0000)]
Add Xircom wireless card from pir@pir.net

22 years agoPass maintainership over to emulation@FreeBSD.org. It has been fun,
marcel [Sun, 18 Nov 2001 05:45:27 +0000 (05:45 +0000)]
Pass maintainership over to emulation@FreeBSD.org. It has been fun,
but time and other interests is making it hard. Open the door for
new blood and fresh tactics now that the Linuxulator has had its
facelift.

Thanks to all who contributed during my tour of duty!

22 years agoNeed .type and .size here too.
jake [Sun, 18 Nov 2001 04:48:34 +0000 (04:48 +0000)]
Need .type and .size here too.

22 years agoAdd more libc stuff.
jake [Sun, 18 Nov 2001 04:40:30 +0000 (04:40 +0000)]
Add more libc stuff.

Obtained from: netbsd

22 years agoCatch up to jmpbuf changes. Define offsets used from assmebly language
jake [Sun, 18 Nov 2001 04:35:09 +0000 (04:35 +0000)]
Catch up to jmpbuf changes.  Define offsets used from assmebly language
in another file so that it is easy to see what they are and keep them in
sync with the headers (grafted from the kernel generated assym.s).

22 years agoRemove fork and vfork wrappers. The kernel does the right thing.
jake [Sun, 18 Nov 2001 04:31:36 +0000 (04:31 +0000)]
Remove fork and vfork wrappers.  The kernel does the right thing.

22 years agoAdd .type and .size pseudo-ops to system call macros so that dynamic binaries
jake [Sun, 18 Nov 2001 04:29:20 +0000 (04:29 +0000)]
Add .type and .size pseudo-ops to system call macros so that dynamic binaries
will link.  They must be used for weak symbols as well as strong ones.

22 years agoMake jmpbuf the same size as ucontext_t so that it can be passed
jake [Sun, 18 Nov 2001 04:04:35 +0000 (04:04 +0000)]
Make jmpbuf the same size as ucontext_t so that it can be passed
to sigreturn.

Obtained from: alpha

22 years ago1. Split fp.h into fp.h and fsr.h so that the latter can be included
jake [Sun, 18 Nov 2001 04:00:22 +0000 (04:00 +0000)]
1. Split fp.h into fp.h and fsr.h so that the latter can be included
   in asm files.
2. Temporarily cause subnormal operands in floating point operations
   to be treated as zeros so that comlpetion of the operation does not
   need to be emulated.
3. Catch fp_exception_other and correctly skip over the unfinished
   instruction, but basically ignore them.  Emulating the instruction
   is not yet supported.
4. Zero td_retval[1] as well in syscall().

Submitted by: tmm (2, 3)

22 years agoAvoid missing ticks and hardclock stopping.
jake [Sun, 18 Nov 2001 03:47:30 +0000 (03:47 +0000)]
Avoid missing ticks and hardclock stopping.

Submitted by: tmm

22 years agoCatch up to new constants. (These commit messages should have a song.)
jake [Sun, 18 Nov 2001 03:45:13 +0000 (03:45 +0000)]
Catch up to new constants.  (These commit messages should have a song.)

22 years ago- M_ZERO already sets bif_dlist to zero; there is no need to
arr [Sun, 18 Nov 2001 03:41:20 +0000 (03:41 +0000)]
- M_ZERO already sets bif_dlist to zero; there is no need to
  do it again.

22 years ago1. Remove kdbframe. Bad idea.
jake [Sun, 18 Nov 2001 03:41:12 +0000 (03:41 +0000)]
1. Remove kdbframe.  Bad idea.
2. Add a TF_DONE macro, which fiddles a trapframe to make the retry on
   return from traps act like a done (advance past the trapping
   instruction instead of re-executing).
3. Flush the windows before entering the debugger, since it is no
   longer done in the breakpoint trap vector.
4. Print a warning if trace <pid> is attempted, it is not yet implemented.
5. Print traps better and decode system calls in traces.

Submitted by: rwatson (4)

22 years agoImplement SET. Set execption.s 1.12.
jake [Sun, 18 Nov 2001 03:31:01 +0000 (03:31 +0000)]
Implement SET.  Set execption.s 1.12.

Submitted by: tmm

22 years ago1. Convert the tstate saved in the pcb to a pstate and test for PSTATE_PEF
jake [Sun, 18 Nov 2001 03:28:28 +0000 (03:28 +0000)]
1. Convert the tstate saved in the pcb to a pstate and test for PSTATE_PEF
   to determine if a process is using floating point. in order to avoid
   sign extending a 13 bit immediate.
2. We don't need to context switch cwp anymore, it is better to just
   fiddle the save tstate on return from traps.  See exception.s 1.10
   and 1.12.
3. Completely remove pcb_cwp.
4. Implement vmapbuf, vunmapbuf and vm_fault_quick.  Completely remove
   TODOs from vm_machdep.c (yay!).

Submitted by: tmm (1, 3, 4)
Obtained from: existing archs (4)

22 years agoImplement hw.machine and hw.model sysctls.
jake [Sun, 18 Nov 2001 03:05:56 +0000 (03:05 +0000)]
Implement hw.machine and hw.model sysctls.

Submitted by: tmm