Mark Cave-Ayland
6dd0574272
Switch the loaders for x86, sparc64 and sparc32 over to use the new saved-program-state in boot() rather than try to execute the
...
device payload directly. This is the first stage in isolating the OF "load" and "go" words, and in preparation for moving the
majority of the loaders into libopenbios.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@709 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-26 22:33:50 +00:00
Mark Cave-Ayland
92f8310ff7
Split nvram.h into its proper two components - one for the arch-specific functions and another for the package functions.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@698 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 20:34:01 +00:00
Mark Cave-Ayland
1dbe55b8e4
Move the basic OpenBIOS configuration header files from include/openbios to include/.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@695 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 17:19:58 +00:00
Mark Cave-Ayland
f84dd73af4
Fix the sys_info.h header file so it doesn't reference functions both inside and outside of libopenbios, and move the firmware
...
configuration header file to include/arch/common. Following through the code showed that elfnote.c and linuxbios.c were being
used by sys_info and so these are also renamed to elf_info.c and linuxbios_info.c for clarity.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@693 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 16:09:44 +00:00
Mark Cave-Ayland
da4cc1d0bd
Move the driver header files into include/drivers to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@692 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:19:41 +00:00
Mark Cave-Ayland
4a2c065e4f
Move the libopenbios header files into include/libopenbios to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@691 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:05:53 +00:00
Blue Swirl
91148c0702
Clean up Sparc32 memory management
...
Concentrate memory and MMU management (lib.c malloc, romvec opb_, iommu,
OF /memory) to lib.c.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@344 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-03 13:45:02 +00:00
Blue Swirl
c5d270009e
Warning fixes for Sparc32, Sparc64, PPC
...
Fix warnings that would be caused by gcc flag -Wwrite-strings and
-Wmissing-prototypes. Also fix most PPC specific warnings.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@288 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-14 12:54:23 +00:00
Blue Swirl
1b49d198f1
Fix NetBSD booting
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@278 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-01 18:04:16 +00:00
Blue Swirl
c77259ec3a
Change uses of sprintf to snprintf
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@277 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-30 13:44:38 +00:00
Blue Swirl
bf0c6b1c38
Fix most warnings from Sparse
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-30 11:54:01 +00:00
Blue Swirl
93a1b8f583
Partially revert r244, breaks disk boot
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@247 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-08 13:26:37 +00:00
Blue Swirl
f6ddfeb0e7
Fix OpenBSD >4.2 crash when printing out bootpath
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@244 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-02 19:25:05 +00:00
Blue Swirl
5205e45840
Fix some Sparc32 compile warnings
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@189 f158a5a8-5612-0410-a976-696ce0be7e32
2008-07-07 18:35:51 +00:00
Blue Swirl
e3db406e09
Fix pop_fstr_copy memory leaks
...
- console one prevented Debian 3.1r1 from installing in console=prom mode
- fixing this also needed the real malloc/free
git-svn-id: svn://coreboot.org/openbios/openbios-devel@155 f158a5a8-5612-0410-a976-696ce0be7e32
2007-06-27 20:16:01 +00:00
Blue Swirl
c4f3fbc099
Fix boot-device use
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@138 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-04 20:55:05 +00:00
Blue Swirl
2b99ad760f
Use nvram boot-args and boot-device variables
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@137 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-01 14:14:17 +00:00
Stefan Reinauer
0726cb7dd7
blueswirl's latest console-nographic.diff.bz2
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@71 f158a5a8-5612-0410-a976-696ce0be7e32
2006-07-23 14:29:29 +00:00
Stefan Reinauer
f9340b4ea9
remove <null> output
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@42 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-05 17:02:59 +00:00
Stefan Reinauer
f7784c1d5d
blueswirl's sparc32 patches - boots linux.
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@35 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-28 18:48:47 +00:00
Stefan Reinauer
9283d9ebc8
openbios.patch-15-svn25.bz2 part II merge
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@27 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-22 22:16:20 +00:00
Stefan Reinauer
1d33aa0ec0
sparc32 merge
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@18 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-15 08:17:51 +00:00
Stefan Reinauer
9a04f5a6c1
add initial sparc32 (qemu) support by Blue Swirl
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@3 f158a5a8-5612-0410-a976-696ce0be7e32
2006-04-26 16:39:16 +00:00