VirtualBox

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

Last change on this file since 28800 was 28800, checked in by vboxsync, 14 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/** @file
2 *
3 * VBoxGuest -- VirtualBox Win32 guest support driver
4 *
5 * Copyright (C) 2006-2007 Oracle Corporation
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
16#ifndef _H_VBOXGUESTHELPER
17#define _H_VBOXGUESTHELPER
18
19extern "C"
20{
21/**
22 * Helper to scan the PCI resource list and remember stuff.
23 *
24 * @param pResList Resource list
25 * @param pDevExt Device extension
26 * @return NT status code
27 */
28NTSTATUS VBoxScanPCIResourceList(PCM_RESOURCE_LIST pResList, PVBOXGUESTDEVEXT pDevExt);
29
30/**
31 * Helper to map VMMDev Memory.
32 *
33 * @param pDevExt VMMDev device extension
34 * @return NT status code
35 */
36NTSTATUS hlpVBoxMapVMMDevMemory (PVBOXGUESTDEVEXT pDevExt);
37
38/**
39 * Helper to unmap VMMDev Memory.
40 *
41 * @param pDevExt VMMDev device extension
42 */
43void hlpVBoxUnmapVMMDevMemory (PVBOXGUESTDEVEXT pDevExt);
44
45/**
46 * Helper to report the guest information to host.
47 *
48 * @param pDevExt VMMDev device extension
49 * @return NT status code
50 */
51NTSTATUS hlpVBoxReportGuestInfo (PVBOXGUESTDEVEXT pDevExt);
52
53#ifdef VBOX_WITH_GUEST_BUGCHECK_DETECTION
54/**
55 * Helper for registering the bugcheck callback rountine(s).
56 *
57 * @param pDevExt VMMDev device extension
58 */
59void hlpRegisterBugCheckCallback (PVBOXGUESTDEVEXT pDevExt);
60
61/**
62 * Helper for deregistering the bugcheck callback rountine(s).
63 *
64 * @param pDevExt VMMDev device extension
65 */
66void hlpDeregisterBugCheckCallback (PVBOXGUESTDEVEXT pDevExt);
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