summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Improved markup, fixes some spelling and grammar.ru2005-06-141-12/+13
| | | | Approved by: re (blanket)
* Fix getsecs(). It was not counting the seconds right. The immediatemarcel2005-06-041-19/+46
| | | | | | | | | | and visible effect of the bug what that autoboot would boot a kernel after only a couple of seconds had passed instead of waiting the full 10 seconds it's supposed to wait by default. Add my copyright notice, since one was missing and I reimplemented the one and only function in this file. MFC after: 1 week
* Fix delay(). The processor cycle counter is a 32-bit wrapping counter.marcel2005-06-041-5/+8
| | | | | | Hence, mask off the upper 32 bits and deal with wrap-arounds. MFC after: 1 week
* Temperarly disable building in the bzip2 support by default so we can fitobrien2005-06-011-1/+1
| | | | on the i386 floppies. Sigh, I hate floppies.
* Add a missing const to alpha_setcurrdev() to quiet a warning.jhb2005-05-312-2/+2
|
* Change the type the buf arg to the strategy routines from void * to char *jhb2005-05-311-4/+4
| | | | to quiet some warnings.
* Whitespace.jhb2005-05-311-1/+1
|
* Put bzip2 support on equal footing with gzip support.obrien2005-05-311-1/+1
| | | | | | Enable bzip2 support by default, set LOADER_NO_BZIP2_SUPPORT to disable it. Pointy hat to: sobomax
* Ensure GCC does not use FP registers in integer code.obrien2005-05-311-0/+1
| | | | | I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
* Markup nits.ru2005-05-301-2/+2
|
* - Add support to the loader for multiple consoles.jhb2005-05-275-53/+146
| | | | | | | | | | | | | - 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
* Fix a warning by adding a missing 'const'.jhb2005-05-272-2/+2
| | | | MFC after: 1 week
* Print out the commands from /boot.config after parsing them so that theyjhb2005-05-273-3/+3
| | | | | | | | output is sent to the correct console(s). PR: kern/66425 Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk MFC after: 1 week
* Since the BAT mapping was removed a long time back, it can'tgrehan2005-05-241-1/+6
| | | | | | | | | | | be assumed that modules are contiguous in memory (they're not) so don't blindly __syncicache start/end. In fact, don't bother syncing the icache for modules since the kernel will do it after fixing up relocations. This fixes the trap when loading modules at boot time. Reported by: orlando at break dot net
* Remove unused variables. Remove prototype for function that does not exist.charnier2005-05-201-4/+1
|
* Extend `autoboot_delay' handling - is this variable is set to -1 don't allowsobomax2005-05-194-29/+70
| | | | | | | | | | | | 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
* Change ofw_readin/ofw_copyin to map the entire region beforegrehan2005-05-191-24/+74
| | | | | | | | | | | copying, rather than a page at a time. This was creating far too many single-page mappings, and eventually OFW overflowed some internal data structure and refused to map any more. The new algorithm creates far less mappings and fixed a bug where multiple mappings for the same page would be created. 'Twas known this was a problem, but only became urgent when the install CD's mfs_root grew large enough to cause the overflow.
* Whitespace only: kill trailing spaces.sobomax2005-05-191-15/+14
|
* Change a directory layout for pc98.nyan2005-05-101-1/+1
| | | | | | | | | - Move MD files into <arch>/<arch>. - Move bus dependent files into <arch>/<bus>. Rename some files to more suitable names. Repo-copied by: peter Discussed with: imp
* Remove ifdef PC98.nyan2005-05-0823-1133/+12
|
* Merged from libi386/biosdisk.c revisions 1.37 and 1.41.nyan2005-05-081-3/+6
|
* Use DOSMID_386BSD rather than DOSPTYP_386BSD.nyan2005-05-081-1/+1
|
* Allow BOOT_BOOT0_COMCONSOLE_SPEED to be derived from BOOT_COMCONSOLE_SPEEDru2005-04-251-5/+28
| | | | at compile time.
* Pass the hostname we got from DHCP to the kernel so that machines canwollman2005-04-171-0/+1
| | | | share a read-only NFS root.
* Extend a local buffer to prevent an overflow of the XSDT address.njl2005-04-161-1/+1
| | | | | | Submitted by: Joerg Sonnenberger Obtained from: DragonflyBSD MFC after: 1 day
* MFi386: revision 1.20.nyan2005-04-141-1/+1
|
* Fix 'implicit int' instance.stefanf2005-04-091-1/+1
|
* Fix buidling of boot blocks for pc98 with new links.imp2005-04-031-3/+11
| | | | Submitted by: nyan@
* Ensure GCC does not use FP registers in integer code.obrien2005-03-153-1/+4
| | | | | | I think all we really need is -fno-sse2. I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
* Allow kernels loaded by pxeboot, which was compiled with LOADER_TFTP_SUPPORT,kan2005-03-121-0/+24
| | | | | | | to stll be able to mount NFS root as prescribed by DCHP configuration. Since pxeboot is using TFTP to get to the files, pxeboot can not rely on NFS to provide it a root directory hande as a side effect. pxeboot has to make RPC mount call itself.
* Don't try to use 'typedef struct foo' if just 'struct foo' makes more sensestefanf2005-03-072-25/+1
| | | | | | | and works on all compilers. This also removes the need for __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT in <sys/cdefs.h>. OK'ed by: marcel, dfr
* Fix typos in a comment.stefanf2005-03-061-1/+1
|
* netchild's mega-patch to isolate compiler dependencies into a centraljoerg2005-03-022-4/+12
| | | | | | | | | | | | | | | | place. This moves the dependency on GCC's and other compiler's features into the central sys/cdefs.h file, while the individual source files can then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. By now, GCC and ICC (the Intel compiler) have been actively tested on IA32 platforms by netchild. Extension to other compilers is supposed to be possible, of course. Submitted by: netchild Reviewed by: various developers on arch@, some time ago
* Remove unused variables.marius2005-03-021-3/+0
|
* Document the new default init_path.des2005-02-171-1/+1
| | | | | Reminded by: ru MFC after: 2 weeks
* Add /rescue/init to the default init_path, before /stand/sysinstall.des2005-02-171-1/+1
| | | | MFC after: 2 weeks
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Remove type 0x4 (FAT12 <32MB) to make room for type 0x7 (NTFS).des2005-02-081-2/+2
|
* 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.
* Only update the boot sector when there is a valid drive number provided.peadar2005-01-091-14/+15
| | | | | | | | | (After squeezing a few more bytes out of boot0) Discussed With: jhb, julian PR: 66248 Submitted By: Hans Petter Selasky MFC After: 1 week
* Start each of the license/copyright comments with /*-imp2005-01-0527-28/+31
|
* Remove obsolete note about the boot loader not being ready for stable.imp2005-01-051-10/+0
| | | | It has been in stable for at least 5 years now.
* NOFORTH -> NO_FORTHru2004-12-219-9/+9
|
* NOSHARED -> NO_SHAREDru2004-12-213-3/+3
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-2121-21/+21
| | | | OK'ed by: core
* The 'start' command processes loader.conf variables, not loader.rc.imp2004-12-061-1/+1
| | | | Fix comment to match.
* Fix a bunch of stack leaks. These were theoretically harmless, except thatscottl2004-12-011-5/+11
| | | | | | | they would leave enough elements on the stack that if you escaped to the loader prompt and then typed 'setenv', it would pull in all of the leaked junk and cause an exception in the environment. There still seems to be 3 leaked elements, but they don't appear to be coming from this file.
* Remove the last vestiges of the userconfig option. None of this actuallyscottl2004-12-0112-52/+0
| | | | did anything, so this commit should be considered a NO-OP.
* Instead of just not defining a bunch of words when TESTMAIN is set, providescottl2004-11-302-14/+45
| | | | | stubs that at least handle the stack correctly. This makes it much easier to experiment with loader scripts from userland.
* MFi386: revisions 1.77 and 1.78.nyan2004-11-291-2/+2
|
OpenPOWER on IntegriCloud