#
333049 |
|
27-Apr-2018 |
nyan |
whitespace changes to reduce diffs from i386. still broken pc98 boot.
|
#
329145 |
|
12-Feb-2018 |
kevans |
MFC r325834,r325997,326502: Move sys/boot to stand/
This is effectively a direct commit to stable/11, due to differences between stable/11 and head. Changes to DTS in sys/boot/fdt/dts were often accompanied by kernel changes. Many of these were also risc-v updates that likely had many more dependencies to MFC.
Because of this, sys/boot/fdt/dts remains as-is while everything else in sys/boot relocates to stand/.
r325834: Move sys/boot to stand. Fix all references to new location
r325997: Remove empty directories.
r326502: Document the sys/boot -> stand move in hier.7 and the top-level README. |
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
294925 |
|
27-Jan-2016 |
imp |
Fix mistake when transitioning to the new defines with ZFS loader. I hate adding yet another define, but it is the lessor of the evil choices available. Kill another evil by removing PATH_BOOT3 and replacing it with PATH_LOADER or PATH_LOADER_ZFS as appropriate.
PR: 206659
|
#
294847 |
|
26-Jan-2016 |
imp |
Remove static from these two. They slipped through the cracks.
MFC After: 1 week
|
#
294766 |
|
26-Jan-2016 |
imp |
RBX_ defines are in rbx.h, move it there.
Differential Revision: https://reviews.freebsd.org/D5038
|
#
294765 |
|
26-Jan-2016 |
imp |
Move all the separate copies of the same strings into paths.h. There's nothing machine specific about these.
Differential Revision: https://reviews.freebsd.org/D5038
|
#
292682 |
|
24-Dec-2015 |
jhb |
Fix remaining direct tests of the carry flag in the v86 %eflags via a 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
|
#
284885 |
|
27-Jun-2015 |
nyan |
MFi386: r284878
Reduce warnings:
- Add prototype for boot2 main() - Don't make assignment within if statement, split it into two.
|
#
275411 |
|
02-Dec-2014 |
nyan |
MFi386: r275305 (by rdivacky)
Unbreak the code for non-digits below '0' by casting the expression to unsigned int.
|
#
275241 |
|
29-Nov-2014 |
nyan |
MFi386: r275059, r275061, r275062 and r275191 (by rdivacky)
Shrink boot2 by a couple more bytes.
|
#
275239 |
|
29-Nov-2014 |
nyan |
MFi386: r275237 (by rdivacky)
Shrink boot2 a bit more by factoring out common pattern of printf();return(-1);
|
#
268475 |
|
10-Jul-2014 |
imp |
Make SERIAL support optional again. Enable it for i386 because a huge percentage of machines has a 16550. Disable it for pc98 since only a tiny fraction of them have one. These changes save 293 bytes when building with clang, but preserves the ability to build with serial if you really want. We now have 92 bytes free (412 with the in-tree gcc).
|
#
254015 |
|
07-Aug-2013 |
marcel |
Change <sys/diskpc98.h> to not redefine the same symbols that are 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@
|
#
242863 |
|
10-Nov-2012 |
nyan |
MFi386: r241301
add detection of serial console presence to btx and boot2-like blocks
|
#
239063 |
|
05-Aug-2012 |
nyan |
MFi386: the part of r219452 and r236405.
- bunch of variables are turned into uint8_t. - Remove unnecessary initializations.
|
#
235988 |
|
25-May-2012 |
gleb |
Use 32-bit ufs_ino_t instead of ino_t to keep boot2 small and prevent unnecessary 64-bit math on 32-bit machines.
Sponsored by: Google Summer of Code 2011
|
#
232784 |
|
10-Mar-2012 |
nyan |
MFi386: revisions 232570 and 232754
Fix boot2 to handle boot config files that only contain a custom path to a loader or kernel.
|
#
226746 |
|
25-Oct-2011 |
jhb |
Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for the carry and zero flags being set, respectively, in <btxv86.h> and use them throughout the x86 boot code.
|
#
226506 |
|
18-Oct-2011 |
des |
Look for /boot/config in addition to /boot.config, with the former taking precedence over the latter if it exists.
MFC after: 3 weeks
|
#
220685 |
|
16-Apr-2011 |
nyan |
MFi386: revisions 220389 and 220392
- Mark getc() as inline, this has no effect on gcc but helps clang. - Move getc() body before xgetc() so gcc does not emit a warning about function having no body.
|
#
219960 |
|
24-Mar-2011 |
nyan |
MFi386: the part of 219452
- bunch of variables are turned into uint8_t. - the setting and reading of "fmt" in load() is removed. - buf in printf() is made static to save space.
|
#
219225 |
|
03-Mar-2011 |
nyan |
MFi386: revision 219186
This patch shrinks boot2 a little.
o It switches kname to be just a pointer instead of an array. o It changes ioctl to unsigned from uint8_t. o It changes the second keyhit limit to 3 seconds from 5. o It removes bi_basemem/bi_extmem/bi_memsizes_valid setting.
|
#
218946 |
|
22-Feb-2011 |
nyan |
MFi386: revision 218926
In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable.
Submitted by: rdivacky
|
#
218842 |
|
19-Feb-2011 |
nyan |
MFi386: revision 218745
Remove reading of symbols from a.out loaded files.
|
#
218737 |
|
16-Feb-2011 |
nyan |
MFi386: revision 218713
Apply a few small optimizations to boot2's code, to make it shrink a little further.
|
#
214257 |
|
24-Oct-2010 |
nyan |
MFi386: revision 214210
Avoid using memcpy() for copying 32bit chunks. This shrinks the resulting code a little.
|
#
212098 |
|
01-Sep-2010 |
dim |
Use a cleaner expression to retrieve the memory size in pc98's boot2.c, which also avoids NULL pointer arithmetic, as suggested by jhb. The available space goes from 11 bytes to 7.
Reviewed by: nyan Approved by: rpaulo (mentor)
|
#
212064 |
|
31-Aug-2010 |
dim |
Avoid directly manipulating a NULL pointer (which could result in undefined behaviour) in sys/boot/pc98/boot2/boot2.c.
Reviewed by: nyan Approved by: rpaulo (mentor)
|
#
201342 |
|
31-Dec-2009 |
nyan |
Reimplement the boot2 for pc98 completely. It's based on the newest i386's one and has the advantage of:
- ELF binary support. - UFS2 filesystem support. - Many FreeBSD slices support on a disk.
Tested by: SATOU Tomokazu ( tomo1770 _ maple _ ocn _ ne _ jp ), WATANABE Kazuhiro ( CQG00620 _ nifty _ ne _ jp ) and nyan
MFC after: 2 week
Happy New Year in Japan!!
|