mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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
This commit is contained in:
committed by
Mark Cave-Ayland
parent
6dd0574272
commit
1264ad95d2
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "asm/types.h"
|
||||
|
||||
extern char _start, _end;
|
||||
extern unsigned long virt_offset;
|
||||
|
||||
#define phys_to_virt(phys) ((void *) ((unsigned long) (phys) - virt_offset))
|
||||
|
||||
Reference in New Issue
Block a user