|
From: Hartmut B. <har...@te...> - 2002-05-21 19:59:31
|
> -----Ursprungliche Nachricht----- > Von: David Welch [SMTP:we...@cw...] > Gesendet am: Dienstag, 21. Mai 2002 02:23 > An: rea...@li... > Betreff: Re: [ros-kernel] Problems with the last changes (mdl.c..) > > I don't think this fixes all the > problems however since, in principle, a thread could be switched to while > it is attached to a different process. This means, at each position where KeAttacheProcess is called, there must be disable all thread switching. > Would it be possible to try the > attached patch instead? The patch solves my problem. But there exist two other problems. The patch does not check if the stack is in kernel or in user space and there exist a problem if the stack is located over a 4MB boundary. I think the real problem is, that the mapping for the stack is created within the wrong proccess context. My second patch solve this problem, but it must disable a warning for bad mappings. - Hartmut |