| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
up with this further by excluding /modules from the (default)
kern.module_path.
|
|
|
|
| |
Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
up with this further by excluding /modules from the (default)
kern.module_path.
|
|
|
|
|
|
| |
get rid of bsd.kern.mk completely.
OK'ed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
determine whether we have command line options. We expect a
valid string pointer as well.
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Submitted by: cron
|
|
|
|
| |
both ufs1 and ufs2 support) on i386.
|
|
|
|
|
|
| |
so that boot loader once again will fit.
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
| |
The former was incorrect and gave an `unknown oid' error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
break.i. Ski is rather broken in this respect.
|
| |
|
|
|
|
| |
bootstrap code for disklabel using architectures.
|
|
|
|
|
| |
There is little if any reason to treat the two components separately
and it will simplify disklabel(8) and libdisk if we didn't.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
read from the raw kld files.
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
PR: 46870
Tested on: alpha (obrien), i386, sparc64
|
| |
|
| |
|
|
|
|
| |
Requested by: Nate Lawson <nate@root.org>
|
|
|
|
|
|
| |
the data section to the bss section givig us initialization for free.
Noticed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: Kawanobe Koh <kawanobe@st.rim.or.jp>
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
| |
that it does here.
|
|
|
|
|
|
|
| |
current uses, the name strcmp has strong connotations that shouldn't
lightly be discarded. This doesn't cost us anything.
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
exists.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
1) Put back the keyboard printing printf, at the cost of 58 bytes.
2) Minor tweak to getstr at no apparent cost.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
versions from the same basic function.
|
| |
|
| |
|
|
|
|
| |
use it. This saves a surprising number of bytes.
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|