sos
fa790cf424
Finetune last commit, we need to take care of empty channels.
2003-12-10 23:06:24 +00:00
peter
0fad8ea5b0
Fix last second typo.
2003-12-10 22:59:03 +00:00
peter
6c7e20736e
Use gcc's superior ffs() builtin.
2003-12-10 22:51:40 +00:00
peter
f5f05f9b78
Use ffs(x) == popcnt(x ^ (x - 1)) to implement 64 bit ffsl(). gcc's
...
ffs() builtin uses this already but truncates the upper 32 bits.
2003-12-10 22:47:02 +00:00
peter
a767a6c392
Regen
2003-12-10 22:33:45 +00:00
peter
25170ce26a
Add missing extattr_list_fd(), extattr_list_file(), extattr_list_link()
...
and kse_switchin() syscall slots.
2003-12-10 22:33:27 +00:00
peter
3db2893823
The osigpending, oaccept, orecvfrom and ogetdirentries entries were
...
accidently being compiled in as standard. These are part of the
set of unimplemented COMPAT_43 syscall set.
2003-12-10 22:31:46 +00:00
des
adbd0e152f
Whitespace cleanup.
2003-12-10 22:19:19 +00:00
peter
e24b9cafc1
Regen
2003-12-10 22:18:54 +00:00
peter
b04e28a386
Previous commit also changed the sendmsg prototype to something more
...
closely matching reality. I did not actually mean to commit that yet.
2003-12-10 22:16:42 +00:00
des
f3c82d0291
Remove debugging printf
2003-12-10 22:14:32 +00:00
des
e12d3dfc79
Document the simpler -a semantics.
2003-12-10 22:12:06 +00:00
des
dcadbab0fa
Fix a couple of issues in the interrupt code:
...
- Replace overly-complicated (and buggy) -a logic with a much simpler
version: -a causes all interrupts to be displayed, otherwise only
those that have occurred are displayed. This removes the need for
any MD code.
- Instead of just making sure intrcnt is large enough, figure out the
exact size it needs to be. We derive nintr from this number, and we
don't want to risk printing garbage. Note that on sparc64, we end up
printing garbage anyway because the names of non-existent interrupts
are left uninitialized by the kernel.
Tested on: alpha, i386, sparc64
2003-12-10 22:11:51 +00:00
peter
4c2b7999cf
Update file locations for syscall tables to copy to.
2003-12-10 22:08:37 +00:00
des
76dc1df2f9
s/u_(int|long)\>/unsigned \1/
2003-12-10 21:43:10 +00:00
jhb
02708baeb0
Delete old and unused APIC_IRQ defines.
2003-12-10 21:33:07 +00:00
obrien
2e700dc3d9
Still-born. These landed in dev/kbtr in the end.
2003-12-10 19:30:52 +00:00
jhb
e6b3f2fbae
The DEV_ACPI option is no longer used, so g/c it.
2003-12-10 19:30:42 +00:00
jhb
b4549a3a7d
Use NAPICID for the maximum number of local APICs rather than MAXCPU when
...
doing the HTT fixup. This is a step closer to possibly having an apic.ko
module someday.
2003-12-10 19:29:39 +00:00
jhb
ee85536e88
Correct usage of MAXCPU. The MAXCPU value itself is not a valid CPU ID
...
value as it is a count of maximum values.
Reported by: bde
2003-12-10 19:28:37 +00:00
dwmalone
869e10c88c
Fix a couple of warnings (const a function parameter and change some
...
ints to size_ts to better match the types of variables they are used
with).
Glanced at by: des
2003-12-10 19:24:11 +00:00
jhb
3979795fb8
Trim trailing whitespace.
2003-12-10 19:10:27 +00:00
jhb
9935d1f62b
Fix typo in comment.
2003-12-10 19:08:09 +00:00
rwatson
02297e8cb3
interpvnodelabel can be NULL in mac_test_execve_transition(). This
...
only turned up when running mac_test side by side with a transitioning
policy such as SEBSD. Make the NULL testing match
mac_test_execve_will_transition(), which already tested the vnode
label pointer for NULL.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-12-10 18:48:05 +00:00
ume
a18adda779
validate the argument for multicast routing socket options
...
correctly.
Obtained from: KAME
MFC after: 3 days
2003-12-10 18:17:05 +00:00
des
7484d38bbb
This commit was generated by cvs2svn to compensate for changes in r123394,
...
which included commits to RCS files with non-trunk default branches.
2003-12-10 16:46:08 +00:00
des
0ac9b614f9
MFP4: really fix resp issue, and don't trim trailing spaces ( #43727 )
2003-12-10 16:46:08 +00:00
mikeh
acccb1539f
Add reference to standards/55112 for next time SHLIB_MAJOR is bumped.
...
Suggested by: wollman
2003-12-10 16:33:17 +00:00
green
d4d87e529b
Implement seeking to earlier offsets in gzipfs. This allows my loader
...
to e.g. correctly load all .ko.gz's I've tried, as opposed to messing
up trying to read section headers on some of them.
2003-12-10 16:10:34 +00:00
jhb
8725350c86
Add a note about MPTABLE_FORCE_HTT.
...
Prompted by: John Stockdale <jstockdale@stanford.edu>
2003-12-10 15:59:20 +00:00
peter
996dcd98e5
Change rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should
...
make it work for all non-i386 syscons platforms.
2003-12-10 15:48:49 +00:00
bms
70c39838d7
Nursemaid: Fix compilation.
...
Sponsored by: Weyland-Yutani Corporation
2003-12-10 15:09:38 +00:00
dds
ecc31f354e
Add sticky(8) cross reference.
...
PR: docs/60068
Submitted by: Ken Stailey
MFC after: 2 weeks
2003-12-10 15:08:41 +00:00
grehan
5472a7b2d2
PowerPC-conditional changes:
...
- include ashldi3.c/ashrdi3.c from libc for UFS 64-bit arith
- pull in syncicache.c from libc, and define _STANDALONE for
loader usage
2003-12-10 13:11:03 +00:00
grehan
6a92ab4ec1
- Put manh/manl bitfields into correct-sized integral type.
...
- remove XXX normalization bit comment, code is correct.
2003-12-10 13:04:42 +00:00
maxim
5b8e9ac6f5
Use .St -susv2 rather than "The Single UNIX specification".
...
Submitted by: osa
2003-12-10 10:52:48 +00:00
ru
5b9503b605
Grammar.
2003-12-10 09:43:53 +00:00
grehan
b3a72fb411
Enable FICL build on powerpc
2003-12-10 09:18:42 +00:00
grehan
4b8cd92555
Update libstand filesystems to be in-line with tier-1 platforms.
2003-12-10 09:17:01 +00:00
grehan
2ae731fbef
- Bring Makefile up to rev with sparc64 in terms of config options and rules
...
- Move loader relocation up to 0x1C00000. This is in line with OSX bootx,
and allows more space for boot-time modules/ramdisks without conflicting
with OpenFirmware's use of RAM
2003-12-10 09:16:22 +00:00
grehan
a9f09ccdea
Disable floating point on PowerPC for the ficl library.
2003-12-10 09:10:54 +00:00
grehan
47a0ac1bfe
Define 'arch-powerpc'
2003-12-10 09:09:38 +00:00
grehan
a6662294bc
FICL system-dependent files for powerpc. Taken from the i386 versions,
...
which were the most relevant.
2003-12-10 09:05:08 +00:00
grehan
f634df25eb
imac revA-D and beige G3 OpenFirmware uses the "ide" string for
...
ATA drives.
2003-12-10 08:58:48 +00:00
grehan
012e342c0d
- removed obsolete ppc_exit/ppc_boot functions
...
- OpenFirmware returns overlapping memory regions. Use a simple
brute force algorithm to merge these into non-overlapping
regions. This fixes bugs in reporting of available memory
and also prevents pages from being added twice in the VM system.
2003-12-10 08:55:53 +00:00
ume
3d7c0818ff
don't touch after free.
2003-12-10 05:01:41 +00:00
obrien
1bf6892caf
Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
...
such that 'ispcvt' can build. Unforunately 'ispcvt' is needed in order for
/etc/rc.d/syscons to run. This fixes the bug where I could not get my
keymap effective at boot.
2003-12-10 02:49:17 +00:00
marcel
eb521e2e92
Add a short description of the kse_switchin(2) syscall to the kse
...
manpage and add a kse_switchin link. While here, list kse_thr_interrupt
before kse_wakeup in the MLINKS variable and the synopsis.
2003-12-10 02:38:51 +00:00
marcel
b6631c500b
Write the thread pointer (val) in the kse mailbox (loc) before we
...
set the new context in kse_switchin(2). This allows us to return
an error to the calling context when the suword() fails.
2003-12-10 01:59:23 +00:00
deischen
1f8c5c54fd
accept() returns a file descriptor when it succeeds which is very
...
likely to be non-zero. When leaving the cancellation point, check
the return value against -1 to see if cancellation should be
checked. While I'm here, make the same change to connect() just
to be consisitent.
Pointed out by: davidxu
2003-12-09 23:40:27 +00:00