| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fixed casts of non-`void *' pointers to uintptr_t. Fixed related
style bugs. This file uses perfectly non-KNF formatting for casts.
|
| |
|
| |
|
|
|
|
|
|
|
| |
linker as well.
PR: 15014
Submitted by: Vladimir N. Silyaev <vns@delta.odessa.ua>
|
| |
|
| |
|
|
|
|
| |
as it seems to work.. (at least on i386/elf).
|
|
|
|
| |
kernel compile
|
|
|
|
| |
Reviewed by: Peter Wemm <peter@netplex.com.au>
|
|
|
|
| |
a.out kld modules, and a.out kernels can load ELF kld modules.
|
|
|
|
| |
a kldload attempt.
|
|
|
|
| |
about unused variables, labels and other lint.
|
|
|
|
| |
Pre-Approved by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- symbol_values checks that the symbol is indeed belonging to the
correct symbol and string table pairs before looking up. (since there
could be many pairs, and KLD/DDB need to find out).
- different ops for files versus preload modules - the unload mechanism
is different. (a preloaded module has to be deleted on unload since
the in-core image is tainted by relocation and variables used)
- Do not build an a.out kernel module if we're running on an elf
kernel. :-) Note that it should theoretically be possible to
mix a.out and elf KLD modules providing -mno-underscores was used
to compile it, or some other symbol conversion takes place.
- Support preload modules (even though /boot/loader doesn't yet)
- Search the module path when loading files.
|
| |
|
| |
|
|
|
|
| |
integers. Don't forget to cast to (void *) as well.
|
|
|
|
| |
for DDB to use its symbol tables.
|
|
|
|
|
|
|
| |
respectively. Most of the longs should probably have been
u_longs, but this changes is just to prevent warnings about
casts between pointers and integers of different sizes, not
to fix poorly chosen types.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
|
| |
|
|
|
|
| |
Found by: -Wunused
|
|
|
|
|
| |
also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...
|
| |
|
|
the patches in freefall:/home/dfr/ld.diffs to your ld sources and set
BINFORMAT to aoutkld when linking the kernel.
Library changes and userland utilities will appear in a later commit.
|