Skip to content

Commit

Permalink
Fix loading above 4G
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3230 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
blueswir1 committed Sep 24, 2007
1 parent 7743e58 commit 9437454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elf_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
struct elfhdr ehdr;
struct elf_phdr *phdr = NULL, *ph;
int size, i, total_size;
elf_word low = 0, high = 0;
elf_word mem_size, addr;
elf_word mem_size;
target_phys_addr_t addr, low = 0, high = 0;
uint8_t *data = NULL;

if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
Expand Down

0 comments on commit 9437454

Please sign in to comment.