1 | /* $Id: SUPLibInternal.h 4882 2007-09-18 07:37:44Z 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. */
|
---|
30 | extern uint8_t g_uchInterruptNo;
|
---|
31 | /** The negotiated cookie. */
|
---|
32 | extern uint32_t g_u32Cookie;
|
---|
33 | /** The negotiated cookie. */
|
---|
34 | extern uint32_t g_u32CookieSession;
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | /*******************************************************************************
|
---|
39 | * OS Specific Function *
|
---|
40 | *******************************************************************************/
|
---|
41 | __BEGIN_DECLS
|
---|
42 | int suplibOsInstall(void);
|
---|
43 | int suplibOsUninstall(void);
|
---|
44 | int suplibOsInit(size_t cbReserve);
|
---|
45 | int suplibOsTerm(void);
|
---|
46 | int suplibOsIOCtl(uintptr_t uFunction, void *pvReq, size_t cbReq);
|
---|
47 | int suplibOsIOCtlFast(uintptr_t uFunction);
|
---|
48 | int suplibOsPageAlloc(size_t cPages, void **ppvPages);
|
---|
49 | int suplibOsPageFree(void *pvPages, size_t cPages);
|
---|
50 | __END_DECLS
|
---|
51 |
|
---|
52 |
|
---|
53 | #endif
|
---|
54 |
|
---|