summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
Commit message (Collapse)AuthorAgeFilesLines
* The CELL fields can be various integer types depending on the platformkientzle2013-04-071-6/+10
| | | | | | (ARM uses 'int' and 'unsigned'; i386 uses 'long' and 'unsigned long'), so we need explicit casts to long and unsigned long here to ensure that the result matches the printf %ld and %lx specifiers.
* Fix two broken macros.kientzle2013-04-071-2/+2
|
* Build a 64 bit version of the FICL library. This is need for a 64 bitrpaulo2012-12-211-6/+15
| | | | | | EFI bootloader (amd64 only for now). This is not yet connected to the build.
* boot: use -march=i386 for both i386 and amd64 buildsavg2012-10-201-1/+2
| | | | | | | | | | | | .. so that consistent compilation algorithms are used for both architectures as in practice the binaries are expected to be interchangeable (for time being). Previously i386 used default setting which were equivalent to -march=i486 -mtune=generic. The only difference is using smaller but slower "leave" instructions. Discussed with: jhb, dim MFC after: 29 days
* Try to avoid all files dependence on the modification time of the large andache2012-07-261-0/+2
| | | | | | | | | often modified directory created symbolic links points to - it cause unnecessary full rebuilds each time make runs when directory is changed. So do it only if symbolic link does not exists, which usually means that objdir is clean anyway. MFC after: 1 week
* Fix clang warnings.rpaulo2012-02-052-3/+3
|
* Add a version of the FreeBSD bootloader which can run in userland, packageddfr2011-06-302-0/+535
| | | | | as a shared library. This is intended to be used by BHyVe to load FreeBSD kernels into new virtual machines.
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* On i386 and amd64, consistently use the following options whenever wedim2011-01-051-1/+1
| | | | | | want to avoid using any "advanced" CPU features: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
* Remove an empty .if/.endif pair from sys/boot/ficl/Makefile that Idim2011-01-051-2/+0
| | | | forgot to cleanup in the last commit.
* In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should alsodim2011-01-051-2/+1
| | | | be used for amd64, not just for i386.
* MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH ↵imp2010-08-231-7/+7
| | | | (which simplifies some powerpc/powerpc64 ifs)
* Provide support in loader for booting 64-bit PowerPC kernels. Like amd64,nwhitehorn2010-07-121-3/+7
| | | | | 64-bit PowerPC kernels are loaded by a 32-bit loader, since nearly all powerpc64 firmwares execute in 32-bit mode.
* Add a missing prototypebrian2010-06-201-0/+1
| | | | | | PR: 145232 Submitted by: gcooper MFC after: 1 week
* Add basic mips support. This has been compile tested only.imp2009-02-192-0/+533
|
* Initial support of loader(8) for ARM machines running U-Boot.raj2008-10-141-1/+1
| | | | | | | | | | This uses the common U-Boot support lib (sys/boot/uboot, already used on FreeBSD/powerpc), and assumes the underlying firmware has the modern API for stand-alone apps enabled in the config (CONFIG_API). Only netbooting is supported at the moment. Obtained from: Marvell, Semihalf
* Optimize for size on pc98. It enables to boot a kernel again.nyan2007-10-151-1/+1
| | | | | | | | I don't know what's wrong (loader, boot2 or others), but this change is effective. Tested by: NAKAJI Hiroyuki MFC after: 3 days
* Update to FICL 3.03 (the last release before FICL4 rewrite).jkim2007-03-2311-68/+405
| | | | | | | | | | | | The relevant changes for FreeBSD (excerpt from the release note): * Newly implemented CORE EXT words: CASE, OF, ENDOF, and ENDCASE. Also added FALLTHROUGH, which works like ENDOF but jumps to the instruction just after the next OF. * Bugfix: John-Hopkins locals syntax now accepts | and -- in the comment (between the first -- and the }.) * Bugfix: Changed vmGetWord0() to make Purify happier. The resulting code is no slower, no larger, and slightly more robust.
* Add -march=i386 to fix amd64 build by generating the same coderu2006-09-281-1/+1
| | | | as i386 would do.
* Copy powerpc ficl files sysdep files (maybe we need a common one)imp2006-08-182-0/+533
|
* Remove Alpha bits for ficl.jhb2006-05-124-544/+0
|
* Add -mno-sse3 for prescott/noconaache2005-07-151-0/+3
|
* Ensure GCC does not use FP registers in integer code.obrien2005-05-311-0/+1
| | | | | I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
* Instead of just not defining a bunch of words when TESTMAIN is set, providescottl2004-11-302-14/+45
| | | | | stubs that at least handle the stack correctly. This makes it much easier to experiment with loader scripts from userland.
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Part 2 of fixing the boot code: gcc 3.4 fixes.marcel2004-08-221-1/+1
| | | | | | | | | The whole problem seems to be size. Which is odd, because it is said that size doesn't matter. Anyway... Add -Os to strategic places in the makefile to have the final loader be as mall as possible. This seems to be enough to make it work. For now... I think something is more fundamentally wrong; or something more fundamental is wrong. Potato, potaato.
* Untangle building of AMD64 boot code.ru2004-02-071-9/+6
| | | | Tested on: amd64 (sledge)
* Disable floating point on PowerPC for the ficl library.grehan2003-12-101-0/+3
|
* Define 'arch-powerpc'grehan2003-12-101-0/+8
|
* FICL system-dependent files for powerpc. Taken from the i386 versions,grehan2003-12-102-0/+533
| | | | which were the most relevant.
* bsd.lib.mk,v 1.143 no longer uses ld(1) directly to stripru2003-06-301-1/+0
| | | | | | | symbols from intermediate object files, so these hacks to get AMD64 compile are no longer needed. Tested on: sledge.FreeBSD.org
* Build on amd64. Yes, I know this isn't particularly nice.peter2003-06-261-0/+20
|
* Set arch-pc98 env to true for pc98.nyan2003-06-082-1/+6
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Make ficl work on sparc64. The assumption that int == long == void * isscottl2002-08-312-9/+9
| | | | | | | | | very pervasive in this code. This fixes a few of those assumptions and band-aids over some others. Tested on: ia32 alpha sparc64 Reviewed by: peter jake (in concept)
* Fix for stand-alone compilingscottl2002-08-211-0/+4
| | | | Reviewed by: mini
* MD ficl files for sparc64.jake2002-05-192-0/+513
|
* More s/file system/filesystem/gtrhodes2002-05-163-3/+3
|
* Removed now unused INTERNALSTATICLIB.ru2002-05-131-2/+0
| | | | | INTERNALLIB now implies NOPIC and NOPROFILE. Removed gratuitous NOMAN.
* Back out last commit. I expect our bsd.*.mk gods to remove the need forobrien2002-05-121-0/+2
| | | | | defining so many extra things in addition to INTERNALLIB. We don't like repetitive C code and we shouldn't for make code either.
* NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when usingobrien2002-05-111-2/+0
| | | | INTERNALLIB now.
* -ffreestanding is the word.obrien2002-05-101-0/+1
| | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see)
* Partical style cleanup.obrien2002-05-091-19/+17
|
* Upgrade to FICL version 3.02. Anything wrong is my fault, everything right isdcs2002-04-0927-1275/+3925
| | | | | | | | due Jon Mini. PR: 36308 Submitted by: Jon Mini <mini@haikugeek.com> MFC after: 4 weeks
* - Add 'fwrite' and 'fseek' words for writing to and seeking on files.jhb2001-12-111-8/+65
| | | | | | | | | | | | | - Change the 'fopen' keyword to accept a mode parameter. Note that this will break existing 4th scripts that use fopen. Thus, the loader version has been bumped and loader.4th has been changed to check for a sufficient version on i386 and alpha. Be sure that you either do a full world build or install or full build and install of sys/boot after this since loader.old won't work with the new 4th files and vice versa. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Remove unused filed.dcs2001-12-031-29/+0
| | | | | PR: kern/32395 Submitted by: Jonathan Mini <mini@haikugeek.com>
* Revert rev 1.7 which moved us away from POSIX character classes.obrien2001-11-031-15/+18
| | | | The community feels our base AWK must handle them.
* Substitute "[:space:]" with the character constants it expands to.obrien2001-11-011-18/+15
| | | | | | This was a silent 'failure' when using Bell-Labs awk. Submitted by: David Wolfskill <david@catwhisker.org>
* Avoid an alignment fault on 64bit architectures.dfr2001-09-041-1/+1
| | | | Reviewed by: dcs
* Add definition for arch-ia64.dfr2001-09-041-0/+6
|
OpenPOWER on IntegriCloud