Bruce Evans
c6a1c7c5b9
Use the -mno-align-long-strings on i386's to debloat the kernel a little.
...
This reduces the size of GENERIC's text space by 73999 bytes (about 2%).
The bloat is from approximately 3437 strings longer than 31 characters
being padded to a 32-byte boundary.
2002-10-04 12:54:36 +00:00
Robert Drehmel
45408a8564
Correct the regressive part of my last commit to these files:
...
use the .Fn macro instead of the .Fo ... .Fc combination to
format function prototypes.
Reminded by: bde
2002-10-04 11:31:00 +00:00
Poul-Henning Kamp
8a349ed8fe
Ok, concensus was to install libexpat under a "private brandname", and after
...
some deliberation the name "libbsdxml" was chosen since it conveys the two
most important attributes: "Private to FreeBSD" and "XML".
Add a skeleton man-page to give the credit and point for further
documentation. (If somebody wants to write a true mdoc manpage for
this I am sure both the eXpat people and I will be grateful).
(Still not connected to the build)
2002-10-04 11:20:18 +00:00
Poul-Henning Kamp
2874f1cf36
Properly isolate the locking domains of sysctl from the topology lock
...
for the sysctls which report the configuration.
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:38:36 +00:00
Poul-Henning Kamp
0cc3011d52
Implement the "kern.disks" sysctl in GEOM.
...
This makes "mdconfig -l" work again.
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:15:26 +00:00
Poul-Henning Kamp
8be2bc5c6f
Properly conditionalize a debugging printf.
...
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:06:19 +00:00
Poul-Henning Kamp
c5f9218b48
Add the new function "sbuf_done()" which returns non-zero if the sbuf is
...
finished.
This allows sbufs to be used for request/response scenarioes without
needing additional communication flags.
Sponsored by: DARPA & NAI Labs.
2002-10-04 09:58:17 +00:00
Matthew N. Dodd
bafe85a4ad
Remove duplicate make_dev() calls.
2002-10-04 08:33:10 +00:00
Matthew N. Dodd
e73b093aa9
Turn on the mcd(4) module.
2002-10-04 07:15:34 +00:00
Matthew N. Dodd
3ae5b53264
newbus & bus_space the mcd(4) driver.
2002-10-04 07:14:19 +00:00
Scott Long
0910374b7f
Alas, poor matcd, I knew ye well.
...
It doesn't work.
It cannot be made to work.
Goodbye.
X-MFC after: ASAP
2002-10-04 06:06:04 +00:00
Tim J. Robbins
fd4f1dd9fa
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
...
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
2002-10-04 03:18:26 +00:00
Garrett Wollman
92d0f59903
Yesterday, FreeBSD-current ate my disklabel.
...
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.
2002-10-04 03:06:16 +00:00
Matthew N. Dodd
efe66a4be9
Minor style(9) changes.
2002-10-04 02:21:26 +00:00
Matthew N. Dodd
4c7a1919f6
Remove duplicate calls to make_dev().
2002-10-04 01:58:55 +00:00
Peter Wemm
debff18680
Gah, spell extern correctly. Do not trust cut/paste via old mozilla
...
builds.
2002-10-04 01:57:46 +00:00
Peter Wemm
ae8ef28761
List the IO SAPIC delivery mode definitions.
2002-10-04 01:33:30 +00:00
Peter Wemm
c281972e61
Add some unspeakable hackery to the tree under #ifdef __ia64__ to work
...
around limitations in the ia64 kernel stack handling code. Basically
preallocate a bunch of threads (and hence kstacks) while contigmalloc()
still works, and never free them back to the general memory pool. After
the system has been running for a while, contigmalloc() eventually fails
at a critical momemt and panics the system.
2002-10-04 01:31:39 +00:00
Peter Wemm
74cf93d79d
Declare itc_frequency and itm_reload.
2002-10-04 01:23:58 +00:00
Peter Grehan
d13782ef14
Clean up ddb warnings/errors and enable in GENERIC
...
Approved by: benno
Motivated by: gallatin
2002-10-04 01:19:18 +00:00
Peter Grehan
24a4e806f2
- fix zero-sized stack alloc from previous commit. a default is now
...
selected ala sparc64
- KSEIII routines implemented (taken from i386/sparc64)
Approved by: Benno
2002-10-04 01:13:34 +00:00
Peter Wemm
120e7b6b43
Do a bit of rude hackery to get clock interrupts on all CPUs. This
...
is partly based on the Alpha system which duplicates the clock to
each cpu, instead of doing a clock roundrobin like on i386. This means
we get hz * ncpu clocks per second and so we have to seperate clock
sampling from actual 'do the work' clock processing. The BSP runs the
complete processing, the rest just sample state etc.
Using the on-cpu interval timer is not ideal as it will drift. There
is more to be done here, we should use an external clock source.
2002-10-04 01:00:35 +00:00
Peter Wemm
f5e283f206
Oops, missed this one. Fix a printf format error on 64 bit systems
...
where sizes are long instead of int.
2002-10-04 00:35:22 +00:00
Peter Wemm
0b57bf8a75
Fix printf format errors on 64 bit systems where sizes are long
...
instead of just int.
2002-10-04 00:33:46 +00:00
Peter Wemm
f144391b8f
Display the name of the acpi node that we do not find the pci interrupt
...
routing table for.
2002-10-04 00:32:09 +00:00
Peter Wemm
a1c254d8c6
EFI GPT partitions use 'p' as a slice seperator. eg: da0p1 or da0p217.
...
(There is a theoretical limit of 16384 partitions)
2002-10-04 00:29:26 +00:00
Peter Wemm
4ae86c723c
Make the man page for utmp/lastlog match the actual definitions.
2002-10-04 00:25:50 +00:00
Peter Wemm
6c3fc0c450
Drop login.c and logwtmp.c from the library build. None of the apps
...
that we build use it, and any that do should be using the official
login()/logwtmp() in libutil.
2002-10-04 00:24:31 +00:00
Peter Wemm
da2893e7ed
Update stubs for post-kseIII.
2002-10-04 00:19:58 +00:00
Peter Wemm
1678d0990b
Update for post-kseIII
2002-10-04 00:18:21 +00:00
Robert Watson
60cfb7c64a
Correct a problem wherein NFS servers running NFSv2 would not return
...
certain classes of failure responses to the client during a failed
remove operation.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2002-10-03 21:50:37 +00:00
Jens Schweikhardt
d539c53b01
Fix all whitespace style bugs where spaces have been used
...
where tabs should have been. Cut & paste disease?
Spotted by: vi(1) tabstop=4
MFC after: 2 weeks
2002-10-03 20:39:29 +00:00
Peter Wemm
b7214516f9
Move swblk_t from sys/types.h to sys/dmap.h, the only include that uses
...
it. It's also only used in vm/vm_swap.c, but that is also the only source
file that #include's <sys/dmap.h>. sys/dmap.h could probably be embedded
entirely in vm_swap.c since that is the only consumer of it.
2002-10-03 20:30:09 +00:00
Kenneth D. Merry
296b4b1692
Fix style problems in the quirk entry section.
...
MFC after: 2 weeks
2002-10-03 19:59:24 +00:00
David E. O'Brien
1d6bd7d717
Add stpcpy(3).
2002-10-03 19:51:04 +00:00
David E. O'Brien
8269e8c887
Add stpcpy(3).
2002-10-03 19:39:20 +00:00
Johan Karlsson
208464c323
Actually implement gzip's -c option. minigzip now also doubles
...
as zcat properly.
PR: 13043
Submitted by: Toshihiko ARAI <toshi@jp.freebsd.org>
Jonathan Towne <jontow@twcny.rr.com>
Approved by: peter, sheldonh (mentor)
MFC After: 2 weeks
2002-10-03 19:30:22 +00:00
Mike Barcroft
d3749f0c2b
Fix various style(9) bugs:
...
o Unusual order of #ifndef _FOO_H_, followed by license.
o Missing tabs in typedef and #define.
o Reversed comment for #endif.
2002-10-03 18:34:13 +00:00
Mike Barcroft
96cb38342d
Cope with a GCC bug by using an alternative, but equivalent function
...
prototype for regexec().
Noticed by: robert
2002-10-03 18:12:03 +00:00
Hajimu UMEMOTO
a52b6b83a2
Allocate 64K recieve buffer for DNS responses.
...
Though res_query.c also defines and refers MAXPACKET, it is not
related to ansbuf. So, I didn't touch res_query.c.
2002-10-03 17:25:33 +00:00
Bruce Evans
bb2d6f211d
Oops, the previous version was a last minute test version with off_t
...
replaced by int instead of size_t.
Spotted by: fanf
2002-10-03 17:19:36 +00:00
Yoshihiro Takahashi
64316569f5
Connected boot2.
2002-10-03 16:21:40 +00:00
Yoshihiro Takahashi
af64a99c32
Added some header files from -stable and fixed the boot[12] programs.
2002-10-03 16:20:14 +00:00
Bruce Evans
684370e703
Use a non-bogus type for representing the values of offsets in structs.
...
off_t is for offsets in files, and it is signed so it was no better
than the original type of int for avoiding warnings from broken lints,
except accidentally on machines like i386's where size_t is smaller
than off_t.
2002-10-03 15:00:07 +00:00
Tony Finch
35704b2f29
Fix some twelve hour clock braindamage. The range for hours is 0-23 not 1-12.
...
MFC After: 1 week
2002-10-03 14:11:29 +00:00
Tim J. Robbins
17f6e5b0e7
Improve three instances of questionable or confusing grammar.
2002-10-03 14:09:06 +00:00
Tim J. Robbins
28ddc4138c
Add an example.
2002-10-03 14:07:26 +00:00
Robert Watson
b3fdd39dec
Updated text for the MAC framework, UFS2.
2002-10-03 13:46:09 +00:00
Tim J. Robbins
b06b097805
Document towlower() and towupper() in separate manual pages instead of
...
trying to confusingly document both on the same page. The new manual pages
are based on tolower(3) and toupper(3) instead of the old towlower(3).
2002-10-03 11:23:06 +00:00
Tim J. Robbins
9981ef2702
Point out that although toupper() and tolower() really accept rune_t's
...
and not just unsigned char's, callers should use towupper() and towlower()
instead when working with wide characters if portability is a concern.
2002-10-03 11:14:00 +00:00