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

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

Re: dump mode callback [OT]

Pavel_APavel_A Member Posts: 2,681
Don't you have in Xen something like VMware's VAssert, VProbes or vmss2core?

-- pa


"James Harper" <xxxxx@bendigoit.com.au> wrote in message
news:xxxxx@ntdev...
> Further to my question about DbgSetDebugPrintCallback in dump mode, is it
> possible to get a callback somehow when the system first enters dump mode?
>
> My setup is a bus driver (xenpci) and a storage driver (xenvbd). The
> xenvbd gets called in dump mode, but the DebugPrint hooking is handled by
> xenpci and I'd like it to stay in there.
>
> xenvbd's DriverEntry gets called pretty much immediately on entering dump
> mode, but the KeRegisterBugCheckCallback I set up in xenpci only gets
> called at the very end of dump mode (behaviour changed to this somewhere
> along the way - I think it used to be called at the start of dump mode).
>
> The only thing I can think of is to use KeRegisterBugCheckReasonCallback
> and use the first write callback to determine that we are now in dump
> mode, but that seems a bit sloppy.
>
> Thanks
>
> James
>
Sign In or Register to comment.

Howdy, Stranger!

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

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA