summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Turn on -Wformatpeter2002-07-201-1/+1
|
* Fix printf format errorspeter2002-07-201-3/+3
|
* Work around some nasty bugs on the [beta] Itanium2's E1000 UNDI driver.peter2002-07-201-5/+20
| | | | | | | | | | | | | | Bug#1: The GetStatus() function returns radically different pointers that do not match any packets we transmitted. I think it might be pointing to a copy of the packet or something. Since we do not transmit more than one packet at a time, just wait for "anything". Bug#2: The Receive() function takes a pointer and a length. However, it either ignores the length or otherwise does bad things and writes outside of ptr[0] through ptr[len-1]. This is bad and causes massive stack corruption for us since we are receiving packets into small buffers on the stack. Instead, Receive() into a large enough buffer and bcopy the data to the requested area.
* Disable loader ufs support. It causes the loader to crash on the Itanium2peter2002-07-202-2/+2
| | | | | box that I have. We have no EFI disk drivers yet anyway (maybe that is the problem).
* Fix printf format errorspeter2002-07-202-4/+4
|
* Remove boot2 temporarily.nyan2002-07-181-1/+1
|
* Major rework of how we copy data into kernel space.benno2002-07-186-22/+36
| | | | | We now talk to the memory and mmu instances directly rather than using the OpenFirmware "claim" method.
* Don't imply that setting the boot_ variables to "NO" will disable them.mp2002-07-161-6/+8
| | | | MFC after: 3 days
* Change include order.nyan2002-07-161-1/+1
|
* Use present tense in all the verbs, when describing loader's startup.keramida2002-07-151-2/+2
| | | | Most of them are not in a future tense already.
* The .Nm bootloadercharnier2002-07-141-5/+10
|
* The .Nm set of commandscharnier2002-07-141-3/+5
|
* The .Nmcharnier2002-07-141-3/+6
|
* Add support for passing metadata.benno2002-07-105-46/+660
|
* Resolve conflicts arising from the ACPI CA 20020611 import.iwasaki2002-07-091-2/+1
|
* Enable netboot support by default, since it can now coexist with disk andjake2002-07-071-3/+3
| | | | cdrom support. This avoids having to distribute separate loaders.
* Change help documentation for bootfile and module_path to reflectmp2002-07-071-6/+8
| | | | | | | | the actual code. Both use a ";" (not a ",") to delimit entries. PR: 39679 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> MFC after: 3 days
* Make building with ficl work. Unfortunately booting with it doesn't.jake2002-07-072-5/+10
|
* Build ficl on sparc64 fwiw. It doesn't work.jake2002-07-071-2/+0
|
* Add missing kernal tunables to loader.conf.mini2002-07-031-0/+16
| | | | | PR: i386/39085 Submitted by: David Yeske <dyeske@yahoo.com>
* Fix a build problem for the ACPI CA 20020404 import.iwasaki2002-06-301-1/+2
| | | | | | | Add definition of COMPILER_DEPENDENT_INT64 and also fix definition of COMPILER_DEPENDENT_UINT64. Pointed-out by: Michael Nottebrock <michaelnottebrock@gmx.net>
* Remove a couple of __P() stragglers.peter2002-06-292-7/+7
|
* Enable cd9660 support by default.jake2002-06-211-1/+1
|
* Enable UFS1_AND_UFS2 support for sparc64 by default. Booting from ufs1 orjake2002-06-211-0/+2
| | | | ufs2 filesystems seems to work fine.
* Revert the part of Kirks UFS2 commit which added divdi3.c and moddi3.cphk2002-06-215-11/+8
| | | | to libi386, this issue was resolved already in a cleaner way.
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-218-139/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Add boot_serial and boot_multicons variables to set RB_SERIAL andpeter2002-06-208-0/+16
| | | | | RB_MULTIPLE since this seems to be the easiest way to add these flags for non-forth loaders etc.
* #include <sys/disklabel.h> to get BBSIZE.phk2002-06-111-0/+1
|
* Make the alpha architecture use the common ufsread().phk2002-06-113-279/+44
| | | | Submitted by: ticso
* Uncomment some bits that we now need.benno2002-06-072-12/+12
|
* Fix up the DMA buffer allocation call.benno2002-06-071-1/+2
|
* Add explicit dependency on ufsread.cphk2002-06-053-2/+4
|
* Remove UFS related #includes, they're read in ufsread.c now.phk2002-06-051-3/+0
|
* Make sparc64 share ufsread.c with i386.phk2002-06-053-130/+22
| | | | Sponsored by: DARPA & NAI Labs.
* Avoid entering IOCCC with a memcpy turned bcopy.phk2002-06-051-4/+4
|
* Indent this file more like style(9).phk2002-06-051-108/+108
| | | | Sponsored by: DARPA & NAI Labs.
* Preparation for UFS2 commit:phk2002-06-055-322/+191
| | | | | | | Factor the ufs reading code out of the i386/boot2 loader so it can be reused by for instance sparc64. Sponsored by: DARPA and NAI Labs.
* Fix a handful of typos and grammar bogons. No content changes.schweikh2002-05-301-9/+9
| | | | | | Translators can ignore this commit. MFC after: 2 weeks
* Fix a handful of typos and grammar bogons. No content changes.schweikh2002-05-291-8/+8
| | | | | | Translators can ignore this commit. MFC after: 2 weeks
* Add needed include of queue.h. Remove unneeded include of smp.h.jake2002-05-291-1/+1
|
* Use a contrived 'tlb_entry' structure for passing the mappings for thejake2002-05-293-18/+18
| | | | | kernel text and data from the loader to the kernel, so that the tte format is not part of the loader->kernel ABI.
* Sync with i386. The loader was being installed before the beforeinstalljake2002-05-281-26/+39
| | | | target, which conventiently moved it to loader.old, leaving no loader.
* Cosmetic change (align with other boot blocks):n_hibma2002-05-262-5/+5
| | | | | | CONSPEED -> COMSPEED Approved by: nyan
* Add support for reading an additional loader configuration file. By default,gordon2002-05-243-1/+70
| | | | | | | | | | | | | | | this is called /boot/nextboot.conf. This file is required to have it's first line be nextboot_enable="YES" for it to be read. Also, this file is rewritten by the loader to nextboot_enable="NO"<space> after it is read. This makes it so the file is read exactly once. Finally, the nextboot.conf is removed shortly after the filesystems are mounted r/w. Caution should be taken as you can shoot yourself in the foot. This is only the loader piece. There will be a tool called nextboot(8) that will manage the nextboot.conf file for you. It is coming shortly. Reviewed by: dcs Approved by: jake (mentor)
* Fixed to conflict labels.nyan2002-05-211-3/+3
| | | | Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
* MFi386: revision 1.22nyan2002-05-211-9/+8
|
* MD ficl files for sparc64.jake2002-05-192-0/+513
|
* o Remove namespace pollution from param.h:marcel2002-05-198-0/+12
| | | | | | | | | | | - Don't include ia64_cpu.h and cpu.h - Guard definitions by _NO_NAMESPACE_POLLUTION - Move definition of KERNBASE to vmparam.h o Move definitions of IA64_RR_{BASE|MASK} to vmparam.h o Move definitions of IA64_PHYS_TO_RR{6|7} to vmparam.h o While here, remove some left-over Alpha references.
* An almost mechanical sweep to replace C++ style comments with Cmarcel2002-05-1916-614/+485
| | | | | style comments. This is not an attempt to conform to style(9). Such has lower priority.
* Fix one of the va_arg() with less than int sized type probelms.phk2002-05-181-1/+1
|
OpenPOWER on IntegriCloud