Re: [Qemu-devel] Question on pointers in the qemu user space emulation

2014-01-18 Thread Peter Maydell
On 17 January 2014 19:20, Erik de Castro Lopo wrote: > When I implemented the POSIX timer syscalls a little while ago I got > them working for my specific use case. Since then someone pointed > out that the implementation was not complete and I'd like to fix > that. The ticket is here: > > htt

Re: [Qemu-devel] Question on pointers in the qemu user space emulation

2014-01-17 Thread Erik de Castro Lopo
Peter Maydell wrote: > On 17 January 2014 06:33, Erik de Castro Lopo wrote: > > I'm currently working on implementing a missing part of a linux-user > > syscall. This syscall includes a function pointer for a callback. > > Which syscall? Callbacks from the kernel are pretty tricky. > Basically y

Re: [Qemu-devel] Question on pointers in the qemu user space emulation

2014-01-17 Thread Peter Maydell
On 17 January 2014 06:33, Erik de Castro Lopo wrote: > I'm currently working on implementing a missing part of a linux-user > syscall. This syscall includes a function pointer for a callback. Which syscall? Callbacks from the kernel are pretty tricky. Basically you need to register a host functio

Re: [Qemu-devel] Question on pointers in the qemu user space emulation

2014-01-17 Thread Christopher Covington
Hi Erik, On 01/17/2014 01:33 AM, Erik de Castro Lopo wrote: > Hi all, > > I'm currently working on implementing a missing part of a linux-user > syscall. This syscall includes a function pointer for a callback. > > If one has a 64 bit user space emulation running on a 32 bit host, > how does one

[Qemu-devel] Question on pointers in the qemu user space emulation

2014-01-16 Thread Erik de Castro Lopo
Hi all, I'm currently working on implementing a missing part of a linux-user syscall. This syscall includes a function pointer for a callback. If one has a 64 bit user space emulation running on a 32 bit host, how does one handle the fact that the pointer might be 64 bits? Does the fact that the