On Sat, Jan 22, 2011 at 6:48 PM, erik quanstrom <quans...@quanstro.net> wrote:
> the plan 9 core needs to religiously use uintptr and not long. long > is always wrong for these things. It's a bit messier than that. When 9vx is built as 64-bit, it's a 64-bit kernel supporting 32-bit binaries. uintptr is still a 64-bit entity. There's no way to take a 32-bit reference parameter as used in semacquire and treat it as a pointer to a 64-bit item and have it end well ... What has to happen is the 9vx syscall interfaces need to be scrubbed just a bit more for these types of cases and corrected. Or,simpler, just keep building 32-bit 9vx; that may be the best bet. ron