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

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:

PCIe Config access from Driver IOCTL context

GiridharGiridhar Member Posts: 6

Hi ,

I am writing driver for PCIe switch, where i need to configure Switch UP stream for various features.

I am trying to do read/write operation from driver IOCTL context, which is causing system crash. Also I need to access the config space from the DPC /ISR Level. I
is it allowed to access the config space and Extended config space from above context. From documentation I saw, PCIe config space/extended config space is accessable at PASSIVE level.

Let me the system crash is due to this restriction.

If other mechanisms are available please share me.



  • raj_rraj_r Member - All Emails Posts: 983
    via Email
    omg did you post this on some emergency broadcast mode that sent it to
    each every forum on the whole world wide webs

    please post on a relevant group (possibly ntdev ) and do not cross
    post on ntfsd, windbg ,
  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 8,037

    Mr. Giridhar.... As Mr. Raj_R said (thank you) we have a rule here against "cross-posting" in multiple forums. You would know this if you read the forum FAQ before posting.

    But, I'll explain the rule to you: One question gets one post in one forum. Period. Full stop.

    I'll lock this thread for you, and I'll delete your duplicate post earlier in this forum.


    Peter Viscarola

This discussion has been closed.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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!
Internals & Software Drivers 30 Nov 2020 LIVE ONLINE
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Developing Minifilters Early 2021 LIVE ONLINE