Revision 3c178e72 hw/loader.h
b/hw/loader.h | ||
---|---|---|
15 | 15 |
|
16 | 16 |
int read_targphys(const char *name, |
17 | 17 |
int fd, target_phys_addr_t dst_addr, size_t nbytes); |
18 |
void pstrcpy_targphys(target_phys_addr_t dest, int buf_size, |
|
18 |
void pstrcpy_targphys(const char *name, |
|
19 |
target_phys_addr_t dest, int buf_size, |
|
19 | 20 |
const char *source); |
20 | 21 |
|
21 | 22 |
int rom_add_file(const char *file, |
... | ... | |
23 | 24 |
int rom_add_blob(const char *name, const void *blob, size_t len, |
24 | 25 |
target_phys_addr_t min, target_phys_addr_t max, int align); |
25 | 26 |
int rom_load_all(void); |
27 |
void *rom_ptr(target_phys_addr_t addr); |
|
26 | 28 |
void do_info_roms(Monitor *mon); |
27 | 29 |
|
28 | 30 |
#define rom_add_file_fixed(_f, _a) \ |
Also available in: Unified diff