VirtualBox

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

Last change on this file since 4870 was 4811, checked in by vboxsync, 17 years ago

Split VMMR0Entry into VMMR0EntryInt, VMMR0EntryFast and VMMr0EntryEx. This will prevent the SUPCallVMMR0Ex path from causing harm and messing up the paths that has to be optimized.

  • 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 4811 2007-09-14 17:53:56Z 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);
47int suplibOSIOCtlFast(uintptr_t uFunction);
48int suplibOsPageAlloc(size_t cPages, void **ppvPages);
49int suplibOsPageFree(void *pvPages, size_t cPages);
50__END_DECLS
51
52
53#endif
54
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