diff options
author | Anthony Liguori | 2009-10-01 23:12:16 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-10-01 23:12:16 +0200 |
commit | c227f0995e1722a1abccc28cadf0664266bd8043 (patch) | |
tree | 39e92c2f818e3e8144978740b914731613af0e40 /hw/loader.h | |
parent | Get rid of _t suffix (diff) | |
download | qemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.gz qemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.xz qemu-c227f0995e1722a1abccc28cadf0664266bd8043.zip |
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/loader.h')
-rw-r--r-- | hw/loader.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hw/loader.h b/hw/loader.h index 23443b2840..3632008928 100644 --- a/hw/loader.h +++ b/hw/loader.h @@ -4,18 +4,18 @@ /* loader.c */ int get_image_size(const char *filename); int load_image(const char *filename, uint8_t *addr); /* deprecated */ -int load_image_targphys(const char *filename, a_target_phys_addr, int max_sz); +int load_image_targphys(const char *filename, target_phys_addr_t, int max_sz); int load_elf(const char *filename, int64_t address_offset, uint64_t *pentry, uint64_t *lowaddr, uint64_t *highaddr, int big_endian, int elf_machine, int clear_lsb); -int load_aout(const char *filename, a_target_phys_addr addr, int max_sz, - int bswap_needed, a_target_phys_addr target_page_size); -int load_uimage(const char *filename, a_target_phys_addr *ep, - a_target_phys_addr *loadaddr, int *is_linux); +int load_aout(const char *filename, target_phys_addr_t addr, int max_sz, + int bswap_needed, target_phys_addr_t target_page_size); +int load_uimage(const char *filename, target_phys_addr_t *ep, + target_phys_addr_t *loadaddr, int *is_linux); -int fread_targphys(a_target_phys_addr dst_addr, size_t nbytes, FILE *f); -int fread_targphys_ok(a_target_phys_addr dst_addr, size_t nbytes, FILE *f); -int read_targphys(int fd, a_target_phys_addr dst_addr, size_t nbytes); -void pstrcpy_targphys(a_target_phys_addr dest, int buf_size, +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 |