* 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:
Stefan Reinauer
2009-04-08 07:47:01 +00:00
committed by Stefan Reinauer
parent d367037997
commit 013c7cfab5
2 changed files with 417 additions and 8 deletions

View File

@@ -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();
}