VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h@ 4800

Last change on this file since 4800 was 4800, checked in by vboxsync, 18 years ago

Redid the supdrv interface. works on windows and linux while the other OSes still needs some adjusting/testing. internal networking is temporarily broken as the SUPCallVMMR0Ex interface is being reworked (this is what all this is really about).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/* $Id: SUPLibInternal.h 4800 2007-09-14 14:59:15Z vboxsync $ */
2/** @file
3 * VirtualBox Support Library - Internal header.
4 */
5
6/*
7 * Copyright (C) 2006-2007 innotek GmbH
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef __SupInternal_h__
19#define __SupInternal_h__
20
21#include <VBox/cdefs.h>
22#include <VBox/types.h>
23
24
25
26/*******************************************************************************
27* Global Variables *
28*******************************************************************************/
29/** The negotiated interrupt number. */
30extern uint8_t g_uchInterruptNo;
31/** The negotiated cookie. */
32extern uint32_t g_u32Cookie;
33/** The negotiated cookie. */
34extern uint32_t g_u32CookieSession;
35
36
37
38/*******************************************************************************
39* OS Specific Function *
40*******************************************************************************/
41__BEGIN_DECLS
42int suplibOsInstall(void);
43int suplibOsUninstall(void);
44int suplibOsInit(size_t cbReserve);
45int suplibOsTerm(void);
46int suplibOsIOCtl(uintptr_t uFunction, void *pvReq, size_t cbReq);
47#ifdef VBOX_WITHOUT_IDT_PATCHING
48int suplibOSIOCtlFast(uintptr_t uFunction);
49#endif
50int suplibOsPageAlloc(size_t cPages, void **ppvPages);
51int suplibOsPageFree(void *pvPages, size_t cPages);
52__END_DECLS
53
54
55#endif
56
Note: See TracBrowser for help on using the repository browser.

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