* commit previously forgotten romfs.txt
* fix a copy & paste error in src/lib/romfs.c Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
d367037997
commit
013c7cfab5
@@ -237,16 +237,16 @@ int romfs_execute_stage(const char *name)
|
||||
}
|
||||
|
||||
/**
|
||||
* * run_address is passed the address of a function taking no parameters and
|
||||
* * jumps to it, returning the result.
|
||||
* * @param f the address to call as a function.
|
||||
* * returns value returned by the function.
|
||||
* */
|
||||
* run_address is passed the address of a function taking no parameters and
|
||||
* jumps to it, returning the result.
|
||||
* @param f the address to call as a function.
|
||||
* returns value returned by the function.
|
||||
*/
|
||||
|
||||
int run_address(void *f)
|
||||
{
|
||||
int (*v) (void);
|
||||
v = f;
|
||||
return v();
|
||||
int (*v) (void);
|
||||
v = f;
|
||||
return v();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user