| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326963
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326962
|
|
|
|
|
|
|
|
|
|
|
|
| |
removing this argument, and expanding when rc is NULL. This
effectively completes the back out of custom scripts for tftp booted
loaders from r269153 that was started in r292344 with the new path
tricks that obsoleted it.
Submitted by: Netflix
Notes:
svn path=/head/; revision=326961
|
|
|
|
|
|
|
|
|
| |
used once, inside an #ifdef where it would be defined to be return.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326960
|
|
|
|
|
|
|
|
|
| |
to loader.mk.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326927
|
|
|
|
|
|
|
|
|
|
|
|
| |
HELP_FILES is a loader only thing, so move it to loader.mk. Only
generate the help file if HELP_FILES is defined. Adjust Makefiles to
new convention. Fix a few cases where ${.CURDIR}/ was missing
resulting in missing bits from the help files.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326926
|
|
|
|
|
|
|
|
|
| |
Produces the same .o's, verified with md5.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
weren't needed, and their existance interfered with things in subtle
ways. One of these subtle ways was that malloc could be different
based on what files were included when (even within the same .c file,
it turns out). Move to a single malloc implementation as well by
adding the calls to setheap() to gptboot.c and zfsboot.c. Once upon a
time, these boot loaders strove to not use libstand. However, with the
proliferation of features, that striving is too hard for too little
gain and lead to stupid mistakes.
This fixes the GELI-enabled (but not even using) boot environment. The
geli routines were calling libstand malloc but zfsboot.c and gptboot.c
were using the mini libstand malloc, so this failed when we tried to
probe for GELI partitions. Subtle changes in build order when moving
to self-contained stand build in r326593 toggled what it used from one
type to another due to odd nesting of the zfs implementation code that
differed subtly between zfsloader and zfsboot.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326887
|
|
|
|
|
|
|
|
|
| |
a mysterious crash.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326886
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was an experiment that landed in the wrong branch and was pushed
accidentally. It's best if it is ignored because the difference was
due to vers.o being different, not float.o... And it was confirmed to
not fix anything...
Pointy Hat to: imp
Notes:
svn path=/head/; revision=326858
|
|
|
|
|
|
|
|
|
| |
temporary workaround. This fixes zfs booting generally, but breaks all
GELI booting by default. Add note to UPDATING to this effect. When the
GELI issues are resolved, this will be reverted.
Notes:
svn path=/head/; revision=326857
|
|
|
|
| |
Notes:
svn path=/head/; revision=326856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to include ficl.h after the standard includes, rather than
before them. It changes the generated code in ways that haven't been
completely analyized. This restores the old code generation (as
verified by md5 changing back for zfsloader).
This should restore GPT + ZFS and GPT + ZFS + GELI booting that was
broken in r326585 (or would have been if r326584 hadn't broken the
build).
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326855
|
|
|
|
|
|
|
|
|
|
|
| |
Use _STANDALONE for guard expression in efichar.[ch] and add efi_char typedef.
clean up boot1.c, and replace for loop in efipart.c with ucs2len().
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13488
Notes:
svn path=/head/; revision=326854
|
|
|
|
|
|
|
|
|
|
| |
Something subtle is creating problems for disk access on ubldr. Back
it out unti that can be sorted out.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326812
|
|
|
|
| |
Notes:
svn path=/head/; revision=326792
|
|
|
|
|
|
|
|
|
| |
the menus disappear.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326784
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't print when we can't find a file. Copy it instead to the error
buffer. Higher level routines determine if it's appropriate to print
the error message.
Also, remove dead code (labeled bogusly lost functionality) since we
never used that functionality. Remove unused arg from interact() too.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326772
|
|
|
|
| |
Notes:
svn path=/head/; revision=326768
|
|
|
|
|
|
|
|
|
|
| |
supported by the arch, to meet u-boot's requirement that I/O be done
in cache-aligned chunks.
PR: 223977
Notes:
svn path=/head/; revision=326754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
saved register, but in arm EABI it may be either callee-saved or dedicated
to some special purpose (such as a TLS pointer). It appears clang does not
treat it as a callee-saved register (instead using it as another work
register, similar to r12).
Another important side effect of these changes is that saving an extra
register in the push/pop statements keeps the stack aligned to an 8-byte
boundary during the self_reloc() call, as it always should have been.
As stated in the PR...
Essentially the important caller-saved registers are pushed (r0, r1, r9, lr)
before the relocation call, and popped after. Then r8/r9 are saved as usual
for the syscall trampoline, and lr is stored in r8 (now free) as a
callee-saved value before calling into `main`.
The call to `main` can no longer be a tail call because we must restore r9
especially after main returns (although since we have used r8 to hold lr we
must also restore this).
PR: 224008
Notes:
svn path=/head/; revision=326752
|
|
|
|
|
|
|
|
|
| |
of ficl.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326720
|
|
|
|
|
|
|
|
|
| |
not be able to actually read ZFS partitions.
Submitted by: kevans@
Notes:
svn path=/head/; revision=326714
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create an interp class. Use it to separate out the different types of
interpreters: forth and simple with function pointers rather than
via #ifdefs.
Obtained from: lua boot loader project
(via https://bsdimp@github.com/bsdimp/freebsd.git lua-bootloader)
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326712
|
|
|
|
|
|
|
|
| |
Obtained from: lua boot project
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326711
|
|
|
|
|
|
|
|
|
| |
CLEANDIRS and CLEANFILES so make clean removes any divots.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326710
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326709
|
|
|
|
|
|
|
|
|
| |
_STANDALONE is defined.
Sponsored By: Netflix
Notes:
svn path=/head/; revision=326708
|
|
|
|
|
|
|
|
|
| |
to define sig_atomic_t.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326707
|
|
|
|
|
|
|
|
|
|
| |
No version of gcc that I've tried accepts this flag.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13415
Notes:
svn path=/head/; revision=326671
|
|
|
|
|
|
|
|
|
|
| |
Remove unused function.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13382
Notes:
svn path=/head/; revision=326616
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326610
|
|
|
|
|
|
|
|
|
|
| |
functions, tweak man page and one variable that shouldn't be const
anymore.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326609
|
|
|
|
|
|
|
|
|
|
|
| |
the stand environment that's safe to use (and insulated from whatever
build env you might normally have), stop hacking the bzlib and zlib
sources with sed. There's no longer any need.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326594
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building with the standard system headers isn't a perfect match to the
stand environment. Instead, copy over the files we know are safe to
use and constrain what else is used. We use -nostdinc to achieve this.
This also fixes issues with building 32-bit libraries on amd64
sometimes pulling in the wrong cpufunc.h giving an error now that we
stop on errors. It will also enable an easier transition to lua boot.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326593
|
|
|
|
|
|
|
|
|
|
| |
built with mostly default flags. Do so in anticipation of the rest of
stand not building with system headers.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326592
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
latter aren't used. Prefer sys/link_elf.h to link.h so we're only
dependent on the kernel tree. The default installation of link.h just
includes this file, and any benefit from that is outweighed by the
hassle it causes. This reduces the footprint of files needed from the
system includes (or sysroot in buildworld).
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326590
|
|
|
|
|
|
|
|
| |
the ZFS flags for zfs_modules.c. This keeps us from pulling from the
system or sysroot during buildworld.
Notes:
svn path=/head/; revision=326589
|
|
|
|
|
|
|
|
|
|
| |
the "system" headers (though in buildworld, it's from the recently
built sysroot).
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326588
|
|
|
|
|
|
|
|
|
| |
for the iso9660 header files.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326587
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326586
|
|
|
|
|
|
|
|
|
| |
all if we're not building float.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326585
|
|
|
|
|
|
|
| |
Commant update.
Notes:
svn path=/head/; revision=326509
|
|
|
|
|
|
|
|
|
|
|
| |
Previous to the switch from sys/boot to stand/ zfsboot (used for MBR) did
not support GELI. Now that it is compiled with GELI, it is running out of
space.
zfsldr (which loads zfsboot) was modified to load 256kb in r304321
Notes:
svn path=/head/; revision=326507
|
|
|
|
|
|
|
| |
Submitted by: peter@
Notes:
svn path=/head/; revision=326504
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326495
|
|
|
|
|
|
|
|
|
|
| |
toss in a DECONST to remove a const in some tricky code that would
require too extensive a change to unwind otherwise.
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326494
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326493
|
|
|
|
|
|
|
| |
Sponsored by: Netflix
Notes:
svn path=/head/; revision=326492
|
|
|
|
|
|
|
|
|
|
|
|
| |
it's going to be removed soon anyway once the final lingering issues
with kboot are resolved. Go ahead and disconnect it from the build a
little early.
Sponsored by: Netflix
OK'd by: nathanw@
Notes:
svn path=/head/; revision=326491
|