Scott Long
46ea475783
Bump __FreeBSD_version to 510100 for 5.1-CURRENT
2003-06-02 05:05:27 +00:00
Scott Long
5f23c2b5c4
We are at 5.1-CURRENT now
2003-06-02 04:58:43 +00:00
Gordon Tetlow
c94887be10
Document netfs_types.
2003-06-02 04:51:55 +00:00
David E. O'Brien
dfb835396a
Fix a style nit.
...
Submitted by: ru
2003-06-02 03:26:03 +00:00
David E. O'Brien
8d19a0584b
Don't use ## to concatinate to two things that don't together make a C token.
...
Two tokens that don't together form a vaid preprocssor token cannot be
pasted together using ANSI-C token concatinatation. GCC 3.2's cpp, at least,
produces the desired result w/o using "##".
2003-06-02 02:41:38 +00:00
David E. O'Brien
9f2636a8cf
Don't use a C compiler to assemble a pure asm file.
2003-06-02 02:37:27 +00:00
David E. O'Brien
0c60c0c3bb
Best we can do with this is c89.
2003-06-02 02:35:58 +00:00
David E. O'Brien
3d5f961224
Include stdlib.h to get exit()'s prototype.
2003-06-02 02:35:18 +00:00
David E. O'Brien
bd273f0c0b
Add the variable's type to the declaration.
2003-06-02 02:34:36 +00:00
David E. O'Brien
a23e5f4d43
.S comments must be C comments, not ASM ones.
2003-06-02 02:32:56 +00:00
David E. O'Brien
e683295e39
Use C99 compatible ASM statements.
2003-06-02 02:32:22 +00:00
David E. O'Brien
2295d19dd9
Don't set a C standard level for ObjC code.
2003-06-02 02:30:52 +00:00
David E. O'Brien
3dca32d865
Use ?= before someone brings it up.
2003-06-02 02:29:26 +00:00
David E. O'Brien
0ff4c492b4
CSTD=c89 due to mismatched declarations.
2003-06-02 02:18:37 +00:00
David E. O'Brien
479b54330b
To quote Tony Maher <tonymaher@optushome.com.au>, "maybe 3rd time lucky ;-)"
...
*sigh* Just can't get a brake when trying to react too quickly and fix the build.
2003-06-02 01:01:42 +00:00
Matt Jacob
e404e36b27
Check in some months long pending minor debug output changes.
...
Clarify that the implicit fallthrough was *not* intentional (thanks, Poul!)
and reorganize the code so a correct fallthrough (with /* FALLTHROUGH */)
occurs.
2003-06-02 00:37:42 +00:00
David E. O'Brien
69bb404192
Use C99 compatable asm statements.
2003-06-02 00:29:35 +00:00
Robert Watson
778f8875c7
Revert accidental change: don't change the thread library for testing to
...
libthr. Oops, sorry about that.
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
2003-06-02 00:21:41 +00:00
Marcel Moolenaar
75fa7db991
o Fix a cut-n-paste bug. We were clobbering rp with gp...
...
o Make sure the arguments to ctx_wrapper() are loaded from the
backing store by forcing an underflow. Do this by making all
registers in the register frame local.
2003-06-02 00:16:39 +00:00
David E. O'Brien
f14fd87c5e
Temperarly turn off building the tree with c99.
...
I swore this made it thru a 'make world', but I don't know what happened.
2003-06-02 00:11:07 +00:00
Alan Cox
cccf11b865
Change kernel_object and kmem_object to (&kernel_object_store) and
...
(&kmem_object_store), respectively. This allows the address of these
objects to be resolved at link-time rather than run-time.
2003-06-01 23:59:48 +00:00
David E. O'Brien
631a2b1ed8
Ugg, wrong version.
...
CSTD=gnu89, c89 wont do.
2003-06-01 23:39:16 +00:00
David E. O'Brien
90f6678b64
This isn't C99 clean.
2003-06-01 23:37:46 +00:00
Marcel Moolenaar
0fa2b83829
Improve set_mcontext:
...
o Don't copy psr verbatim from the user supplied context. Only allow
userland to change the processor settings that are part of the user
mask.
2003-06-01 23:22:56 +00:00
Marcel Moolenaar
86f4f6f7b8
Improve on cpu_set_upcall:
...
o Use pcb and tf for the new pcb and the new trapframe and use pcb0
for the old (current) pcb. The mix of pcb, pcb2 and tf was slightly
confusing.
o Don't define td->td_frame here. It has already been set previously
by cpu_thread_setup. Add a KASSERT to make sure pcb and tf are both
non-NULL.
o Make sure the number of dirty registers is 0 for the new thread.
There are no user registers on the backing store because we heven't
enter userland yet.
2003-06-01 23:19:21 +00:00
Ruslan Ermilov
234dfc904a
A new API function PacketAliasRedirectDynamic() can be used
...
to mark a fully specified static link as dynamic; i.e. make
it a one-time link.
2003-06-01 23:15:00 +00:00
Robert Watson
0bbe770d6f
Include string.h for memset().
2003-06-01 23:03:49 +00:00
Ruslan Ermilov
f1a529f3da
Make the PacketAliasSetAddress() function call optional. If it
...
is not called, and no static rules match an outgoing packet, the
latter retains its source IP address. This is in support of the
"static NAT only" mode.
2003-06-01 22:49:59 +00:00
Tim J. Robbins
ebe5d44d5a
Give the -o option before any filename operands when invoking the sort
...
utility. 1003.1-2001 does not allow sort to accept the -o option after
the operands (Base Definitions, 12.2 Utility Syntax Guidelines,
Guideline 9).
2003-06-01 22:37:38 +00:00
David E. O'Brien
e56d2b1be6
crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89.
2003-06-01 22:18:05 +00:00
David E. O'Brien
28c3f28e32
Use a bigger hammer -- keep all -std= out of CXXFLAGS.
...
Also allow for "CSTD=" in a Makefile.
2003-06-01 22:13:45 +00:00
Maxime Henrion
1edc4c46b8
Change a :
...
bzero(ptr, sizeof(DC_RXLEN * 5));
which should obviously be:
bzero(ptr, DC_RXLEN * 5);
Looks like this bug may have reduced the effectiveness of the
workaround for the hardware bug in the PNIC chips.
MFC after: 1 week
2003-06-01 22:09:12 +00:00
Ruslan Ermilov
3cc3bf5282
Assorted mdoc(7) fixes.
2003-06-01 21:52:59 +00:00
Juli Mallett
d7ea49283c
Match style of source and headers.
...
Submitted by: bde
2003-06-01 21:35:27 +00:00
David E. O'Brien
5622a7e02d
Do not set a C standard for the C++ compiler.
2003-06-01 21:33:05 +00:00
David E. O'Brien
5345d76f4a
Be sloppier about the miidevs.h dependency. This reduces the maintenance
...
effort at the expense of making miidevs.h a dependency for very .o.
Requested by: imp
2003-06-01 20:47:46 +00:00
David E. O'Brien
3c5dad6ef0
Accpet '1'..'5' in place of F1..F5 for serial console users.
...
Reviewed by: Bruce M Simpson <bms@spc.org>
2003-06-01 20:41:04 +00:00
David E. O'Brien
4b620ec03d
Shorten long comment.
2003-06-01 20:28:20 +00:00
David E. O'Brien
713c939103
Sync with i386/GENERIC ordering.
2003-06-01 20:26:38 +00:00
Ruslan Ermilov
215640d59f
Keep entries sorted by floppy, type, and name.
2003-06-01 20:01:05 +00:00
Ruslan Ermilov
052a8966eb
Assorted mdoc(7) fixes.
2003-06-01 19:52:36 +00:00
Ruslan Ermilov
9be025500d
Assorted mdoc(7) fixes.
2003-06-01 19:41:49 +00:00
Maxime Henrion
0934f18afb
- Style(9) fixes, most notably :
...
o Remove register keyword
o ANSIfy prototypes
o Remove "return;" at the end of void functions
o Remove trailing spaces
o Don't align local variables with tabs and reorder them
o Don't use /* FOO */ at the end of a #ifdef FOO block if
it's a small block
- Other non-functional changes :
o 6 -> ETHER_ADDR_LEN
o Don't initialize if_output; ether_ifattach() does it for us
2003-06-01 19:26:34 +00:00
Ruslan Ermilov
0e35e492fc
Assorted mdoc(7) fixes.
2003-06-01 19:19:59 +00:00
Matt Jacob
d8f9e010d2
Restore parentheses removed inappropriately in last commit.
2003-06-01 19:01:01 +00:00
David E. O'Brien
5890829965
Compile our code as C99 by default.
2003-06-01 18:31:25 +00:00
Andrey A. Chernov
09d8eeb1ed
Add zh_CN.GBK
...
PR: 51504
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
2003-06-01 15:51:27 +00:00
Andrey A. Chernov
803ae193da
Add zh_CN.GBK
2003-06-01 15:37:37 +00:00
Andrey A. Chernov
9d793e98ec
Add GBK encoding
...
PR: 51504
Submitted by: Statue <statue@freebsd.sinica.edu.tw>
2003-06-01 15:30:56 +00:00
Poul-Henning Kamp
7e02e189ae
Add the part of the last commit which cvs appearantly didn't like
...
the first time.
2003-06-01 15:05:22 +00:00