VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/SUPR0Elf.asm@ 307

Last change on this file since 307 was 1, checked in by vboxsync, 55 years ago

import

File size: 2.1 KB
Line 
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
24BEGINCODE
25
26%macro GEN_THUNK 1
27extern SUPR0$ %+ %1
28BEGINPROC %1
29 mov r11, qword SUPR0$ %+ %1
30 jmp r11
31ENDPROC %1
32%endmacro
33
34GEN_THUNK SUPR0ObjRegister
35GEN_THUNK SUPR0ObjAddRef
36GEN_THUNK SUPR0ObjRelease
37GEN_THUNK SUPR0ObjVerifyAccess
38GEN_THUNK SUPR0LockMem
39GEN_THUNK SUPR0UnlockMem
40GEN_THUNK SUPR0ContAlloc
41GEN_THUNK SUPR0ContFree
42GEN_THUNK SUPR0MemAlloc
43GEN_THUNK SUPR0MemGetPhys
44GEN_THUNK SUPR0MemFree
45GEN_THUNK SUPR0Printf
46GEN_THUNK RTMemAlloc
47GEN_THUNK RTMemAllocZ
48GEN_THUNK RTMemFree
49;GEN_THUNK RTSemMutexCreate
50;GEN_THUNK RTSemMutexRequest
51;GEN_THUNK RTSemMutexRelease
52;GEN_THUNK RTSemMutexDestroy
53GEN_THUNK RTSemFastMutexCreate
54GEN_THUNK RTSemFastMutexDestroy
55GEN_THUNK RTSemFastMutexRequest
56GEN_THUNK RTSemFastMutexRelease
57GEN_THUNK RTSemEventCreate
58GEN_THUNK RTSemEventSignal
59GEN_THUNK RTSemEventWait
60GEN_THUNK RTSemEventDestroy
61GEN_THUNK RTSpinlockCreate
62GEN_THUNK RTSpinlockDestroy
63GEN_THUNK RTSpinlockAcquire
64GEN_THUNK RTSpinlockRelease
65GEN_THUNK RTSpinlockAcquireNoInts
66GEN_THUNK RTSpinlockReleaseNoInts
67GEN_THUNK RTThreadSelf
68GEN_THUNK RTThreadSleep
69GEN_THUNK RTThreadYield
70GEN_THUNK RTLogDefaultInstance
71GEN_THUNK RTLogRelDefaultInstance
72GEN_THUNK RTLogLoggerEx
73GEN_THUNK RTLogLoggerExV
74GEN_THUNK AssertMsg1
75GEN_THUNK AssertMsg2
76
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