| 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently the libstand dosfs optimization is a bit too optimistic
and did introduce possible memory corruption.
This patch is backing out the bad part and since this results in
dosfs reading full blocks now, we can also remove extra offset argument
from dv_strategy callback.
The analysis of the issue and the backout patch is provided by Mikhail Kupchik.
PR: 214423
Submitted by: Mikhail Kupchik
Reported by: Mikhail Kupchik
Reviewed by: bapt, allanjude
Approved by: allanjude (mentor)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D8644
Notes:
svn path=/head/; revision=310850
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lsdev command does walk over devsw list, prints list element name and
will use dv_print() callback to print the device list.
Unfortunately this approach will add unneeded noise when there are no
particular devices detected.
To remove "empty" device section headers, the dv_print() callback
should print the header instead.
In addition, fixed dv_print callback for md module.
Reviewed by: imp
Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D8551
Notes:
svn path=/head/; revision=308827
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change does modify devsw dv_print() to return the int value,
enabling walkers to interrupt the walk on non zero value from dv_print().
This will allow the pager_print actually to stop displaying data on
user input, and additionally pager is used in various *dev_print callbacks,
where it was missing.
For test, lsdev [-v] command should display data by screenfuls and should
stop when the key 'q' is pressed on pager prompt.
Reviewed by: allanjude
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D5461
Notes:
svn path=/head/; revision=308434
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions to call at the appropriate time to register new forth
words. In the past we've done this with ifdef soup, but now if the
file is included in the build, we'll get the new forth words.
Use this new functionality to move the pci bios stuff out of loader.c
by moving it to biospci.c.
Move the pnp functionality to common/pnp.c.
Move the inb/outb forth words to the i386 sysdep.c file where their
implementation is defined.
Adjust the efi linker scripts and build machinery to cope.
his should be an invisible change to forth scripts and user
experience.
Differential Revision: https://reviews.freebsd.org/D8145
Notes:
svn path=/head/; revision=307324
|
| |
|
|
|
|
|
|
|
|
| |
return value when it could return 1 (indicating we should stop).
Fix a few instances of pager_open() / pager_close() not being called.
Actually use these routines for the environment variable printing code
I just committed.
Notes:
svn path=/head/; revision=300117
|
| |
|
|
|
|
|
| |
Reported by: bz, emaste
Notes:
svn path=/head/; revision=298478
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Toomas Soome <tsoome@me.com>
Spotted by: bz
Differential Revision: https://reviews.freebsd.org/D6002
Notes:
svn path=/head/; revision=298275
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
magic number to use V86_CY() instead. These should have been fixed as
part of the cleanup in r226746 but were missed.
The md5 sums of the object files were unchanged, so there should be no
functional change.
PR: 205424
Submitted by: Alexander Kuleshov <kuleshovmail@gmail.com>
MFC after: 1 week
Notes:
svn path=/head/; revision=292682
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__attribute__((format(...))), and the -fformat-extensions flag was
removed, introduce a new macro in bsd.sys.mk to choose the right variant
of compile flag for the used compiler, and use it.
Also add something similar to kern.mk, since including bsd.sys.mk from
that file will anger Warner. :-)
Note that bsd.sys.mk does not support the MK_FORMAT_EXTENSIONS knob used
in kern.mk, since that knob is only available in kern.opts.mk, not in
src.opts.mk. We might want to add it later, to more easily support
external compilers for building world (in particular, sys/boot).
Notes:
svn path=/projects/clang360-import/; revision=277842
|
| |
|
|
|
|
|
| |
Supress clang warning for FreeBSD printf %b and %D formats.
Notes:
svn path=/head/; revision=272255
|
| |
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Notes:
svn path=/head/; revision=260949
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
being defined in <sys/diskmbr.h>. Instead give the symbols here a
"PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h>
can be included in the same C source file.
The renaming is trivial. The only gotcha is that DOSBBSECTOR is
also redefined from 0 to 1. This because DOSBBSECTOR was always
used in conjunction with an addition of 1. The PC98_BBSECTOR symbol
is defined as 1 and the expression is simplified.
Note: it is not believed that ports are seriously impacted; or at
all for that matter.
Approved by: nyan@
Notes:
svn path=/head/; revision=254015
|
| |
|
|
|
|
|
| |
Always update the hw.uart.console hint.
Notes:
svn path=/head/; revision=251223
|
| |
|
|
|
|
|
|
|
|
| |
fixed in a different way by the new disk code used for other
platforms.
MFC after: 1 week
Notes:
svn path=/head/; revision=250333
|
| |
|
|
|
|
|
|
|
|
|
| |
i386 comconsole: don't loop forever if hardware doesn't respond
- clear capability flags when hw timeouts
- retire comc_started status variable and directly use c_flags to see
if comconsole is selected for use
Notes:
svn path=/head/; revision=242864
|
| |
|
|
| |
Notes:
svn path=/head/; revision=239069
|
| |
|
|
|
|
|
|
| |
Pointyhat to: avg
MFC after: 1 month
Notes:
svn path=/head/; revision=235395
|
| |
|
|
|
|
|
| |
MFC after: 1 month
Notes:
svn path=/head/; revision=235155
|
| |
|
|
|
|
|
|
|
|
| |
Add special loader environment variables 'comconsole_port' and
'comconsole_pcidev'.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=229463
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
So use i386 version.
Notes:
svn path=/head/; revision=215246
|
| |
|
|
|
|
|
| |
MFC after: 2 week
Notes:
svn path=/head/; revision=201339
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=200631
|
| |
|
|
|
|
|
|
|
|
| |
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=190147
|
| |
|
|
|
|
|
|
| |
Teach the BIOS CD driver to use bounce buffers when the destination
address is > 1 MB.
Notes:
svn path=/head/; revision=190146
|
| |
|
|
|
|
|
| |
Teach the loader about the FAT partitions.
Notes:
svn path=/head/; revision=190127
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190126
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190046
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190029
|
| |
|
|
|
|
|
| |
Do not attempt to make an NFS rpc call if using tftp
Notes:
svn path=/head/; revision=176656
|
| |
|
|
|
|
|
| |
Tweak the verbose disk printing a bit.
Notes:
svn path=/head/; revision=176654
|
| |
|
|
|
|
|
|
| |
Split the pc98_partition specific routine in bd_opendisk()
into bd_open_pc98().
Notes:
svn path=/head/; revision=172968
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Rework the read/write support in the bios disk driver some to cut down
on duplicated code.
- All of the bounce buffer and retry logic duplicated in bd_read() and
bd_write() are merged into a single bd_io() routine that takes an
extra direction argument. bd_read() and bd_write() are now simple
wrappers around bd_io().
Notes:
svn path=/head/; revision=172965
|
| |
|
|
|
|
|
| |
Reindent the read/write code of bd_realstrategy() so it is more readable.
Notes:
svn path=/head/; revision=172925
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
MFC after: 1 week
Notes:
svn path=/head/; revision=172921
|
| |
|
|
| |
Notes:
svn path=/head/; revision=164115
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=158559
|
| |
|
|
|
|
|
|
| |
boot loaders that load the loader already handle A20. In fact, they are
required to do so in order to setup the environment that btxldr expects.
Notes:
svn path=/head/; revision=157668
|
| |
|
|
| |
Notes:
svn path=/head/; revision=153599
|
| |
|
|
| |
Notes:
svn path=/head/; revision=153598
|
| |
|
|
| |
Notes:
svn path=/head/; revision=153551
|
| |
|
|
| |
Notes:
svn path=/head/; revision=150073
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146011
|