Re: [Qemu-devel] Loading ELF binaries with very high base addresses

2011-07-12 Thread Prashant Vaibhav
c ones are working I'll move on to figuring out softmmu for more complex (read: real world) binaries. Thanks for all the suggestions btw, really appreciate it. On Wed, Jul 13, 2011 at 3:02 AM, Richard Henderson wrote: > On 07/12/2011 01:58 PM, Prashant Vaibhav wrote: > > Yes, ex

Re: [Qemu-devel] Loading ELF binaries with very high base addresses

2011-07-12 Thread Prashant Vaibhav
Yes, exactly what happened when loading a non-trivial binary. :-( Oh well. On Wed, Jul 13, 2011 at 12:04 AM, Richard Henderson wrote: > On 07/12/2011 09:43 AM, Alexander Graf wrote: > > For now, just force the mapping to somewhere mappable :) > > Unfortunately, I can tell you that there is no

Re: [Qemu-devel] Loading ELF binaries with very high base addresses

2011-07-12 Thread Prashant Vaibhav
Thanks Marc and Alex, Yes it was 0x4<<60, missed a zero. I didn't know about the virtual regions, I assumed it was flat 64-bit. For now I am going with Alex's suggestion and forcing the mmap to happen at a lower memory address, starting at mmap_min_addr. The guest_base is then large, causing a wr

[Qemu-devel] Loading ELF binaries with very high base addresses

2011-07-12 Thread Prashant Vaibhav
Hello, I am working on target-ia64, but am stuck during ia64 ELF loading. Referring to function "probe_guest_base()" in linux-user/elfload.c around line 1350, called from around line 1484 -- When the main binary is being mmap'd, the host address and guest address should ideally be the same. If t

Re: [Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-25 Thread Prashant Vaibhav
ello Prashant, > > Am 25.06.2011 um 07:50 schrieb Prashant Vaibhav: > > > Currently I am writing an IA64 ISA disassembler. >> > > Why are you writing one yourself? Is that due to GPLv2 vs. GPLv3 licensing > issues with GNU binutils? > > Andreas >

[Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-24 Thread Prashant Vaibhav
Hello! My name is Prashant Vaibhav and I am working this summer on a Google Summer of Code project to implement software emulation of the Intel Itanium (IA64) architecture. The project is being mentored by Alexander Graf. I am a student studying at Jacobs University in Germany (staying in India