| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Reported by: rpokala
Notes:
svn path=/head/; revision=313576
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From NetBSD christos Sat Jan 26 00:19:39 2013 +0000
make the buffer functions look exactly like the kernel ones and add other
cruft to make the kernel files compile.
ffs.c 1.54
ffs/buf.c 1.13
ffs/buf.h 1.3
ffs/ffs_alloc.c 1.21
ffs/ffs_balloc.c 1.15
Reviewed by: marcel, ngie
Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8404
Notes:
svn path=/head/; revision=313575
|
| |
|
|
|
|
|
|
|
| |
I thank all developers and contributors for pc98.
Relnotes: yes
Notes:
svn path=/head/; revision=312910
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of repeating "%s, Revision %s" "(%s %s)" in each loader, just
create the full version string in vers.c
Reviewed by: bapt
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8823
Notes:
svn path=/head/; revision=310225
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The block cache implementation in loader has proven to be almost useless, and in worst case even slowing down the disk reads due to insufficient cache size and extra memory copy.
Also the current cache implementation does not cache reads from CDs, or work with zfs built on top of multiple disks.
Instead of an LRU, this code uses a simple hash (O(1) read from cache), and instead of a single global cache, a separate cache per block device.
The cache also implements limited read-ahead to increase performance.
To simplify read ahead management, the read ahead will not wrap over bcache end, so in worst case, single block physical read will be performed to fill the last block in bcache.
Booting from a virtual CD over IPMI:
0ms latency, before: 27 second, after: 7 seconds
60ms latency, before: over 12 minutes, after: under 5 minutes.
Submitted by: Toomas Soome <tsoome@me.com>
Reviewed by: delphij (previous version), emaste (previous version)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D4713
Notes:
svn path=/head/; revision=298230
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
particular, allow loaders to define the name of the RC script the
interpreter needs to use. Use this new-found control to have the
PXE loader (when compiled with TFTP support and not NFS support)
read from ${bootfile}.4th, where ${bootfile} is the name of the
file fetched by the PXE firmware.
The normal startup process involves reading the following files:
1. /boot/boot.4th
2. /boot/loader.rc or alternatively /boot/boot.conf
When these come from a FreeBSD-defined file system, this is all
good. But when we boot over the network, subdirectories and fixed
file names are often painful to administrators and there's really
no way for them to change the behaviour of the loader.
Obtained from: Juniper Networks, Inc.
Notes:
svn path=/head/; revision=269153
|
| |
|
|
|
|
|
| |
loader/i386: replace ugly inb/outb re-implementations with cpufunc.h
Notes:
svn path=/head/; revision=240854
|
| |
|
|
| |
Notes:
svn path=/head/; revision=240852
|
| |
|
|
|
|
|
|
|
|
| |
use related definitions in i386 bootargs.h
Reviewed by: nyan, jhb
MFC after: 1 month
Notes:
svn path=/head/; revision=235264
|
| |
|
|
|
|
|
|
| |
the carry and zero flags being set, respectively, in <btxv86.h> and use
them throughout the x86 boot code.
Notes:
svn path=/head/; revision=226746
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. arch_loadaddr - used by platform code to adjust the address at which
the object gets loaded. Implement PC98 using this new interface instead
of using conditional compilation. For ELF objects the ELF header is
passed as the data pointer. For raw files it's the filename. Note that
ELF objects are first considered as raw files.
2. arch_loadseg - used by platform code to keep track of actual segments,
so that (instruction) caches can be flushed or translations can be
created. Both the ELF header as well as the program header are passed
to allow platform code to treat the kernel proper differently from any
additional modules and to have all the relevant details of the loaded
segment (e.g. protection).
Notes:
svn path=/head/; revision=220311
|
| |
|
|
|
|
|
| |
MFC after: 2 week
Notes:
svn path=/head/; revision=201339
|
| |
|
|
|
|
|
|
|
|
| |
Improve the algorithm the loader uses to choose a memory range for its
heap when using a range above 1MB.
MFC after: 1 week
Notes:
svn path=/head/; revision=200255
|
| |
|
|
|
|
|
| |
Various small whitespace and style fixes.
Notes:
svn path=/head/; revision=200253
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190046
|
| |
|
|
|
|
|
|
|
|
|
|
| |
set the %eflags used during a BIOS call via BTX to 0x202. Previously
the flags field was uninitialized garbage, and thus it was "random" if
interrupts were enabled or not during BIOS calls.
- Use constants from <machine/psl.h> for fields in %eflags.
MFC after: 3 days
Notes:
svn path=/head/; revision=181436
|
| |
|
|
|
|
|
|
|
|
| |
Slightly cleanup the 'bootdev' concept on x86 by changing the various
macros to treat the 'slice' field as a real part of the bootdev instead
of as hack that spans two other fields (adaptor (sic) and controller)
that are not used in any modern FreeBSD boot code.
Notes:
svn path=/head/; revision=172924
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=163897
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This change affects documentation and comments only,
no real code involved.
PR: misc/101245
Submitted by: Darren Pilgrim <darren pilgrim bitfreak org>
Tested by: md5(1)
MFC after: 1 week
Notes:
svn path=/head/; revision=160964
|
| |
|
|
| |
Notes:
svn path=/head/; revision=153600
|
| |
|
|
|
|
|
|
|
| |
> Cause all flags passed by boot2 to set the respective loader(8)
> boot_* variable. The end effect is that all flags from boot2
> are now passed to the kernel.
Notes:
svn path=/head/; revision=150751
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=146698
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146011
|
| |
|
|
|
|
|
| |
Respect RB_MULTIPLE flag.
Notes:
svn path=/head/; revision=136891
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126970
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119880
|
| |
|
|
| |
Notes:
svn path=/head/; revision=86131
|
| |
|
|
| |
Notes:
svn path=/head/; revision=83532
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sys/boot/i386/btx/btx/Makefile 1.9
sys/boot/i386/btx/btx/btx.s 1.23
sys/boot/i386/libi386/biosdisk.c 1.32 and 1.33
sys/boot/i386/libi386/biosmem.c 1.5
sys/boot/i386/libi386/comconsole.c 1.8
sys/boot/i386/libi386/gatea20.c 1.3
sys/boot/i386/libi386/time.c 1.4
sys/boot/i386/libi386/vidconsole.c 1.13
sys/boot/i386/loader/Makefile 1.48
sys/boot/i386/loader/main.c 1.22
Notes:
svn path=/head/; revision=68358
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67136
|
| |
|
|
| |
Notes:
svn path=/head/; revision=66246
|
| |
|
|
|
|
|
|
|
| |
sys/boot/i386/libi386/Makefile 1.16 and 1.17
sys/boot/i386/loader/Makefile 1.44
sys/boot/i386/loader/main.c 1.20
Notes:
svn path=/head/; revision=59535
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59167
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/sys/boot/i386/Makefile.inc 1.1
src/sys/boot/i386/btx/btx/btx.s 1.15
src/sys/boot/i386/btx/btxldr/Makefile 1.8
src/sys/boot/i386/btx/btxldr/btxldr.s 1.9
src/sys/boot/i386/libi386/biosdisk.c 1.29
src/sys/boot/i386/loader/Makefile 1.42
src/sys/boot/i386/loader/main.c 1.18
(entry point address of loader was not changed.)
Reviewed by: nyan
Notes:
svn path=/head/; revision=58871
|
| |
|
|
|
|
|
|
|
| |
sys/boot/i386/libi386/biosmem.c Rev 1.4
sys/boot/i386/libi386/time.c Rev 1.3
sys/boot/i386/loader/main.c Rev 1.16
Notes:
svn path=/head/; revision=55342
|
| |
|
|
|
|
|
|
|
|
| |
geometry.
- Use i386/libi386/bootinfo.c instead of pc98/libpc98/bootinfo.c.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Notes:
svn path=/head/; revision=54819
|
| |
|
|
| |
Notes:
svn path=/head/; revision=53218
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
Notes:
svn path=/head/; revision=45241
|
| |
|
|
|
|
|
|
|
| |
unit number for da device. This commit fixes this problem.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Notes:
svn path=/head/; revision=44463
|
|
|
files in boot2 directory are copies from legacy biosboot.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Notes:
svn path=/head/; revision=43561
|