none
Want to know which function is called when sdbus is going to D3 and D0. RRS feed

  • Question

  • I want to know which function is called when SDBUS is going to D3 and D0. I want to set breakpoint at that point.
    Friday, May 24, 2013 6:40 AM

Answers

  • there won't be anything in the public symbols that will help you here and this changes from release to release. instead, you can easily put a breakpoint on sdbus's power dispatch routine. you can find it in the debugger by running

    !drvobj sdbus.sys 0x3

    which will dump the routine


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Saturday, May 25, 2013 2:29 AM

All replies

  • there won't be anything in the public symbols that will help you here and this changes from release to release. instead, you can easily put a breakpoint on sdbus's power dispatch routine. you can find it in the debugger by running

    !drvobj sdbus.sys 0x3

    which will dump the routine


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Saturday, May 25, 2013 2:29 AM
  • After running this command output is:

    0: kd> !drvobj sdbus.sys 0x3
    Driver object (805a0000) is for:
    805a0000: is not a driver object

    Saturday, May 25, 2013 6:24 AM
  • Run !object \Driver and find the driver object there. Or if sdbus created your pdo, run !devobj on the pdo and that will give you the driver object

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Saturday, May 25, 2013 2:37 PM