alloc_text(INIT) for data?

Two related questions:

  1. Is there an alloc_text(INIT) for data, or only for code?

  2. Is there a command line switch for specifying alloc_text(INIT) in Build,
    or does it have to be in the source code?

Thanks.

There is alloc_data() and you can then specify the
attributes of the section with /SECTION see
http://msdn.microsoft.com/en-US/library/sf9b18xk(v=vs.80).aspx a
pageable section should approximate INIT. There is no command line
option to specify that a part of the driver be in the INIT section.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

“Neil Weicher” wrote in message news:xxxxx@ntfsd:

> Two related questions:
>
> 1) Is there an alloc_text(INIT) for data, or only for code?
>
> 2) Is there a command line switch for specifying alloc_text(INIT) in Build,
> or does it have to be in the source code?
>
> Thanks.