truckman
f280782003
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
grehan
01d3084ec0
Updated to somewhat match sparc64/conf/GENERIC
...
Approved by: benno
2002-09-19 11:20:13 +00:00
julian
c431e46788
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
jeff
f3621a00cf
- 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
22f4e39e75
- added macio and psim files
...
- removed unused extintr.c
Approved by: benno
2002-09-19 05:11:15 +00:00
grehan
59a7560aeb
psim device support
...
Approved by: benno
2002-09-19 05:09:27 +00:00
grehan
22d2979d2d
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
b9926b1f0b
Driver for the macio south bridge, and ATA cell contained within.
...
Approved by: benno
2002-09-19 04:52:07 +00:00
grehan
cca4d56e84
softc and register defs for the UniNorth chip
...
Approved by: benno
2002-09-19 04:50:30 +00:00
grehan
91ea6a395f
- 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
3c2938f17a
Removed osigframe. No need for COMPAT_43 signal bin-compat in PPC.
...
Approved by: benno
2002-09-19 04:46:36 +00:00
grehan
a6e5f329a0
psim device support
...
Approved by: benno
2002-09-19 04:45:58 +00:00
grehan
acb15b8dd0
<machine/types.> -> <sys/types.h>
...
Approved by: benno
2002-09-19 04:45:32 +00:00
grehan
c987294fa8
Fix clearing of recoverable exception MSR bit when disabling
...
interrupts
Approved by: benno
2002-09-19 04:45:06 +00:00
grehan
2a3c9409d7
Additional machdep sysctl constants needed for userland utils
...
Approved by: benno
2002-09-19 04:44:35 +00:00
grehan
12ec2e7c5d
Added sparse address support, required by the macio ATA device
...
Approved by: benno
2002-09-19 04:44:04 +00:00
grehan
4e75b6dbdf
Fixed branch labels
...
Approved by: benno
2002-09-19 04:39:59 +00:00
grehan
d85d437918
- 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
5688c41f5d
- 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
b53c0c445d
- 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
8906347b73
Add sync before isync for G4 cpus
...
Obtained from: NetBSD
Approved by: benno
2002-09-19 04:37:39 +00:00
grehan
58abd18efa
- use symbol for user-context offset
...
- fix szsigcode size declaration
Approved by: benno
2002-09-19 04:36:44 +00:00
grehan
57116e76b8
- 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
d6ed9388d1
- 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
2adb6a113b
Clear on-demand BAT entries to properly restore OpenFirmware's
...
address space
Approved by: benno
2002-09-19 04:31:39 +00:00
grehan
079bbffd71
psim device support
...
Approved by: benno
2002-09-19 04:31:04 +00:00
grehan
74c6147b06
- 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
6a8e22903e
- moved intrcnt/intrnames to locore.s to fix sysctl -a panic
...
Approved by: benno
2002-09-19 04:29:59 +00:00
grehan
2e460fc04b
- rationalised includes
...
- added sigframe offset
Approved by: benno
2002-09-19 04:29:07 +00:00
grehan
dd1398f246
- 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
c6d7dcd0d4
Repo copied to <sys/smbus/smb.h>
2002-09-19 04:13:43 +00:00
peter
ef89cffd6d
Repo copied to <sys/iicbus/iic.h>
2002-09-19 04:13:29 +00:00
obrien
a8deaee84b
intmax_t is printed with %jd, not %lld.
2002-09-19 03:55:30 +00:00
peter
99bac58a2f
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
peter
a059a58a99
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
b4bc016d5d
move <machine/iic.h> and <machine/smb.h> to <dev/iicbus/iic.h> and
...
<dev/smbus/smb.h> - there is nothing MD about these ioctl definitions.
2002-09-19 03:25:46 +00:00
julian
3a5370d445
fix style.. Return in the kernel always has () around the arguments.
2002-09-19 03:18:44 +00:00
julian
a7ebcecbd8
Compiler was correct:
...
m WAS being used uninitialized..
2002-09-19 03:15:39 +00:00
peter
af094d65ba
move wl (isa wavelan card, not "wi") to i386-only
2002-09-19 03:10:23 +00:00
peter
8bd0246702
move "profile 2" to i386
2002-09-19 03:04:07 +00:00
peter
2a90117a45
move ncv, nsp, stg to i386-only section (there is no pc98-specific version)
2002-09-19 03:02:42 +00:00
peter
ef7ad90d61
Move dgb to the i386 section
2002-09-19 02:58:41 +00:00
darrenr
26b0ff18e6
If M_PKTHDR is set then we don't need to do a loop to find the total length.
2002-09-19 01:21:24 +00:00
alfred
805701454f
Regen for added syscalls.
2002-09-19 00:48:57 +00:00
alfred
d063152de1
Add the rest of the kernel support for the sem_ API in kern/uipc_sem.c.
...
Option 'P1003_1B_SEMAPHORES' to compile them in, or load the "sem" module
to activate them.
Have kern/makesyscalls.sh emit an include for sys/_semaphore.h into sysproto.h
to pull in the typedef for semid_t.
Add the syscalls to the syscall table as module stubs.
2002-09-19 00:43:32 +00:00
alfred
6ac7d5d588
Bring in my implementation of kernel support for posix realtime semaphores
...
that are shareable between processes.
There will be a cleanup shortly along with the necessary changes made to
libc, libc_r, libpthread as well as the hooks into sys/conf and sys/modules.
2002-09-18 22:47:42 +00:00
rwatson
8f4cf6aafc
Remove un-needed stack variable 'ops'.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-09-18 22:35:02 +00:00
bmilekic
37a0ae74d0
style nit: unsigned -> u_int in the kernel, particularly to
...
stay consistent in this file, and keep m_length() and m_fixhdr()
consistent with their prototypes in mbuf.h
Inspired by: bde
2002-09-18 22:33:52 +00:00
bmilekic
0ad373f87a
more style fixes: 'unsigned' should be 'u_int' in this file.
...
Submitted by: bde
2002-09-18 22:29:33 +00:00
ambrisko
c0ce23344e
Clarify comment to "Code borrowed from if_fxp.c" to deal with running
...
out of fragments.
Suggested by: jhb
2002-09-18 21:32:48 +00:00