[ros-kernel] How to get started writing ReactOS drivers
vizzini at plasmic.com
Sun Feb 8 18:50:09 CET 2004
On Sun, 2004-02-08 at 18:31, Jonathan Wilson wrote:
> Vizzini wrote:
> > On Sun, 2004-02-08 at 11:18, Mike Nordell wrote:
> >>>What is the right way to lock these drivers into memory, then?
> >>Not sure if it's this level the question refers to, but PE sections have a
> >>"not paged" flag that is used for just this purpose (bit 27 I think).
> > Yeah, that sounds right to me too. The next question is what method ros
> > drivers should use to set that bit.
> The ideal solution would be to modify LD and add a flag to mark sections as
> nonpagable (just like the MS linker has one)
> But, failing that, another answer is to make a simple tool that modifies a
> PE file and marks segments as not pageable.
I really didn't mean for this discussion to get so theoretical. I'm
really interested to know what Hartmut, Eric, Casper, David, and the
rest of the folks who have contributed drivers currently do to keep code
from paging out. I will go look tonight and see if I can figure it out.
More information about the Ros-kernel