Gloabal Variables in Driver

Gloabal variables in driver are paged or non-paged ?

NON PAGED

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Abhijit Kulkarni
Sent: Sunday, December 28, 2003 8:09 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Gloabal Variables in Driver

Gloabal variables in driver are paged or non-paged ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@garlic.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Actually, they can be whatever you want them to be. The default is
non-paged. If you want to put them in another segment, use the pragmas:

#pragma data_seg(“INIT”)

#pragma data_seg(“PAGE”)

etc.


Jake Oshins
Windows Base Kernel Team

This posting is provided “AS IS” with no warranties, and confers no rights.

“Prokash Sinha” wrote in message news:xxxxx@ntdev…
>
> NON PAGED
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Abhijit Kulkarni
> Sent: Sunday, December 28, 2003 8:09 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Gloabal Variables in Driver
>
>
> Gloabal variables in driver are paged or non-paged ?
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@garlic.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>

Nonpaged, unless declared in #pragma data_seg(“PAGE”)

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Abhijit Kulkarni”
To: “Windows System Software Devs Interest List”
Sent: Monday, December 29, 2003 7:09 AM
Subject: [ntdev] Gloabal Variables in Driver

> Gloabal variables in driver are paged or non-paged ?
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Non-paged unless you specify otherwise

Jamey Kirby, Windows DDK MVP
StorageCraft Inc.
xxxxx@storagecraft.com
http://www.storagecraft.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Abhijit Kulkarni
Sent: Sunday, December 28, 2003 8:09 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Gloabal Variables in Driver

Gloabal variables in driver are paged or non-paged ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com