paged/nonpaged

Home Forums Discussions Support Portal paged/nonpaged

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 10 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5082

    alex_s
    Participant

    Sorry for the silly question. Could you enlighten me on what kind of memory are these arrays of ?

    ===
    #include “precomp.h”

    PDRIVER_DISPATCH g_TcpipOriginalDispatch[IRP_MJ_MAXIMUM_FUNCTION];
    TCPIP_DEVICE_INFORMATION g_TcpipDevices[TCPIP_DEVICES_MAX];
    ===

    I mean is it paged or nonpaged ?

    #6207

    Vadim Smirnov
    Moderator

    Driver code and data are located in non paged memory by default. Though, you can make parts of your driver pageable with a special compiler directives.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.