Poul-Henning Kamp
ce2fb5776b
'&' not used for pointers to functions.
...
Spotted by: FlexeLint
2002-10-20 21:31:16 +00:00
Poul-Henning Kamp
659d5e21c7
Remove even more '&' from pointers to functions.
...
Spotted by: FlexeLint
2002-10-20 21:30:02 +00:00
Julian Elischer
2f030624b1
Add an actual implementation of kse_wakeup()
...
Submitted by: Davidxu
2002-10-20 21:08:47 +00:00
Poul-Henning Kamp
b8c9bc1a22
Stamping out more Danglish.
2002-10-20 20:59:10 +00:00
Andrew Gallatin
2ea9877c1b
give alpha a bus_space_subregion() so that ahd_pci compiles and moves
...
LINT one file further on. Only 999,999 or so more files to go..
2002-10-20 20:55:37 +00:00
Poul-Henning Kamp
083019ba97
Don't us an array[1], it just hides where '&' isn't used right.
...
Be consistent about functions being static.
Verified by: md5 hash of generated .o file.
2002-10-20 20:53:42 +00:00
Poul-Henning Kamp
975b628f27
Use ENOSPC error return, not ENOMEM.
...
Use %jd rather than %lld.
2002-10-20 20:50:31 +00:00
Poul-Henning Kamp
50c026e579
Change the definition of the debugging registers to be an array, so
...
that we can index into it, rather than do pointer gymnastics on a
structure containing 8 elements.
Verified by: MD5 hash on the produced .o files.
2002-10-20 20:48:56 +00:00
Poul-Henning Kamp
858b84f550
'&' is not needed to pointerize functions.
...
Spotted by: FlexeLint
2002-10-20 20:42:25 +00:00
Alexander Kabaev
51d123d69b
Connect ubsa module to build.
...
Forgotten by: kan
2002-10-20 20:35:14 +00:00
Poul-Henning Kamp
3f12caa180
Now that the sectorsize and mediasize are properties of the provider,
...
don't take the detour over the I/O path to discover them using getattr(),
we can just pick them out directly.
Do note though, that for now they are only valid after the first open
of the underlying disk device due compatibility with the old disk_create()
API. This will change in the future so they will always be valid.
Sponsored by: DARPA & NAI Labs.
2002-10-20 20:28:24 +00:00
Poul-Henning Kamp
943305f753
The g_id*() functions are not needed in the userland test-suite so
...
#ifdef _KERNEL them rather than deal with a copyin simulation.
Sponsored by: DARPA & NAI Labs
2002-10-20 20:08:44 +00:00
Alan Cox
f3b676f0ad
o Reinline vm_page_undirty(), reducing the kernel size. (This reverts
...
a part of vm_page.h revision 1.87 and vm_page.c revision 1.167.)
2002-10-20 19:57:55 +00:00
Andrey A. Chernov
4bcccb2ebd
Add checks for DIGIT set consistency to prevent common misinterpretation
...
automatically.
Remove output file on error.
Staticize functions declared as static.
2002-10-20 19:56:15 +00:00
Chris Costello
0540c0eb2a
Stick .Os between .Dd and .Dt
2002-10-20 19:45:39 +00:00
Chris Costello
19eec4135d
Move .Os to its proper location in the document.
2002-10-20 19:44:36 +00:00
Thomas Moestl
10a3514a2e
Use microuptime() instead of microtime() to bound the flush wait to
...
avoid hiccups in case of system time adjustment.
2002-10-20 19:41:21 +00:00
Chris Costello
bba43ee522
o Spelling, punctuation and markup fixes.
...
o Correctly use the "No chain is stronger than its weakest link" adage.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-10-20 19:38:28 +00:00
Chris Costello
aa77750747
o Use .Cm for 'attach', 'detach', 'init', 'setkey', and 'destroy' commands
...
o Fix some punctuation and wording
o Wording consistency in command-line option documentation
o Make use of mdoc's markup a bit more (quoting and the like)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-10-20 19:20:26 +00:00
Poul-Henning Kamp
48444d6262
Make the sectorsize a property of providers so we can include it in the XML
...
output.
Sponsored by: DARPA & NAI Labs
2002-10-20 19:18:07 +00:00
Poul-Henning Kamp
930f6f2f6d
s/dettach/detach/g etc.
...
Pointed out by: chris
2002-10-20 19:08:56 +00:00
Poul-Henning Kamp
14ac6812b9
Use %jd instead of %lld now that we have it.
2002-10-20 18:48:12 +00:00
Poul-Henning Kamp
9e2ebaa081
It makes more sense for the fwheads and fwsectors properties to be in
...
the provider stanza rather than the geom stanza.
2002-10-20 18:46:25 +00:00
Tor Egge
0a676b7eb6
Fix data corruption caused by last byte in oddly sized transfers being read
...
to wrong location in RxBuf and written from wrong location in TxBuf.
2002-10-20 18:43:11 +00:00
Poul-Henning Kamp
8f9628a126
Include fwsectors and gfwheads in the XML output for the disks we know.
...
Sponsored by: DARPA & NAI Labs.
2002-10-20 18:09:01 +00:00
Poul-Henning Kamp
05f6411a98
Remove a boatload of '&' which are surplus to the requirements.
...
Validated by: md5 hash is unchanged.
2002-10-20 18:02:46 +00:00
Poul-Henning Kamp
7f30cdf366
Revert last commit, there actually was a -1 waaaaay down in pcireg_cfgread().
2002-10-20 17:54:17 +00:00
Poul-Henning Kamp
218565dc75
Hide inline assembly if lint is defined.
2002-10-20 17:30:30 +00:00
Poul-Henning Kamp
a67ee49294
"id" is never going to be -1 when it is unsigned.
...
Spotted by: FlexeLint
2002-10-20 17:21:43 +00:00
Thomas Moestl
4ed0293602
Adapt to handle the new sparc64 core dump format correctly.
...
Reviewed by: jake
2002-10-20 17:06:50 +00:00
Thomas Moestl
e381d2455b
Add kernel dump support, based on the ia64 version (which was committed
...
as sparc64/sparc64/dump_machdep.c a while back).
Other than ia64 (which uses ELF), sparc64 uses a homegrown format for
the dumps (headers are required because the physical address and size of
the tsb must be noted, and because physical memory may be discontiguous);
ELF would not offer any advantages here.
Reviewed by: jake
2002-10-20 17:03:15 +00:00
Poul-Henning Kamp
58f07abfc9
Don't declare mb_statpcpu, it is static in subr_mbuf.c
...
Spotted by: FlexeLint
2002-10-20 16:55:52 +00:00
Makoto Matsushita
af09f57d85
Nuke pccard.conf from FreeBSD/i386 mfsroot (no longer needed).
...
Suggested by: nyan
2002-10-20 16:27:11 +00:00
Poul-Henning Kamp
4294d700d6
Fix mis-indentation.
...
Approved by: scottl
2002-10-20 16:00:43 +00:00
Yoshihiro Takahashi
fda7c25a9b
Remove the slattach command from the mfsroot floppies.
2002-10-20 15:40:09 +00:00
Yoshihiro Takahashi
b6e566c93b
- Remove the UFS_ACL option from the boot floppies.
...
- Remove duplicate entries.
2002-10-20 15:37:32 +00:00
Ceri Davies
362ebd996c
Correct various typos.
...
PR: docs/44302
Submitted by: Christian Brueffer <chris@unixpages.org>
Approved by: phk
2002-10-20 15:27:32 +00:00
Ceri Davies
e1eecee002
Remove quotes to make an example of kernel configuration valid.
...
PR: docs/44306
Submitted by: Dmitry Dyomin <old@old.com.ua>
MFC after: 3 days
2002-10-20 15:19:40 +00:00
Poul-Henning Kamp
fa5dbec89f
Use .PATH instead of VPATH.
...
Fix typo in man-page: man-section is 8.
2002-10-20 15:02:26 +00:00
Poul-Henning Kamp
87d4861cc5
Be consistent about functions being static.
...
Spotted by: FlexeLint
2002-10-20 14:30:28 +00:00
Tony Finch
2441656486
Improve the way base64 mode is enabled based on the program name,
...
so that it works when the path to b64encode is used to run it.
2002-10-20 14:18:25 +00:00
Tom Hukins
7031dac23d
Minor grammatical correction
2002-10-20 13:41:44 +00:00
Tilman Keskinoz
8d9e008a2e
Add my birthday.
...
Approved by: kris (mentor)
2002-10-20 13:33:45 +00:00
Mark Murray
dc2f663b39
Do not build the majority of the games. Remaining are the
...
"utility-like" games and everyone's favourite, fortune(6).
2002-10-20 11:18:56 +00:00
Makoto Matsushita
9c499b692a
Since NEWCARD is the default for i386, undef PCCARD_ARCH.
...
pccard.c is no longer needed for i386 also.
OKed by: imp, nyan
2002-10-20 11:16:41 +00:00
Poul-Henning Kamp
d220f5beb9
Complete the Geom Based Disk Encryption: Add the OAM utility.
...
Sponsored by: DARPA and NAI Labs
2002-10-20 11:16:13 +00:00
Poul-Henning Kamp
8e91949016
Constify input to the arc4 seed function.
...
Implement the lockfile hunting in sector zero.
Sponsored by: DARPA & NAI Labs.
2002-10-20 11:09:58 +00:00
Tim J. Robbins
9d649c1fd0
When recycling a cached connection, increment the reference count so that
...
the heap block does not get freed and reused. This should fix the
pkg_add -r crashes that have been happening for months.
2002-10-20 10:36:27 +00:00
Udo Erdelhoff
5728b15141
MFbed: hardware/common/dev.sgml 1.108 -> 1.110
...
relnotes/common/new.sgml 1.433 -> 1.437
2002-10-20 10:11:01 +00:00
Poul-Henning Kamp
ab33958276
#unifdef the code for checking blessed lock collisions until we need it.
...
Spotted by: DARPA & NAI Labs.
2002-10-20 08:48:39 +00:00