On Fri, Dec 27, 2013 at 10:23:01PM +0100, Marin Ramesa wrote: > On 12/27/2013 09:58:07 PM, Richard Braun wrote: > >Do you mean you're expecting kalloc() to actually work in a POSIX > >environment ? > > I expected it to work on Hurd running gnumach, but I don't understand > what it means to function to work in a POSIX environment.
If running GNU Mach as the kernel, it should. If running it "from GDB" in userspace (and that's what I mean when I say "a POSIX environment"), there is no way it can. > But it's OK, I can test the code without kalloc(). Not completely, because you won't have address spaces (not due to kalloc missing but rather because kalloc also relies on the virtual memory system, and at this point, I guess kalloc doesn't work because the environment in which you test is neither real hardware nor a virtual machine emulating the appropriate architecture, preventing the VM system from working). -- Richard Braun
