Commit Graph

80417 Commits

Author SHA1 Message Date
nyan
c639925793 MFi386: revisions 1.534 and 1.535. 2002-09-19 13:42:11 +00:00
truckman
7b4496b181 The file vnode passed to VOP_LINK() should now be locked before the call. 2002-09-19 13:34:50 +00:00
truckman
1a5d9c5002 VOP_FSYNC() requires that it's vnode argument be locked, which nfs_link()
wasn't doing.  Rather than just lock and unlock the vnode around the call
to VOP_FSYNC(), implement rwatson's suggestion to lock the file vnode
in kern_link() before calling VOP_LINK(), since the other filesystems
also locked the file vnode right away in their link methods.  Remove the
locking and and unlocking from the leaf filesystem link methods.

Reviewed by:	rwatson, bde  (except for the unionfs_link() changes)
2002-09-19 13:32:45 +00:00
ru
77c8f75da8 Added the missing dependencies for openssl/ headers. 2002-09-19 13:24:27 +00:00
nectar
5fae488c93 This is Heimdal 0.5. 2002-09-19 12:59:18 +00:00
tjr
a2252e5e0d Implement the %ls and %lc conversions for printing wide character strings
and wide characters. These were already documented in the manual page,
with an entry mentioning that they were not implemented yet. The XSI
%S and %C synoyms have not been added.
2002-09-19 12:50:28 +00:00
ru
1d89434ff4 Bootstrapping aid for systems without <stdint.h>.
(Needed to build mkmagic in build-tools.)
2002-09-19 12:30:34 +00:00
nectar
1084b9a8ea This is Heimdal 0.5. 2002-09-19 12:12:26 +00:00
nectar
2e8027484f Add forgotten newlines in debug messages. 2002-09-19 11:36:47 +00:00
grehan
e059e874c0 Updated to somewhat match sparc64/conf/GENERIC
Approved by: benno
2002-09-19 11:20:13 +00:00
julian
15b021f7b8 Pppctl seems to compile again now 2002-09-19 10:32:39 +00:00
truckman
b7e61bd801 Unbreak installworld.
Apparently /usr/include/dev grew a couple of subdirectories, but nobody
informed mtree.
2002-09-19 08:35:12 +00:00
julian
d438269d4f While well intentionned the check to see it there is a packet
header and return that length, was misguided.

The check itself didn't take into account the fact that the
mbuf pointer pased in may be null, and the function is
defined specifically for cases where the caller knows what it wants.
Rather than fix the check I'm removing it as phk suggested.

Submitted by:	 phk@freebsd.org
2002-09-19 08:28:41 +00:00
julian
d9595add00 reconnect libc_r
Hint from: deischen@freebsd.org
2002-09-19 08:06:23 +00:00
julian
8a10047dc5 Part of a bandaid to get libc_r on air again.
Submitted by: Dan Eischen (deischen@freebsd.org)
Pointy hat for breakage just before going offline: Mini@freebsd.org
2002-09-19 07:35:39 +00:00
jeff
4110ea6370 - Use my freebsd email alias in the copyright.
- Remove redundant instances of my email alias in the file summary.
2002-09-19 06:05:32 +00:00
grehan
058c12bd7b - added macio and psim files
- removed unused extintr.c

Approved by: benno
2002-09-19 05:11:15 +00:00
grehan
29a4649826 psim device support
Approved by: benno
2002-09-19 05:09:27 +00:00
grehan
868567eae5 Support files and a h/w tree description for the PSIM ppc simulator
Approved by: benno
2002-09-19 04:57:10 +00:00
grehan
f53d13e44f Driver for the macio south bridge, and ATA cell contained within.
Approved by: benno
2002-09-19 04:52:07 +00:00
grehan
bb6320096b softc and register defs for the UniNorth chip
Approved by: benno
2002-09-19 04:50:30 +00:00
grehan
ecd9de7d67 - probe the UniNorth chip in addition to the PCI bridges
- enable GEM ethernet cell if present
 - allow sparse address mapping for devices

Approved by: benno
2002-09-19 04:49:58 +00:00
grehan
9943f8ff4a Removed osigframe. No need for COMPAT_43 signal bin-compat in PPC.
Approved by: benno
2002-09-19 04:46:36 +00:00
grehan
8fcc705d5d psim device support
Approved by: benno
2002-09-19 04:45:58 +00:00
grehan
9d0cb34631 <machine/types.> -> <sys/types.h>
Approved by: benno
2002-09-19 04:45:32 +00:00
grehan
1289163700 Fix clearing of recoverable exception MSR bit when disabling
interrupts

Approved by: benno
2002-09-19 04:45:06 +00:00
grehan
62441a4b4c Additional machdep sysctl constants needed for userland utils
Approved by: benno
2002-09-19 04:44:35 +00:00
grehan
1935043e89 Added sparse address support, required by the macio ATA device
Approved by: benno
2002-09-19 04:44:04 +00:00
grehan
e769f55f9b Fixed branch labels
Approved by: benno
2002-09-19 04:39:59 +00:00
grehan
582888db41 - bring vm_mapbuf/unmapbuf in line with other archs
- update for recent KSE changes

Approved by: benno
2002-09-19 04:39:28 +00:00
grehan
1a109f5a20 - make sure recoverable interrupts are re-enabled in the trap handler
- turn on ast() loop to enable signal delivery

Approved by: benno
2002-09-19 04:39:04 +00:00
grehan
16ef0f3a32 - worked around 32-bit big-endian syscall return value problem
- syscall register spills weren't copied in correctly
 - removed VM_PROT_READ from the fault type on write protect faults

Approved by: benno
2002-09-19 04:38:35 +00:00
grehan
3d3d68675e Add sync before isync for G4 cpus
Obtained from: NetBSD
Approved by: benno
2002-09-19 04:37:39 +00:00
grehan
275bc0e98c - use symbol for user-context offset
- fix szsigcode size declaration

Approved by: benno
2002-09-19 04:36:44 +00:00
grehan
a9dce66d0f - use BAT registers to map device space and physical memory
- remove test in pmap_activate that prevented vmspace sharing (v/rfork)
 - always sync icache in pmap_enter until problems are sorted
 - fix incorrect use of regions in pmap_kenter
 - bring in pmap_release from NetBSD
 - fix overwrite of bootstrap flag in pmap_pvo_enter

Approved by: benno
2002-09-19 04:36:20 +00:00
grehan
73264620db - psim device support
- comment out re-enabling of interrupts until problems are sorted

Approved by: benno
2002-09-19 04:32:25 +00:00
grehan
ea3368e336 Clear on-demand BAT entries to properly restore OpenFirmware's
address space

Approved by: benno
2002-09-19 04:31:39 +00:00
grehan
bb028ac11e psim device support
Approved by: benno
2002-09-19 04:31:04 +00:00
grehan
e080464c30 - implemented sendsig/sigreturn
- sysctl for cacheline size, required by libc/rtld
 - init'd more exception vectors
 - fixed problem with register overwrite in exec_setregs
 - removed redundant NetBSD code

Approved by: benno
2002-09-19 04:30:43 +00:00
grehan
0e74475390 - moved intrcnt/intrnames to locore.s to fix sysctl -a panic
Approved by: benno
2002-09-19 04:29:59 +00:00
grehan
0b64672234 - rationalised includes
- added sigframe offset

Approved by: benno
2002-09-19 04:29:07 +00:00
grehan
5a254fa942 - removed unnecessary includes
- converted inline asm to C for int enable
 - shifted clearing of 'cold' to end of routine

Approved by: benno
2002-09-19 04:28:45 +00:00
peter
978baa9313 Repo copied to <sys/smbus/smb.h> 2002-09-19 04:13:43 +00:00
peter
d0bfa4d2fe Repo copied to <sys/iicbus/iic.h> 2002-09-19 04:13:29 +00:00
obrien
2b8e2c45e7 intmax_t is printed with %jd, not %lld. 2002-09-19 03:55:30 +00:00
wollman
13f4d3af1b Return the correct environment name for 64-bit platforms in the
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS case.
2002-09-19 03:47:36 +00:00
peter
7fb1bbfc92 simos.c needs a to be updated from the old pci shims. Yell loudly but
stop breaking alpha LINT.
2002-09-19 03:40:17 +00:00
wollman
29fe18ae8b Completely revamp the way getconf(1) works, for better adherence to the
intent of the Standard.

- Make getconf able to distinguish between configuration variables which
  are entirely unknown and those which are merely not defined in the
  compilation environment.  The latter now get a more appropriate
  "undefined\n" result rather than a diagnostic.  This may not be
  exactly right, but it's closer to the intent of the Standard than
  the previous behavior.

- Support ``programming environments'' by validating that the environment
  requested with the `-v' flag is the one-and-only execution environment.
  (If more environments are supported for some platforms in the future,
  multiple getconf(1) executables will be required, but a simple edit in
  progenv.gperf will enable automatic support for it.)  Document POSIX
  standard programming environments.

- Add all of the 1003.1-2001 configuration variables.  FreeBSD does not
  support all of these (including some that are mandatory); getconf will
  later be fixed to break the world should a required variable not be
  defined.

As a result of all these changes, gperf is no longer adequate.  Keep the
overall format and names of the files for now, to preserve revision history.
Use an awk script to process the .gperf files into C source, which does a
few things that gperf, as a more general tool, cannot do.  The keyword
recognition function is no longer a perfect hash function.

This may obviate the need for gperf in the source tree.

- Add a small compile-time regression test to break the build if any of the
  .gperf files declare conflicting token sets.  (gperf itself would have done
  this for the simple case of duplicate tokens in the same input file.)
2002-09-19 03:39:03 +00:00
peter
e4cecc2f8f Add Yet Another Duplicate of the font.h and ukbdmap.h rules. Remove
the font8x16.o glue, since that appears to have died ages ago and has
no remaining references.
2002-09-19 03:36:25 +00:00
peter
458edebe8b Add dev/iicbus and dev/smbus to LSUBDIRS list 2002-09-19 03:28:52 +00:00