[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] shm problem
From: |
Alexander Graf |
Subject: |
[Qemu-devel] shm problem |
Date: |
Fri, 22 Jun 2007 17:21:14 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20060911) |
Hi,
when using mmap with qemu-i386 on x86_64 it's quite simple to get 32-bit
pointers back (using the MAP_32BIT flag, thanks to Kirill for the patch).
I'm currently in the need for shared memory though, so I need shmat() to
return something within the lower 31 Bits as well.
shmget(0x56a4d5, 488, IPC_CREAT|0660) = 11075627
shmat(11075627, 0, 0) = 0x2b4ceb29e000
Does anyone have an idea how to get around this and force shmat to
return something a 32-bit target can handle? In the end it only calls
mmap too...
Thanks,
Alex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] shm problem,
Alexander Graf <=