summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
Commit message (Collapse)AuthorAgeFilesLines
* Add documentation for the vm.kmem_size_min and vm.kmem_size_max tunables.sepotvin2007-05-091-1/+10
| | | | Approved by: njl (mentor, blanket)
* fixup talk of kern.maxswzone... It's been 32MB for almost 5 years now...jmg2007-05-051-7/+6
| | | | | | | | | and only supports just over 7GB of swap... Sound a bit more professional.. Inspired by: Marc G. Fournier MFC After: 3 days
* Document the init_chroot and init_script variables.imp2007-02-041-0/+51
| | | | | | # I didn't check the markup too closely, so doc people, please check Submitted by: Oliver Fromme
* Garbage collect the code for auto-loading modules based on ISAPNP IDs,marius2007-01-072-381/+0
| | | | | | | which is #if'ed out since nearly eight years, along with its outdated database. Agreed by: ru (some months ago)
* add an interface for passing the entire kernel size up front to thekmacy2006-12-181-0/+2
| | | | | loader so that it can memory can be allocated aligned at the beginning of the desired large page
* Note that not all architectures use sendfile(2) buffers;yar2006-11-291-1/+4
| | | | | | refer to the respective manpage for details. MFC after: 3 days
* Unbreak compile with ELF_VERBOSE defined, and fix format warnings.ru2006-11-021-3/+4
|
* Revert the last change. Masking only 2 MSBs of the virtual addressru2006-11-021-1/+1
| | | | | | | | | | | | | 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
* Extend struct devdesc with a unit field, called d_unit. Promote themarcel2006-11-021-0/+1
| | | | | | | | | 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.
* Don't unconditionally compile-in the bcache code. It's only used onmarcel2006-11-021-1/+5
| | | | | i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code.
* o Make sure to clear f->f_devdata if d_dev->dv_open() fails. Itmarcel2006-11-021-13/+18
| | | | | would otherwise cause devclose() to free() the memory again. o Refactor devopen() so that it's more readable.
* Because the BTX mini-kernel now uses flat memory mode and clientsru2006-10-291-1/+1
| | | | | | | | | | | | | | | | 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)
* Replace a rarely used "depuration" with "debugging".ru2006-10-132-2/+2
| | | | | | PR: docs/85127 Submitted by: Gary W. Swearingen (partially) MFC after: 3 days
* Fix WARNS=2 warnings.ru2006-09-291-0/+2
|
* Ignore a sub-topic match if it is inside the command description.jhb2006-09-281-0/+3
| | | | | | | Otherwise, merge-help can get confused by a command description that includes a word that starts with a capital S. MFC after: 1 week
* Make the default "init_path" value breakable, so it fits on theru2006-08-201-1/+1
| | | | | | screen's width, thus eliminating a groff(1) warning. Suggested by: marck
* kern.ipc.nmbclusters is sysctl, not compile-time option. Change Dv to Va.marck2006-08-181-3/+3
| | | | | | | Touch .Dd. Pointed out by: ru MFC after: 1 week
* Remove references to NMBCLUSTERS which is obsoleted.marck2006-08-182-5/+3
| | | | | | PR: 100427 Approved by: maxim MFC after: 1 week
* Remove more Alpha bits from the boot code including fixing severaljhb2006-05-123-6/+2
| | | | stale comments.
* In moduledir_readhints() cast the value returned by sizeof() to ssize_tmarius2006-01-121-1/+2
| | | | | | | | | | | 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
* Make our ELF64 type definitions match standards. In particular thismarcel2005-12-184-7/+7
| | | | | | | | | | | | | 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
* Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:ru2005-09-222-1/+34
| | | | "boot_dfltroot", "boot_mute", and "boot_pause" respectively.
* Add a "comconsole_speed" loader variable that can be used to changeiedowse2005-08-181-1/+14
| | | | | | | | | | | | 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.
* Fix a comparison that broke ``set console=vidconsole'' and even thebrian2005-07-291-1/+1
| | | | | | | loader.conf line ``console="vidconsole"''. Sponsored by: ActiveState/Sophos MFC after: 1 week
* remove a pointless comment with a more helpful one...jmg2005-07-251-1/+1
| | | | | Submitted by: Tobias Roth MFC after: 5 days
* Improved markup, fixes some spelling and grammar.ru2005-06-141-12/+13
| | | | Approved by: re (blanket)
* Markup nits.ru2005-05-301-2/+2
|
* - Add support to the loader for multiple consoles.jhb2005-05-272-40/+99
| | | | | | | | | | | | | - 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
* Extend `autoboot_delay' handling - is this variable is set to -1 don't allowsobomax2005-05-193-28/+66
| | | | | | | | | | | | 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
* Whitespace only: kill trailing spaces.sobomax2005-05-191-15/+14
|
* Document the new default init_path.des2005-02-171-1/+1
| | | | | Reminded by: ru MFC after: 2 weeks
* Insert an explicit McAfee license, as we use a stock two-clause BSDrwatson2005-01-301-5/+26
| | | | license rather than the slightly custom licence in ufsread.c.
* Remove the last vestiges of the userconfig option. None of this actuallyscottl2004-12-011-4/+0
| | | | did anything, so this commit should be considered a NO-OP.
* There's no reason for "read" and "echo" commands to notru2004-11-131-2/+2
| | | | appear in the online command list.
* Pass the "?" command output through the pager.ru2004-11-121-4/+15
| | | | | (This doesn't quite work as this command is overridden by Forth, and some Forth commands are appended to the output.)
* Collapse several adjacent .if's into .if/.elif.ru2004-10-241-10/+7
|
* ELF64 support is not needed on pc98.nyan2004-10-241-1/+5
|
* document host_start_mem.imp2004-10-151-0/+12
| | | | | | # feel free to wordsmith. Suggested by: ru@
* Polish the last change.ru2004-10-151-5/+5
|
* Document hw.{pci,acpi}.host_start_memimp2004-10-151-0/+9
| | | | Requested by: ru@
* Back out changes which were introduced to delay mounting root file system.pjd2004-10-051-7/+0
| | | | | Those changes were made on gmirror needs, but now gmirror handles this by itself.
* Use the correct printf specifier.stefanf2004-10-031-1/+3
| | | | PR: 47187
* The "autoboot" command also has a third (optional) parameter.ru2004-10-012-2/+9
|
* Don't give instructions on how to disable ACPI in the MI section.ru2004-09-301-5/+0
| | | | | For novice users, beastie.4th can just do it. Expert users can read ACPI instructions by typing "help ACPI".
* Retire now useless userconfig_script_*.ru2004-09-301-7/+1
|
* The value of $interpret is "OK", in uppercase.ru2004-09-301-1/+1
|
* Fixed the default value of the $prompt variable, document whatru2004-09-302-2/+6
| | | | happens if $prompt is unset.
* Setting dump device from loader(8) has not been supported since 2002.ru2004-09-301-7/+0
|
* The default value of "bootfile" has been "kernel" since 2000.ru2004-09-301-1/+1
|
* Mention "help index" in the online help, and provide a help forru2004-09-301-1/+8
| | | | the `?' command.
OpenPOWER on IntegriCloud