mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Introduce the concept of the OF saved-program-state structure and modify all of the loaders (except PPC) to make use of it.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@708 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
d66540542d
commit
8a6d445d38
@@ -16,6 +16,12 @@
|
||||
|
||||
|
||||
\ 7.6.2 Program download and execute
|
||||
struct ( saved-program-state )
|
||||
/n field >sps.entry
|
||||
/n field >sps.file-size
|
||||
/n field >sps.file-type
|
||||
constant saved-program-state.size
|
||||
create saved-program-state saved-program-state.size allot
|
||||
|
||||
variable state-valid
|
||||
0 state-valid !
|
||||
@@ -28,10 +34,14 @@ variable file-size
|
||||
|
||||
variable file-type
|
||||
|
||||
0 constant elf
|
||||
1 constant bootinfo
|
||||
2 constant xcoff
|
||||
3 constant pe
|
||||
0 constant elf-boot
|
||||
1 constant elf
|
||||
2 constant bootinfo
|
||||
3 constant xcoff
|
||||
4 constant pe
|
||||
5 constant aout
|
||||
10 constant fcode
|
||||
11 constant forth
|
||||
|
||||
\ Array indexes and values for e_type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user