summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catchru2003-03-111-1/+1
| | | | | up with this further by excluding /modules from the (default) kern.module_path.
* Fix a few spelling errors.trhodes2003-03-071-3/+3
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc.
* Document the tunable kern.ipc.nsfbufs in help.common and loader.8. Smallseanc2003-03-042-4/+11
| | | | | | | nearby grammar fixup that saves a line of display while in the loader (help set tunables), but reuses the line for kern.ipc.nsfbufs. Approved by: roam
* FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catchru2003-03-033-3/+3
| | | | | up with this further by excluding /modules from the (default) kern.module_path.
* Fixed sys/boot/pc98/boot2/Makefile to use kern.mk andru2003-03-021-1/+1
| | | | | | get rid of bsd.kern.mk completely. OK'ed by: bde
* Add two loader tuneables that allow one to change the maximum number ofharti2003-03-021-0/+2
| | | | | | | | | | | | | | | | | | queue items that can be allocated by netgraph and the number of free queue items that are cached on a private list. Netgraph places an upper limit on the number of queue items it may allocate. When there is a large number of netgraph messages travelling through the system (100k/sec and more) there is a high probability, that messages get queued at the nodes and netgraph runs out of queue items. In this case the data flow through netgraph gets blocked. The tuneable for the number of free items lets one trade memory for performance. The tunables are also available as read-only sysctls. PR: kern/47393 Reviewed by: julian Approved by: jake (mentor)
* Speed up debugging in the context of unexpected traps by printingmarcel2003-03-012-10/+12
| | | | | the address of the image base of the loader. Given cr.iip, we can use the symbol table to figure out what function caused the trap.
* Paranoia: Don't use the length of the option string alone tomarcel2003-03-011-1/+1
| | | | | determine whether we have command line options. We expect a valid string pointer as well.
* Increase the block size for reading and writing from 8KB to 1MB andmarcel2003-02-261-4/+7
| | | | | | | introduce a preprocessor define for it. The larger block size significantly speeds up the loading of the kernel. Submitted by: Arun Sharma <arun.sharma@intel.com>
* Consistently use NOFORTH to control the usage of ficl.obrien2003-02-265-21/+17
|
* Fixed CLEANFILES.ru2003-02-252-2/+2
| | | | Submitted by: cron
* Only apply rev 1.10 (which hacks around the i386 boot2 being too big forobrien2003-02-251-0/+5
| | | | both ufs1 and ufs2 support) on i386.
* Revert to old (broken for over 1.5Tb filesystems) version of cgbasemckusick2003-02-241-0/+2
| | | | | | so that boot loader once again will fit. Sponsored by: DARPA & NAI Labs.
* Simplify page alignment.marcel2003-02-204-44/+16
|
* Don't bother to build ficl if NOFORTH is defined.benno2003-02-131-0/+2
|
* s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/trhodes2003-02-081-1/+1
| | | | The former was incorrect and gave an `unknown oid' error.
* Remove special casing for running in the simulator from the kernelmarcel2003-02-0119-53/+1385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and instead add platform, firmware and EFI stubs to the loader. The net effect of this change is that besides a special console and disk driver, the kernel has no knowledge of the simulator. This has the following advantages: o Simulator support is much harder to break, o It's easier to make use of more feature complete simulators. This would only need a change in the simulator specific loader, o Running SMP kernels within the simulator. Note that ski at this time does not simulate IPIs, so there's no way to start APs. The platform, firmware and EFI stubs describe the following hardware: o 4 CPU Itanium, o 128 MB RAM within the 4GB address space, o 64 MB RAM above the 4GB address space. NOTE: The stubs in the skiloader describe a machine that should in parts be defined by the simulator. Things like processor interrupt block and AP wakeup vector cannot be choosen at random because they require interpretation by the simulator. Currently the simulator is ignorant of this. This change introduces an unofficial SSC call SSC_SAL_SET_VECTORS which is ignored by the simulator. Tested with: ski (version 0.943 for linux)
* SSC calls use break immediate 0x80000. 0x80001 only works formarcel2003-02-012-2/+2
| | | | break.i. Ski is rather broken in this respect.
* MFi386: Install the "boot" image which is boot1 + boot2.nyan2003-01-301-2/+7
|
* Link /boot/boot1 to the name /boot/boot to avoid per-arch naming of thephk2003-01-261-0/+1
| | | | bootstrap code for disklabel using architectures.
* Build a file "boot" which consists of boot1 and boot2 concatenated.phk2003-01-262-2/+12
| | | | | There is little if any reason to treat the two components separately and it will simplify disklabel(8) and libdisk if we didn't.
* Use NDOSPART instead of NEXTDOSPART.nyan2003-01-211-2/+2
|
* MFi386: revision 1.63.nyan2003-01-211-10/+9
|
* Fix module dependency (pre)loading on sparc64 by relocating the variablesjake2003-01-211-6/+57
| | | | | | | | read from the raw kld files. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: 46870 Tested on: alpha (obrien), i386, sparc64
* Use NEXTDOSPART instead of MAX_SLICES.phk2003-01-202-5/+4
|
* Simplify the Makefile by just using our standard PROG variable.obrien2003-01-181-9/+8
|
* Minimally document hw.syscons.sc_no_suspend_vtswitch.mdodd2003-01-151-0/+6
| | | | Requested by: Nate Lawson <nate@root.org>
* Save 4 more bytes by not initializing opts to 0. This moves it fromimp2003-01-142-2/+2
| | | | | | the data section to the bss section givig us initialization for free. Noticed by: bde
* Fix interactive booting:imp2003-01-132-4/+8
| | | | | | | | | | | | | o Revision 1.38 introduced the -n flag. It conflicted with the RB_BOOTINFO flag, so was in effect always on. Change the -n flag to be bit 0x1c instead of 0x1f. This also had the consequence that a mal-formed /boot.config would render the system unbootable because the user was unable to enter anything at all on the command line. o Remove the initialization of opt to be RB_BOOTINFO since we filter that bit out and do not otherwise use it. Reviewed by: jhb MFC after: 3 days
* Add SCSI MO device support.nyan2003-01-065-98/+156
| | | | Submitted by: Kawanobe Koh <kawanobe@st.rim.or.jp>
* Rename the dos_partition structure for pc98 to pc98_partition.nyan2003-01-042-8/+8
|
* RIP liloldr.obrien2002-12-314-364/+0
| | | | | | | It is not complete (the LILO root= specification isn't passed to our loader for instance), it has not been touched in over 2 years. Linux has moved on to GRUB, so this is OBE now. If someone creeps up to work on it, it could become a port.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* -mno-align-long-strings can make things smaller, so lets use it in hopesobrien2002-12-212-0/+2
| | | | that it does here.
* Put back the casts to unsigned. While no strictly necessary for itsimp2002-12-202-2/+2
| | | | | | | current uses, the name strcmp has strong connotations that shouldn't lightly be discarded. This doesn't cost us anything. Submitted by: bde
* Fix breakage from earlier inadvertant changes.jake2002-12-201-4/+0
|
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.jake2002-12-1910-10/+13
|
* Add command `hcdp'. This command dumps the DIG64 HCDP table if onemarcel2002-12-182-0/+150
| | | | exists.
* I didn't intend to delete this rm from the Makefile. It snuck in atimp2002-12-182-0/+2
| | | | | | | | | the last second before the commit. # likely we can remove this hack now that gcc generates better aligned code # in the align to word case. Noticed by: bde
* Reduce diffs with Peter's expanded diffs:imp2002-12-172-8/+8
| | | | | 1) Put back the keyboard printing printf, at the cost of 58 bytes. 2) Minor tweak to getstr at no apparent cost.
* Make both UFS1 and UFS2 fit on the same boot blocks. These are aimp2002-12-174-142/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | subset of Peter's patchs that are believed to be safe. Makefile tweaks: o -fomit-frame-pointer o Change default to building both UFS1 and UFS2 bootblocks. Lots of boot2 tweaks: o lookup is only ever called with kname, so use it directly. o inline memsize o getstr are only ever called with cmd, so hardware that. o tweaks to the parsing code to test after the conversion rather than before since we tested after anyways. o eliminate support for %x in printf. o eliminate a few bytes in printfs. o Tweak the boot banner. o eliminate support for wd and " " devices (I might add wd back to keep bde happy). o eliminate support for a few arguments. This takes us from -162 bytes free to 67 bytes free. I've tested this only on a few systems, so be careful when updating to this change. Submitted by: peter, imp, ian
* Remove unneeded casts. Add others to make WARNS=5 happy.obrien2002-12-152-12/+12
|
* Employ the unused bytes after the disklabel in the second sector. This makesphk2002-12-144-48/+22
| | | | | | | | | | it possible to make UFS1_ONLY and UFS2_ONLY versions which fit inside the traditional 16 sectors. Remove assorted now unneeded hackery. UFS1_AND_UFS2 still needs another 150 bytes to work, and that is probably not within our reach, ever.
* Remove unnecessary call to fsread().phk2002-12-142-2/+0
|
* Restructure so we can compile UFS1_ONLY, UFS2_ONLY or UFS1_AND_UFS2phk2002-12-141-91/+33
| | | | versions from the same basic function.
* Always use the smaller GCC builtin memcpyphk2002-12-142-20/+0
|
* Remove unused variable.phk2002-12-142-2/+2
|
* Don't fill in the table with the BIOS idea about disk-geometry, we don'tphk2002-12-142-30/+0
| | | | use it. This saves a surprising number of bytes.
* Uniformly refer to a file system as "file system".ru2002-12-122-2/+2
| | | | Approved by: re
* Pass the HCDP table address to the kernel. If no such table exists,marcel2002-12-108-28/+33
| | | | | | | | | | | | | NULL is passed. The address of the HCDP table can be found by iterating over the configuration tables in the EFI system table. To avoid more duplication, a function can be called with the GUID of interest. The function will do the scanning. Use the function in all places where we iterate over the configuration tables in an attempt to find a specific one. Bump the loader version number as the result of this. Approved by: re (blanket)
OpenPOWER on IntegriCloud