Commit Graph

22 Commits

Author SHA1 Message Date
Mark Cave-Ayland
126f9ee43e Move the Forth loader forthload.c from arch/*/forthload.c to libopenbios/forth_load.c. While the Forth loader source was
included and built as part of the SPARC64 and SPARC32 builds, it was never actually invoked in the boot sequence. Hence this 
patch maintains the existing behaviour in that only X86 builds included the Forth loader.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@712 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-27 11:53:59 +00:00
Mark Cave-Ayland
f02d2bde53 Move the a.out loader from arch/*/aoutload.c into libopenbios as aout_load.c.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@711 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-27 11:30:14 +00:00
Mark Cave-Ayland
1264ad95d2 Create a brand new ELF loader based upon arch/*/elfload.c and libopenbios/elfload.c combined together in libopenbios. This means
that each arch no longer needs its own ELF loader implementation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@710 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-27 10:57:03 +00:00
Mark Cave-Ayland
d66540542d Remove loadfs.c and loadfs.h from all of the various architectures. They appear to be almost non-existent wrappers which add an
extra layer of indirection without much benefit.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@707 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-26 20:25:04 +00:00
Mark Cave-Ayland
dbf16392cc Refactoring of the OpenBIOS source code, as discussed on the mailing list. The primary aim of this process is to try and arrange
the source files into a structure whereby it is easier to find the relationship between a forth package word and its C 
implementation, while also creating a libopenbios library into which more common code from the arch/ tree can eventually be 
moved.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> 


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@685 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-13 10:58:19 +00:00
Laurent Vivier
8d752aaf26 Change link edition order to move libc after libfs, allowing libfs to
use functions from libc.

Signed-off-by: Laurent Vivier <Laurent@vivier.eu>



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@629 f158a5a8-5612-0410-a976-696ce0be7e32
2009-11-22 09:53:54 +00:00
Blue Swirl
9162f1b584 Introduce quiet build
Make forthstrap quiet by default. Use generic rules when possible, unify
the rules and cleanup white space. Use ld flag --whole-archive to avoid
some local rule use. We can also remove some hacks introduced to avoid
missing symbols.

Fix problems brought in by ld flag --whole-archive:
 * x86: fix missing nvram symbols
 * PPC: disable misc.S build for qemu (conflicts with our libgcc)

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@556 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-17 16:58:42 +00:00
Blue Swirl
e5b34330ee Sparc64 ofmem implementation (Igor Kovalenko)
Add sparc64 ofmem implementation.


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@516 f158a5a8-5612-0410-a976-696ce0be7e32
2009-07-31 11:15:30 +00:00
igor.v.kovalenko
5f5b8d6f8c sparc64: fix registers dealing with client (Igor Kovalenko)
Signed-off-by: igor.v.kovalenko@gmail.com


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@508 f158a5a8-5612-0410-a976-696ce0be7e32
2009-07-11 12:25:26 +00:00
Blue Swirl
bcd092ad4a Add support for configuring for multiple targets
git-svn-id: svn://coreboot.org/openbios/openbios-devel@420 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-23 20:09:26 +00:00
Blue Swirl
0c3877f095 Enable Sparc64 PCI probing, use probed display but not IDE
git-svn-id: svn://coreboot.org/openbios/openbios-devel@376 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-09 21:00:38 +00:00
Blue Swirl
dd7b9b93eb Enable ld flag --warn-common
git-svn-id: svn://coreboot.org/openbios/openbios-devel@236 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-11 19:33:02 +00:00
Blue Swirl
b9f972feeb Add FCode boot loader for Solaris etc.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@213 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-21 07:50:53 +00:00
Blue Swirl
e411de92d3 Fix builtin.c dependencies
git-svn-id: svn://coreboot.org/openbios/openbios-devel@212 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-21 07:48:11 +00:00
Blue Swirl
57aabd8563 Add a.out support for SILO
git-svn-id: svn://coreboot.org/openbios/openbios-devel@196 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-08 16:02:43 +00:00
Blue Swirl
e92e3925b5 Add Make dependencies for some files, unify Sparc32/64 build.xml files
git-svn-id: svn://coreboot.org/openbios/openbios-devel@194 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-08 15:57:45 +00:00
Blue Swirl
3409ec8b13 Fix some Sparc64 compile warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@190 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-07 18:36:16 +00:00
Blue Swirl
e3c69b17ee Linkage fix to reduce Sparc64 image size by 1M
git-svn-id: svn://coreboot.org/openbios/openbios-devel@124 f158a5a8-5612-0410-a976-696ce0be7e32
2007-04-16 16:47:42 +00:00
Stefan Reinauer
b03ab3d3ae - Cleanup compiler warnings etc.
- add crosscflags from previous patch ;)


git-svn-id: svn://coreboot.org/openbios/openbios-devel@67 f158a5a8-5612-0410-a976-696ce0be7e32
2006-07-18 21:38:42 +00:00
Stefan Reinauer
32d646833b sparc64 code
git-svn-id: svn://coreboot.org/openbios/openbios-devel@64 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-11 11:03:45 +00:00
Stefan Reinauer
c200933ccd get sparc64 build some further
move libgcc to top level


git-svn-id: svn://coreboot.org/openbios/openbios-devel@61 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-10 02:22:45 +00:00
Stefan Reinauer
ad26a9b752 initial sparc64 version
git-svn-id: svn://coreboot.org/openbios/openbios-devel@58 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-10 01:37:53 +00:00