christos
a93db399ff
add a LOAD_NOTE flag to make loading the note optional.
2008-09-25 20:59:38 +00:00
ad
e69aa3297c
Take $MACHINE into account when looking for modules.
2008-05-20 16:04:08 +00:00
ad
5cb8dd92fe
Extract kernel version from the note section and stuff into a global
...
netbsd_version.
2008-05-20 14:41:06 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
martin
933b671bfa
Add a MARK_DATA marker containing the effective VA of the first loaded
...
data segment.
2007-06-05 08:48:49 +00:00
scw
3722390978
Allow the default location of "machine/loadfile_machdep.h" to be
...
overridden if MACHINE_LOADFILE_MACHDEP is defined.
This makes life much simpler in the face of the myriad of
different boot options for the evb* ports.
2003-04-29 13:03:55 +00:00
pk
d71686ab26
Introduce fdloadfile() to load an image from an open file descriptor;
...
implement loadfile() in terms of it.
This allows clients to open a file once and "load" it multiple times (e.g.
first with COUNT_KERNEL, then with LOAD_KERNEL) without the side-effects
of multiple open calls.
2003-02-24 10:51:05 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +00:00
christos
0fdd24ecdc
MI loadfile (used by i386, pmax and sparc shortly)
1999-04-28 09:08:50 +00:00