| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: njl (mentor, blanket)
|
|
|
|
|
|
|
|
|
| |
and only supports just over 7GB of swap...
Sound a bit more professional..
Inspired by: Marc G. Fournier
MFC After: 3 days
|
|
|
|
|
|
| |
# I didn't check the markup too closely, so doc people, please check
Submitted by: Oliver Fromme
|
|
|
|
|
|
|
| |
which is #if'ed out since nearly eight years, along with its outdated
database.
Agreed by: ru (some months ago)
|
|
|
|
|
| |
loader so that it can memory can be allocated aligned at the beginning of
the desired large page
|
|
|
|
|
|
| |
refer to the respective manpage for details.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to get the physical address doesn't work for all values of KVA_PAGES,
while masking 8 MSBs works for all values of KVA_PAGES that are
multiple of 4 for non-PAE and 8 for PAE. (This leaves us limited
with 12MB for non-PAE kernels and 14MB for PAE kernels.)
To get things right, we'd need to subtract the KERNBASE from the
virtual address (but KERNBASE is not easy to figure out from here),
or have physical addresses set properly in the ELF headers.
Discussed with: jhb
|
|
|
|
|
|
|
|
|
| |
device (kind) specific unit field to the common field. This change
allows a future version of libefi to work without requiring anything
more than what is defined in struct devdesc and as such makes it
possible to compile said version of libefi for different platforms
without requiring that those platforms have identical derivatives
of struct devdesc.
|
|
|
|
|
| |
i386/amd64 and pc98. Remove useless calls to bcache_init() from the
ia64 and sparc64 loaders, as well as from the OFW common code.
|
|
|
|
|
| |
would otherwise cause devclose() to free() the memory again.
o Refactor devopen() so that it's more readable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are no longer limited to a virtual address space of 16 megabytes,
only mask high two bits of a virtual address. This allows to load
larger kernels (up to 1 gigabyte). Not masking addresses at all
was a bad idea on machines with less than >3G of memory -- kernels
are linked at 0xc0xxxxxx, and that would attempt to load a kernel
at above 3G. By masking only two highest bits we stay within the
safe limits while still allowing to boot larger kernels.
(This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c
rev. 1.71.)
Prodded by: jhb
Tested by: nyan (pc98)
|
|
|
|
|
|
| |
PR: docs/85127
Submitted by: Gary W. Swearingen (partially)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
Otherwise, merge-help can get confused by a command description that
includes a word that starts with a capital S.
MFC after: 1 week
|
|
|
|
|
|
| |
screen's width, thus eliminating a groff(1) warning.
Suggested by: marck
|
|
|
|
|
|
|
| |
Touch .Dd.
Pointed out by: ru
MFC after: 1 week
|
|
|
|
|
|
| |
PR: 100427
Approved by: maxim
MFC after: 1 week
|
|
|
|
| |
stale comments.
|
|
|
|
|
|
|
|
|
|
|
| |
when checking whether it's greater than a struct stat st_size in order
to also catch the case when st_size is -1. Previously this check didn't
trigger on sparc64 when st_size is -1 (as it's the case for a file on
a bzipfs, TFTP server etc.), causing the content of the linker hints
file to be copied to memory referenced by a null-pointer.
PR: 91231
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
means:
o Remove Elf64_Quarter,
o Redefine Elf64_Half to be 16-bit,
o Redefine Elf64_Word to be 32-bit,
o Add Elf64_Xword and Elf64_Sxword for 64-bit entities,
o Use Elf_Size in MI code to abstract the difference between
Elf32_Word and Elf64_Word.
o Add Elf_Ssize as the signed counterpart of Elf_Size.
MFC after: 2 weeks
|
|
|
|
| |
"boot_dfltroot", "boot_mute", and "boot_pause" respectively.
|
|
|
|
|
|
|
|
|
|
|
|
| |
the serial console speed (i386 and amd64 only). If the previous
stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE)
then the default speed is determined from the current serial port
speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED
at compile time.
This makes it possible to set the serial port speed once in
/boot.config and the setting will propagate to boot2, loader and
the kernel serial console.
|
|
|
|
|
|
|
| |
loader.conf line ``console="vidconsole"''.
Sponsored by: ActiveState/Sophos
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Tobias Roth
MFC after: 5 days
|
|
|
|
| |
Approved by: re (blanket)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Teach the i386 and pc98 loaders to honor multiple console requests from
their respective boot2 binaries so that the same console(s) are used in
both boot2 and the loader.
- Since the kernel doesn't support multiple consoles, whichever console is
listed first is treated as the "primary" console and is passed to the
kernel in the boot_howto flags.
PR: kern/66425
Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
user to interrupt autoboot process at all. Currently, even when
`autoboot_delay' is set to 0, loader(8) still allows autoboot process to be
interrupted by pressing any key on the console when the loader reads kernel
and modules from the disk. In some cases (i.e. untrusted environment) such
behaviour is highly indesirable and user should not be allowed to interfere
with the autoboot process at all.
Sponsored by: PBXpress Inc.
MFC after: 3 days
|
| |
|
|
|
|
|
| |
Reminded by: ru
MFC after: 2 weeks
|
|
|
|
| |
license rather than the slightly custom licence in ufsread.c.
|
|
|
|
| |
did anything, so this commit should be considered a NO-OP.
|
|
|
|
| |
appear in the online command list.
|
|
|
|
|
| |
(This doesn't quite work as this command is overridden by Forth,
and some Forth commands are appended to the output.)
|
| |
|
| |
|
|
|
|
|
|
| |
# feel free to wordsmith.
Suggested by: ru@
|
| |
|
|
|
|
| |
Requested by: ru@
|
|
|
|
|
| |
Those changes were made on gmirror needs, but now gmirror handles this
by itself.
|
|
|
|
| |
PR: 47187
|
| |
|
|
|
|
|
| |
For novice users, beastie.4th can just do it. Expert users can
read ACPI instructions by typing "help ACPI".
|
| |
|
| |
|
|
|
|
| |
happens if $prompt is unset.
|
| |
|
| |
|
|
|
|
| |
the `?' command.
|