Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


DUMP_POINTERS

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hi, All!

Can anyone explain me fields of DUMP_POINTERS structure?

Regards


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Comments

  • Paul_BunnPaul_Bunn Member Posts: 251
    From MSDN:
    IOCTL_SCSI_GET_DUMP_POINTERS
    Operation
    The system supplied SCSI port driver and atdisk driver support this request.
    Any replacement driver that controls a disk used for the paging file, must
    support this request.

    This request is issued during system initialization. The driver must return
    configuration parameters that are used if a system crash occurs to dump
    memory to the paging file. The DUMP_POINTERS structure describes these
    configuration parameters, and the driver must set all parameters
    appropriately to its disk. Each pointer must be a valid pointer or NULL;
    each size must be a valid size or zero.

    Input
    None.

    Output
    The driver returns the DUMP_POINTERS parameters in the buffer at
    Irp->AssociatedIrp.SystemBuffer.


    Regards,

    Paul Bunn, UltraBac.com, 425-644-6000
    Microsoft MVP - WindowsNT/2000
    http://www.ultrabac.com


    -----Original Message-----
    From: Dennis [mailto:[email protected]]
    Sent: Monday, May 08, 2000 5:07 AM
    To: NT Developers Interest List
    Subject: [ntdev] DUMP_POINTERS


    Hi, All!

    Can anyone explain me fields of DUMP_POINTERS structure?
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    I should rephrase Dennis' question.

    Can anyone explain how to fill out the DUMP_POINTERS structure.

    Daniel

    -----Original Message-----
    From: Paul Bunn [mailto:[email protected]]
    Sent: Tuesday, May 09, 2000 2:10 PM
    To: NT Developers Interest List
    Subject: [ntdev] RE: DUMP_POINTERS


    From MSDN:
    IOCTL_SCSI_GET_DUMP_POINTERS
    Operation
    The system supplied SCSI port driver and atdisk driver support this request.
    Any replacement driver that controls a disk used for the paging file, must
    support this request.

    This request is issued during system initialization. The driver must return
    configuration parameters that are used if a system crash occurs to dump
    memory to the paging file. The DUMP_POINTERS structure describes these
    configuration parameters, and the driver must set all parameters
    appropriately to its disk. Each pointer must be a valid pointer or NULL;
    each size must be a valid size or zero.

    Input
    None.

    Output
    The driver returns the DUMP_POINTERS parameters in the buffer at
    Irp->AssociatedIrp.SystemBuffer.


    Regards,

    Paul Bunn, UltraBac.com, 425-644-6000
    Microsoft MVP - WindowsNT/2000
    http://www.ultrabac.com


    -----Original Message-----
    From: Dennis [mailto:[email protected]]
    Sent: Monday, May 08, 2000 5:07 AM
    To: NT Developers Interest List
    Subject: [ntdev] DUMP_POINTERS


    Hi, All!

    Can anyone explain me fields of DUMP_POINTERS structure?

    ---
    You are currently subscribed to ntdev as: [email protected]
    To unsubscribe send a blank email to $subst('Email.Unsub')
  • Paul_BunnPaul_Bunn Member Posts: 251
    Oh, I think that SCSIPORT takes care of it for you. Here's how ATDISK.C
    deals with it (ie it ignores it).

    case IOCTL_SCSI_GET_DUMP_POINTERS:

    //
    // Get parameters for crash dump driver.
    //

    if (irpSp->Parameters.DeviceIoControl.OutputBufferLength
    < sizeof(DUMP_POINTERS)) {
    Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;

    } else {

    PDUMP_POINTERS dumpPointers =
    (PDUMP_POINTERS)Irp->AssociatedIrp.SystemBuffer;

    dumpPointers->AdapterObject = NULL;
    dumpPointers->MappedRegisterBase =
    &diskExtension->ControllerExtension->MappedAddressList;
    dumpPointers->PortConfiguration = NULL;
    dumpPointers->CommonBufferVa = NULL;
    dumpPointers->CommonBufferPa.QuadPart = 0;
    dumpPointers->CommonBufferSize = 0;

    Irp->IoStatus.Status = STATUS_SUCCESS;
    Irp->IoStatus.Information = sizeof(DUMP_POINTERS);
    }
    break;


    Regards,

    Paul Bunn, UltraBac.com, 425-644-6000
    Microsoft MVP - WindowsNT/2000
    http://www.ultrabac.com


    -----Original Message-----
    From: Nemiroff, Daniel [mailto:[email protected]]
    Sent: Tuesday, May 09, 2000 2:30 PM
    To: NT Developers Interest List
    Subject: [ntdev] RE: DUMP_POINTERS


    I should rephrase Dennis' question.

    Can anyone explain how to fill out the DUMP_POINTERS structure.

    Daniel

    -----Original Message-----
    From: Paul Bunn [mailto:[email protected]]
    Sent: Tuesday, May 09, 2000 2:10 PM
    To: NT Developers Interest List
    Subject: [ntdev] RE: DUMP_POINTERS


    From MSDN:
    IOCTL_SCSI_GET_DUMP_POINTERS
    Operation
    The system supplied SCSI port driver and atdisk driver support this request.
    Any replacement driver that controls a disk used for the paging file, must
    support this request.

    This request is issued during system initialization. The driver must return
    configuration parameters that are used if a system crash occurs to dump
    memory to the paging file. The DUMP_POINTERS structure describes these
    configuration parameters, and the driver must set all parameters
    appropriately to its disk. Each pointer must be a valid pointer or NULL;
    each size must be a valid size or zero.

    Input
    None.

    Output
    The driver returns the DUMP_POINTERS parameters in the buffer at
    Irp->AssociatedIrp.SystemBuffer.


    Regards,

    Paul Bunn, UltraBac.com, 425-644-6000
    Microsoft MVP - WindowsNT/2000
    http://www.ultrabac.com


    -----Original Message-----
    From: Dennis [mailto:[email protected]]
    Sent: Monday, May 08, 2000 5:07 AM
    To: NT Developers Interest List
    Subject: [ntdev] DUMP_POINTERS


    Hi, All!

    Can anyone explain me fields of DUMP_POINTERS structure?

    ---
    You are currently subscribed to ntdev as: [email protected]
    To unsubscribe send a blank email to $subst('Email.Unsub')



    ---
    You are currently subscribed to ntdev as: [email protected]
    To unsubscribe send a blank email to $subst('Email.Unsub')
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online