| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
broken, version of inet_ntoa(). It should go away.
|
|
|
|
| |
returning long. There would be many more if int_32_t were not int.
|
|
|
|
|
|
| |
description of DPT_SHUTDOWN_SLEEP in LINT. Didn't add timestamps
so that the (combined?) sleep interval can be printed as intended
in the original printf.
|
| |
|
|
|
|
| |
line. *hangs head in shame*
|
|
|
|
| |
time.
|
|
|
|
| |
xl entry to the interfaces config table.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
stability now. ALso modify /sys/conf/files, /sys/i386/conf/GENERIC
and /sys/i386/conf/LINT to add entries for the XL driver. Deactivate
support for the XL adapters in the vortex driver. LAstly, add a man
page.
(Also added an MLINKS entry for the ThunderLAN man page which I forgot
previously.)
|
| |
|
|
|
|
|
| |
PR: 7621
Submitted by: Mark Huizer
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
applications. Here's how it works.
The kernel should include <machine/elf.h> to get the definitions
for the native architecture. It can reference the various ELF
structures with generic names like Elf_Sym, Elf_Shdr, etc. A define
__ELF_WORD_SIZE is also available with the value 32 or 64 as
appropriate for the native architecture.
Generic applications should include <elf.h>, which is just a wrapper
for <machine/elf.h>.
Applications such as object file dumpers that need to deal with
foreign ELF files can include <sys/elf32.h> and/or <sys/elf64.h>.
Both can be included from the same source file if desired. The
structure names must be referenced using wordsize-specific names
like Elf32_Sym, Elf64_Shdr, etc.
I haven't change the alpha stuff, but I haven't broken it either.
|
| |
|
|
|
|
|
| |
chroot tree right after everything has been checked out and we're ready
to go.
|
|
|
|
| |
integers. Don't forget to cast to (void *) as well.
|
|
|
|
| |
Don't cast a pointer to a long just to print it.
|
| |
|
|
|
|
| |
from int to u_long but not changing here.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cast pointers to (vm_offset_t) instead of to (u_long) (as before) or to
(uintptr_t)(void *) (as would be more correct). Don't cast vm_offset_t's
to (u_long) just to do arithmetic on them.
mp_machdep.c:
Cast pointers to (uintptr_t) instead of to (u_long). Don't forget
to cast pointers to (void *) first or to recover from integral
possible integral promotions, although this is too much work for
machine-dependent code.
vm code generally avoids warnings for pointer vs long size mismatches
by using vm_offset_t to represent pointers; pmap.c often uses plain
`unsigned int' instead of vm_offset_t and didn't use u_long elsewhere,
but this style was messed up by code apparently imported from mp_machdep.c.
|
|
|
|
|
|
| |
address constants. This fixes some warnings for conversions from
64-bit integers to 32-bit pointers on i386's with 64-bit longs.
vm86 still uses too many u_longs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointers. Neither is portable, but "correct" casts to integral
types are much uglier - they lead to expressions like
ptr = (struct struct_with_too_long_a_name *)(void *)(uintptr_t)
((uintptr_t)(void *)ptr + offset);
Here the cast to the struct pointer is to match the surrounding
style of this file (and not depend on C's feature of properly
converting `void *' on assignment or cast), the `void *' casts are
because uintptr_t is only specified to work on `void *' pointers
(I missed this in about 100 lines of previous changes from [u]long
to [u]intptr_t), the outer cast to a uintptr_t is in case the
addition promoted the type, and the inner cast to a uintptr_t
corresponds to the one cast to an integer in the original code.
Don't depend on gcc's feature of casting lvalues.
|
| |
|
|
|
|
|
|
| |
It can be integral or a struct in POSIX, so it is difficult to print,
but it is actually declared as unsigned long. Assume that it is
unsigned integral.
|
|
|
|
| |
from int to u_long but not changing here.
|
|
|
|
|
| |
for `u_long cmd' ioctl args if __FreeBSD_version >= 300003. Some ioctls
were broken on machines with 32-bit ints and 64-bit longs.
|
|
|
|
| |
possibly different size).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ldconfig isn't required.
|
|
|
|
|
|
|
|
|
|
|
| |
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.
This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.
Submitted by: Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
now (mainly because I haven't ported them from the NetBSD crash dump
environment).
Obtained from: NetBSD
|
|
|
|
|
|
| |
bug was the cause of the 'freeing free frag' panics that people have been
seeing with FreeBSD/alpha. I have a similar patch to newfs but I've not
finished testing it.
|
|
|
|
| |
- Oops, I forgot to merge several lines from sys/i386/isa/syscons.c.
|
| |
|
|
|
|
| |
loader before it has been installed in an aout to elf transition build.
|
|
|
|
| |
loader before it has been installed in a transition build from aout to elf.
|
|
|
|
|
|
| |
static to avoid them trying to use shared libraries before we're
ready. During the initial elf buildworld, the shared loader only
exists in the obj tree, so it can't be used.
|
|
|
|
|
|
|
| |
more often than not.
Also included Doug Rabson's changes to make this script better handle the
two varieties of nm output we now have.
|
| |
|
|
|
|
|
| |
Submitted by: Sheldon Hearn <axl@iafrica.com>
set crt='' so that mail(1) will page according to stty(1) setting
|