1 | ;
|
---|
2 | ; VBox host drivers - Ring-0 support drivers - Shared code
|
---|
3 | ;
|
---|
4 | ; Import trunks for 64-bit ELF
|
---|
5 | ;
|
---|
6 | ; Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | ;
|
---|
8 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
10 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | ; General Public License as published by the Free Software Foundation,
|
---|
12 | ; in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | ; distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | ; be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | ;
|
---|
16 | ; If you received this file as part of a commercial VirtualBox
|
---|
17 | ; distribution, then only the terms of your commercial VirtualBox
|
---|
18 | ; license agreement apply instead of the previous paragraph.
|
---|
19 | ;
|
---|
20 | ;
|
---|
21 |
|
---|
22 | %include "iprt/asmdefs.mac"
|
---|
23 |
|
---|
24 | BEGINCODE
|
---|
25 |
|
---|
26 | %macro GEN_THUNK 1
|
---|
27 | extern SUPR0$ %+ %1
|
---|
28 | BEGINPROC %1
|
---|
29 | mov r11, qword SUPR0$ %+ %1
|
---|
30 | jmp r11
|
---|
31 | ENDPROC %1
|
---|
32 | %endmacro
|
---|
33 |
|
---|
34 | GEN_THUNK SUPR0ObjRegister
|
---|
35 | GEN_THUNK SUPR0ObjAddRef
|
---|
36 | GEN_THUNK SUPR0ObjRelease
|
---|
37 | GEN_THUNK SUPR0ObjVerifyAccess
|
---|
38 | GEN_THUNK SUPR0LockMem
|
---|
39 | GEN_THUNK SUPR0UnlockMem
|
---|
40 | GEN_THUNK SUPR0ContAlloc
|
---|
41 | GEN_THUNK SUPR0ContFree
|
---|
42 | GEN_THUNK SUPR0MemAlloc
|
---|
43 | GEN_THUNK SUPR0MemGetPhys
|
---|
44 | GEN_THUNK SUPR0MemFree
|
---|
45 | GEN_THUNK SUPR0Printf
|
---|
46 | GEN_THUNK RTMemAlloc
|
---|
47 | GEN_THUNK RTMemAllocZ
|
---|
48 | GEN_THUNK RTMemFree
|
---|
49 | ;GEN_THUNK RTSemMutexCreate
|
---|
50 | ;GEN_THUNK RTSemMutexRequest
|
---|
51 | ;GEN_THUNK RTSemMutexRelease
|
---|
52 | ;GEN_THUNK RTSemMutexDestroy
|
---|
53 | GEN_THUNK RTSemFastMutexCreate
|
---|
54 | GEN_THUNK RTSemFastMutexDestroy
|
---|
55 | GEN_THUNK RTSemFastMutexRequest
|
---|
56 | GEN_THUNK RTSemFastMutexRelease
|
---|
57 | GEN_THUNK RTSemEventCreate
|
---|
58 | GEN_THUNK RTSemEventSignal
|
---|
59 | GEN_THUNK RTSemEventWait
|
---|
60 | GEN_THUNK RTSemEventDestroy
|
---|
61 | GEN_THUNK RTSpinlockCreate
|
---|
62 | GEN_THUNK RTSpinlockDestroy
|
---|
63 | GEN_THUNK RTSpinlockAcquire
|
---|
64 | GEN_THUNK RTSpinlockRelease
|
---|
65 | GEN_THUNK RTSpinlockAcquireNoInts
|
---|
66 | GEN_THUNK RTSpinlockReleaseNoInts
|
---|
67 | GEN_THUNK RTThreadSelf
|
---|
68 | GEN_THUNK RTThreadSleep
|
---|
69 | GEN_THUNK RTThreadYield
|
---|
70 | GEN_THUNK RTLogDefaultInstance
|
---|
71 | GEN_THUNK RTLogRelDefaultInstance
|
---|
72 | GEN_THUNK RTLogLoggerEx
|
---|
73 | GEN_THUNK RTLogLoggerExV
|
---|
74 | GEN_THUNK AssertMsg1
|
---|
75 | GEN_THUNK AssertMsg2
|
---|
76 |
|
---|