mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Implement a basic C loader function in load.c that tries to load each supported executable file format. Now that the ihandle
hierarchy is correct, we can simply pass an ihandle into the loader and it will work correctly regardless of whether it is being invoked on an entire disk, partition or individual file. In order to test the new code, start by switching the Fcode loader over to the new infrastructure for testing on SPARC64. Note this patch also contains a correction to load-base on SPARC which was being set to a value other than 0x4000 which is the documented default. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@798 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
add30adb7d
commit
3d7832bba9
@@ -177,7 +177,7 @@ dlabel_load( __attribute__((unused)) dlabel_info_t *di )
|
||||
|
||||
xt = find_ih_method("load", di->part_ih);
|
||||
if (!xt) {
|
||||
forth_printf("load currently not implemented for /packages/disk-label\n");
|
||||
forth_printf("load currently not implemented for ihandle " FMT_ucellx "\n", di->part_ih);
|
||||
PUSH(0);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user