peter
5147ce6799
Make this 'make obj' safe
2001-09-26 00:13:08 +00:00
dfr
3282be0059
Calculate the valid flag for ITRs and DTRs correctly. Also fix a couple
...
of minor problems and remove some debugging code.
2001-09-25 19:44:19 +00:00
dfr
13d5944594
Add commands to dump the itrs and dtrs.
2001-09-24 19:39:34 +00:00
dfr
876717e81e
Return the mapkey which EFI gave us when we read the memory map - we need
...
it to call ExitBootServices.
2001-09-24 19:37:44 +00:00
dfr
e19e9a8972
Tidy up a little - don't try to print anything or enable interrupts after
...
we start changing translation registers. Also, call ExitBootServices
before we jump into the kernel.
2001-09-24 19:36:45 +00:00
dfr
73f1755f49
Pick up pal.s from the kernel sources.
2001-09-24 19:31:44 +00:00
dfr
29ad18d594
Add commands to dump the configuration tables and the SAL System Table.
2001-09-23 10:28:01 +00:00
dfr
c87ffaaf40
Add EFI network support.
2001-09-22 19:12:30 +00:00
dfr
bf77b20f03
* Flesh out elf_exec and bootinfo.
...
* Add EFI network support.
2001-09-22 19:10:56 +00:00
dfr
c167877c16
Add getsecs() for the libstand network code.
2001-09-22 18:33:09 +00:00
dfr
fb20752c1a
Add a twiddle meter when reading from files. Gives me something to look
...
at when a kernel is loading from a floppy.
2001-09-22 18:31:02 +00:00
dfr
8b6fdd5792
Add definition of SSC_GET_RTC.
2001-09-20 08:22:56 +00:00
dfr
42cbd97a48
Implement time().
2001-09-19 12:12:12 +00:00
sobomax
5597a20c93
Add support for loading bzip2-compressed kernels and modules. This support
...
is turned off by default and could be enabled by defining LOADER_BZIP2_SUPPORT
make variable. Also make gzip support optional (turned on by default) -
it could be turned off via LOADER_NO_GZIP_SUPPORT make variable.
Please note, that due to limit on the amount of memory available to the
loader(8), it is possible to load modules/kernels compressed with the smallest
block size supported by the bzip2 - 100k (`-1' bzip2(1) option), however
even in this mode bzip2(1) usually provides better compression ratio than
gzip(1) in its best compression mode.
MFC after: 1 month
2001-09-18 14:52:36 +00:00
nyan
352dfc76e4
MFi386: sys/boot/i386/loader/main.c revision 1.24.
2001-09-16 05:22:51 +00:00
nyan
4e578f4f40
MFi386: sys/boot/i386/libi386/Makefile revision 1.20.
2001-09-16 05:22:27 +00:00
dfr
573409ef19
Add a fake memory descriptor for the I/O port space.
2001-09-15 18:29:42 +00:00
dfr
60a2e27040
Fill in the bootinfo's memory map.
2001-09-15 09:53:56 +00:00
dfr
44cdde0e70
Remove dead code.
2001-09-15 08:25:16 +00:00
dfr
2168ec3a50
Plug in ELF backend.
2001-09-14 08:28:17 +00:00
dfr
fba6b92ecd
Add ELF backend to the build.
2001-09-14 08:27:49 +00:00
dfr
83cd82c3c4
Make this do the right thing (mostly). We should still reserve the pages
...
that the kernel loads into using the EFI AllocatePages call.
2001-09-14 08:26:00 +00:00
dfr
78bcb999c4
Update code which creates bootinfo.
2001-09-13 12:49:02 +00:00
dfr
e457c6698c
A command file for SKI which runs the loader up to the first instruction
...
of the loaded kernel.
2001-09-12 15:08:49 +00:00
ru
62afc35080
Create backup copies using install(1).
2001-09-12 10:25:50 +00:00
dfr
83e00d4274
Build ficl on all architectures.
2001-09-12 08:35:05 +00:00
dfr
49cae21f8a
Add a version of the loader which runs under SKI, the HP ia64 simulator.
...
This loader is quite functional and can load and run kernels. The kernels
don't quite work right after loading but that should be easily fixable.
2001-09-12 08:34:27 +00:00
peter
808991de7c
Implement the long-awaited module->file cache database. A userland
...
tool (kldxref(8)) keeps a cache of what modules and versions are inside
what .ko files. I have tested this on both Alpha and i386.
Submitted by: bp
2001-09-11 01:09:24 +00:00
dfr
6ac93bff0d
Add missing entry to memory type name table and adjust field widths.
2001-09-08 12:32:12 +00:00
dfr
72380c0707
Add a command 'memmap' to print out the EFI memory map.
2001-09-08 12:21:37 +00:00
dfr
99af25f895
Hook up the native EFI filesystem reader.
2001-09-07 08:52:53 +00:00
dfr
b750cc500a
Set currdev and loaddev variables.
2001-09-07 08:52:26 +00:00
dfr
622326c63f
Add a libstand filesystem for accessing EFI native filesystems.
2001-09-07 08:51:48 +00:00
dfr
6f1a1519fd
Reformat.
2001-09-07 08:49:47 +00:00
dfr
b0318c4f62
Merge linker set relocations with the rest.
2001-09-05 13:36:41 +00:00
dfr
feff1475b3
Enable bootforth.
2001-09-04 14:48:59 +00:00
dfr
838d91e725
Avoid an alignment fault on 64bit architectures.
...
Reviewed by: dcs
2001-09-04 13:13:12 +00:00
dfr
31b78d3bf3
Make sure we copy over the linker set sections to the EFI executable.
2001-09-04 08:59:38 +00:00
dfr
07738f1f32
Add definition for arch-ia64.
2001-09-04 08:51:15 +00:00
dfr
64c5352bc7
Add ia64 system dependancies.
2001-09-04 08:50:23 +00:00
bde
da7bfcdf0c
Don't clobber the default for CFLAGS.
...
Reviewed by: dfr
2001-08-31 11:01:20 +00:00
msmith
437849a8f7
Mention that the ACPI module load can be disabled by unsetting $acpi_load
2001-08-30 01:05:28 +00:00
msmith
41b36448bc
Teach the loader how to find the system ACPI information, and autoload
...
the ACPI module if the system apperars to be ACPI compliant.
This is an initial cut; the load should really be done by Forth support
code, and we should check both the BIOS build date and a blacklist.
2001-08-30 00:42:12 +00:00
benno
d24e31398c
Pass NULL instead of MAXPHYS to the DMA allocation method. Be a bit more
...
verbose if we fail to allocate the DMA buffer.
2001-08-26 07:07:47 +00:00
peter
dd00777ae1
OK, now I am scared of pxeldr. It had /boot/loader appended onto
...
the end of it and decoded the headers.
Submitted by: jhb
2001-08-22 08:02:01 +00:00
peter
89919bf2cb
Generate an ELF /boot/loader instead of fake a.out. The fake a.out wrapper
...
did not work with old a.out-only bootblocks anyway. :-(
2001-08-22 05:29:25 +00:00
ru
2aca5dc8f6
mdoc(7) police: markup nits.
2001-08-20 08:55:07 +00:00
dillon
05c33a209b
Limit the amount of KVM reserved for the buffer cache and for swap-meta
...
information. The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache. This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.
Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating. The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.
2001-08-20 00:41:12 +00:00
ru
e8e5635e4a
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
obrien
44bfd6c08a
Style cleanup.
2001-08-10 22:31:05 +00:00