mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Remove most uses of phys_ram_base (initial patch by Ian Jackson)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4442 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5af451868c
commit
293f78bc1b
4 changed files with 135 additions and 41 deletions
11
sysemu.h
11
sysemu.h
|
@ -151,11 +151,18 @@ extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS];
|
|||
#ifdef NEED_CPU_H
|
||||
/* loader.c */
|
||||
int get_image_size(const char *filename);
|
||||
int load_image(const char *filename, uint8_t *addr);
|
||||
int load_image(const char *filename, uint8_t *addr); /* deprecated */
|
||||
int load_image_targphys(const char *filename, target_phys_addr_t, int max_sz);
|
||||
int load_elf(const char *filename, int64_t virt_to_phys_addend,
|
||||
uint64_t *pentry, uint64_t *lowaddr, uint64_t *highaddr);
|
||||
int load_aout(const char *filename, uint8_t *addr);
|
||||
int load_aout(const char *filename, target_phys_addr_t addr, int max_sz);
|
||||
int load_uboot(const char *filename, target_ulong *ep, int *is_linux);
|
||||
|
||||
int fread_targphys(target_phys_addr_t dst_addr, size_t nbytes, FILE *f);
|
||||
int fread_targphys_ok(target_phys_addr_t dst_addr, size_t nbytes, FILE *f);
|
||||
int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes);
|
||||
void pstrcpy_targphys(target_phys_addr_t dest, int buf_size,
|
||||
const char *source);
|
||||
#endif
|
||||
|
||||
#ifdef HAS_AUDIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue