Make the load address and entry 64 bits.

Remove a broken proto from a c file.
Fix protos etc. per uwe's request for const where it made 
sense. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@485 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ronald G. Minnich 2007-08-29 22:27:31 +00:00
commit ca1953808e
4 changed files with 60 additions and 19 deletions

View file

@ -69,8 +69,8 @@ struct lar_header {
* 2 = nrv2b
*/
u32 compression;
u32 entry; /* we might need to make this u64 */
u32 loadaddress; /* ditto */
u64 entry;
u64 loadaddress;
};
struct mem_file {
@ -83,10 +83,10 @@ struct mem_file {
};
/* Prototypes. */
int find_file(struct mem_file *archive, char *filename, struct mem_file *result);
int copy_file(struct mem_file *archive, char *filename, void *where);
int run_file(struct mem_file *archive, char *filename, void *where);
int execute_in_place(struct mem_file *archive, char *filename);
int find_file(struct mem_file *archive, const char *filename, struct mem_file *result);
int copy_file(struct mem_file *archive, const char *filename, void *where);
int run_file(struct mem_file *archive, const char *filename, void *where);
int execute_in_place(struct mem_file *archive, const char *filename);
int run_address(void *f);
void *load_file(struct mem_file *archive, char *filename);
void *load_file(struct mem_file *archive, const char *filename);
#endif /* LAR_H */