On Wed, 19 Sep 2007, Paul Brook wrote:
No. We're doing more than most 32-64 syscall thunks. To a first approximation the syscall thunks can bindly zero extend all values. In qemu we need to know whether something is a pointer or a value.
Isn't that was the code in do_syscall() does? or am I looking at something in the wrong way?
Kernel and userspace addresses are not interchangeable in the kernel. Any place that does so is probably a bug.
I said co-exist, not interchangeable. My point was that the 32-on-64 code didn't do any explicit mapping of pointers passed to it other than the normal API. I'm having trouble determining how you would like for things to be. Could you maybe provide a small sample of how all of this should work, and then I can probably see what I'm not quite getting. Stuart Stuart R. Anderson [EMAIL PROTECTED] Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149