Logo
Explore Help
Sign In
Virtualization/openbios
1
0
Fork 0
You've already forked openbios
mirror of https://gitlab.com/qemu-project/openbios.git synced 2024-02-13 08:34:06 +08:00
Code Issues Projects Releases Wiki Activity
Files
07c440b33baa90b6e80a90e85ece122b7800179f
openbios/include/libopenbios/load.h

23 lines
475 B
C
Raw Normal View History

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
2010-06-25 20:42:00 +00:00
/*
* Creation Date: <2010/06/25 20:00:00 mcayland>
* Time-stamp: <2010/06/25 20:00:00 mcayland>
*
* <load.h>
*
* C implementation of load
*
* Copyright (C) 2010 Mark Cave-Ayland (mark.cave-ayland@siriusit.co.uk)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2
*
*/
#ifndef _H_LOAD
#define _H_LOAD
extern void load(ihandle_t dev);
#endif /* _H_LOAD */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 72ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API