VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxGuest/Helper.h@ 18019

Last change on this file since 18019 was 18019, checked in by vboxsync, 16 years ago

VBoxGuest/Windows: Added bugcheck detection + details (not enabled by default yet).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1/** @file
2 *
3 * VBoxGuest -- VirtualBox Win32 guest support driver
4 *
5 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
6 *
7 * This file is part of VirtualBox Open Source Edition (OSE), as
8 * available from http://www.virtualbox.org. This file is free software;
9 * you can redistribute it and/or modify it under the terms of the GNU
10 * General Public License (GPL) as published by the Free Software
11 * Foundation, in version 2 as it comes in the "COPYING" file of the
12 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 *
15 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
16 * Clara, CA 95054 USA or visit http://www.sun.com if you need
17 * additional information or have any questions.
18 */
19
20#ifndef _H_VBOXGUESTHELPER
21#define _H_VBOXGUESTHELPER
22
23extern "C"
24{
25/**
26 * Helper to scan the PCI resource list and remember stuff.
27 *
28 * @param pResList Resource list
29 * @param pDevExt Device extension
30 * @return NT status code
31 */
32NTSTATUS VBoxScanPCIResourceList(PCM_RESOURCE_LIST pResList, PVBOXGUESTDEVEXT pDevExt);
33
34/**
35 * Helper to map VMMDev Memory.
36 *
37 * @param pDevExt VMMDev device extension
38 * @return NT status code
39 */
40NTSTATUS hlpVBoxMapVMMDevMemory (PVBOXGUESTDEVEXT pDevExt);
41
42/**
43 * Helper to unmap VMMDev Memory.
44 *
45 * @param pDevExt VMMDev device extension
46 */
47void hlpVBoxUnmapVMMDevMemory (PVBOXGUESTDEVEXT pDevExt);
48
49/**
50 * Helper to report the guest information to host.
51 *
52 * @param pDevExt VMMDev device extension
53 * @return NT status code
54 */
55NTSTATUS hlpVBoxReportGuestInfo (PVBOXGUESTDEVEXT pDevExt);
56
57#ifdef VBOX_WITH_GUEST_BUGCHECK_DETECTION
58/**
59 * Helper for registering the bugcheck callback rountine(s).
60 *
61 * @param pDevExt VMMDev device extension
62 * @return NT status code
63 */
64NTSTATUS hlpRegisterBugCheckCallback (PVBOXGUESTDEVEXT pDevExt);
65
66VOID hlpVBoxGuestBugCheckCallback (PVOID pvBuffer, ULONG ulLength);
67#endif
68}
69
70#endif // _H_VBOXGUESTHELPER
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette