mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-23 04:48:17 +00:00
57b90e8d75
The main feature for this version upgrade is the use of the instruction emulator (IEM) to speed up execution and less often the slow recompiler. issue #2059
216 lines
4.4 KiB
C++
216 lines
4.4 KiB
C++
/*
|
|
* \brief Dummy implementations of symbols needed by VirtualBox
|
|
* \author Norman Feske
|
|
* \date 2013-08-22
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2013 Genode Labs GmbH
|
|
*
|
|
* This file is distributed under the terms of the GNU General Public License
|
|
* version 2.
|
|
*/
|
|
|
|
#include <base/log.h>
|
|
|
|
#include <iprt/assert.h>
|
|
|
|
extern "C" {
|
|
|
|
#define DUMMY(name) \
|
|
void name(void) { \
|
|
Genode::warning(__func__, ": " #name " called, not implemented, eip=", \
|
|
__builtin_return_address(0)); \
|
|
while (1) { Assert(!"not implemented"); } \
|
|
}
|
|
|
|
DUMMY(DBGFR3CoreWrite)
|
|
DUMMY(DBGCRegisterCommands)
|
|
DUMMY(DBGFR3LogModifyDestinations)
|
|
DUMMY(DBGFR3LogModifyFlags)
|
|
DUMMY(DBGFR3LogModifyGroups)
|
|
DUMMY(DBGFR3OSDetect)
|
|
DUMMY(DBGFR3OSQueryNameAndVersion)
|
|
DUMMY(DBGFR3OSQueryInterface)
|
|
DUMMY(DBGFR3PlugInLoad)
|
|
DUMMY(DBGFR3PlugInLoadAll)
|
|
DUMMY(DBGFR3StackWalkBegin)
|
|
DUMMY(DBGFR3StackWalkBeginEx)
|
|
DUMMY(DBGFR3StackWalkNext)
|
|
DUMMY(DBGFR3StackWalkEnd)
|
|
DUMMY(DBGFR3PlugInUnload)
|
|
DUMMY(DBGFR3PlugInUnloadAll)
|
|
|
|
DUMMY(HBDMgrDestroy)
|
|
|
|
DUMMY(HMGetPaePdpes)
|
|
DUMMY(HMInvalidatePage)
|
|
DUMMY(HMInvalidatePageOnAllVCpus)
|
|
DUMMY(HMInvalidatePhysPage)
|
|
DUMMY(HMSetSingleInstruction)
|
|
|
|
DUMMY(HMR3CheckError)
|
|
DUMMY(HMR3DisablePatching)
|
|
DUMMY(HMR3EnablePatching)
|
|
DUMMY(HMR3EmulateIoBlock)
|
|
DUMMY(HMR3IsEnabled)
|
|
DUMMY(HMR3IsNestedPagingActive)
|
|
DUMMY(HMR3IsUXActive)
|
|
DUMMY(HMR3IsVpidActive)
|
|
DUMMY(HMR3PatchTprInstr)
|
|
|
|
DUMMY(MMHyperR0ToCC)
|
|
DUMMY(MMHyperRCToCC)
|
|
|
|
DUMMY(MMR3HeapAPrintfV)
|
|
DUMMY(MMR3HyperRealloc)
|
|
DUMMY(MMR3LockCall)
|
|
DUMMY(MMR3PageDummyHCPhys)
|
|
DUMMY(MMR3UkHeapFree)
|
|
|
|
DUMMY(PDMR3AsyncCompletionBwMgrSetMaxForFile)
|
|
DUMMY(PDMR3LdrGetInterfaceSymbols)
|
|
DUMMY(PDMR3LdrQueryRCModFromPC)
|
|
DUMMY(PDMCritSectBothFF)
|
|
|
|
DUMMY(pgmMapActivateCR3)
|
|
DUMMY(pgmMapDeactivateCR3)
|
|
DUMMY(pgmMapResolveConflicts)
|
|
DUMMY(pgmR3SyncPTResolveConflict)
|
|
DUMMY(pgmR3SyncPTResolveConflictPAE)
|
|
|
|
DUMMY(PGMR3HandlerVirtualRegister)
|
|
|
|
DUMMY(DBGFR3PagingDumpEx)
|
|
DUMMY(MMPagePhys2PageEx)
|
|
DUMMY(PGMR3DbgR3Ptr2GCPhys)
|
|
|
|
DUMMY(PGMR3MappingsUnfix)
|
|
DUMMY(PGMR3MappingsFix)
|
|
DUMMY(PGMR3MappingsDisable)
|
|
DUMMY(PGMR3MapPT)
|
|
|
|
DUMMY(PGMR3SharedModuleCheckAll)
|
|
DUMMY(PGMR3SharedModuleUnregister)
|
|
DUMMY(PGMR3SharedModuleRegister)
|
|
|
|
DUMMY(pgmR3MapInfo)
|
|
|
|
DUMMY(RTTraceBufCarve)
|
|
DUMMY(RTTraceBufEnumEntries)
|
|
DUMMY(RTTraceBufGetEntryCount)
|
|
DUMMY(RTTraceBufGetEntrySize)
|
|
|
|
DUMMY(RTPoll)
|
|
DUMMY(RTPollSetAdd)
|
|
DUMMY(RTPollSetCreate)
|
|
DUMMY(RTPollSetEventsChange)
|
|
DUMMY(RTPollSetRemove)
|
|
DUMMY(RTPollSetDestroy)
|
|
|
|
DUMMY(RTProcCreate)
|
|
DUMMY(RTProcTerminate)
|
|
DUMMY(RTProcWait)
|
|
DUMMY(RTLdrGetSuff)
|
|
DUMMY(RTLdrLoadAppPriv)
|
|
|
|
DUMMY(RTPathAppend)
|
|
DUMMY(RTPathChangeToDosSlashes)
|
|
DUMMY(RTSemEventWaitEx)
|
|
DUMMY(RTSemPing)
|
|
DUMMY(RTSemPingWait)
|
|
|
|
DUMMY(RTMemDupExTag)
|
|
DUMMY(RTMemDupTag)
|
|
DUMMY(RTMemExecFree)
|
|
|
|
DUMMY(SELMR3GetSelectorInfo)
|
|
DUMMY(SELMR3GetShadowSelectorInfo)
|
|
|
|
DUMMY(SUPReadTscWithDelta)
|
|
DUMMY(SUPR3HardenedLdrLoadPlugIn)
|
|
DUMMY(SUPR3PageAlloc)
|
|
DUMMY(SUPR3PageFree)
|
|
DUMMY(SUPR3PageMapKernel)
|
|
DUMMY(SUPR3ReadTsc)
|
|
DUMMY(SUPGetCpuHzFromGipForAsyncMode)
|
|
|
|
DUMMY(SUPSemEventMultiSignal)
|
|
DUMMY(SUPSemEventMultiWaitNoResume)
|
|
DUMMY(SUPSemEventMultiReset)
|
|
|
|
DUMMY(VMMR3GetHostToGuestSwitcher)
|
|
|
|
DUMMY(RTHeapSimpleRelocate)
|
|
DUMMY(RTHeapSimpleAlloc)
|
|
DUMMY(RTHeapSimpleInit)
|
|
DUMMY(RTHeapSimpleFree)
|
|
DUMMY(RTAvloU32Remove)
|
|
DUMMY(RTAvloU32Get)
|
|
DUMMY(RTAvloU32GetBestFit)
|
|
DUMMY(RTAvloU32DoWithAll)
|
|
DUMMY(RTAvloU32Insert)
|
|
|
|
DUMMY(IOMInterpretOUT)
|
|
DUMMY(IOMInterpretOUTS)
|
|
DUMMY(IOMInterpretIN)
|
|
DUMMY(IOMInterpretINS)
|
|
|
|
DUMMY(DISInstrToStrWithReader)
|
|
DUMMY(DISInstrToStrEx)
|
|
|
|
DUMMY(RTFileQueryFsSizes)
|
|
|
|
DUMMY(RTAvlrFileOffsetGet)
|
|
DUMMY(RTAvlrFileOffsetGetBestFit)
|
|
DUMMY(RTAvlrFileOffsetInsert)
|
|
DUMMY(RTAvlrFileOffsetRemove)
|
|
DUMMY(RTAvlrU64Destroy)
|
|
DUMMY(RTAvlrU64DoWithAll)
|
|
DUMMY(RTAvlrU64GetBestFit)
|
|
DUMMY(RTAvlrU64Insert)
|
|
DUMMY(RTAvlrU64RangeGet)
|
|
DUMMY(RTAvlrU64RangeRemove)
|
|
DUMMY(RTAvlrU64Remove)
|
|
DUMMY(RTSocketToNative)
|
|
|
|
DUMMY(RTStrCat)
|
|
DUMMY(RTStrCatP)
|
|
DUMMY(RTStrStr)
|
|
|
|
DUMMY(RTTcpClientCloseEx)
|
|
DUMMY(RTTcpClientConnectEx)
|
|
DUMMY(RTTcpFlush)
|
|
DUMMY(RTTcpGetLocalAddress)
|
|
DUMMY(RTTcpGetPeerAddress)
|
|
DUMMY(RTTcpRead)
|
|
DUMMY(RTTcpReadNB)
|
|
DUMMY(RTTcpSelectOne)
|
|
DUMMY(RTTcpSelectOneEx)
|
|
DUMMY(RTTcpSetSendCoalescing)
|
|
DUMMY(RTTcpSgWrite)
|
|
DUMMY(RTTcpSgWriteNB)
|
|
DUMMY(RTTcpWrite)
|
|
DUMMY(RTTcpWriteNB)
|
|
DUMMY(RTTimeLocalExplode)
|
|
|
|
DUMMY(RTSymlinkCreate)
|
|
DUMMY(RTSymlinkRead)
|
|
DUMMY(RTSymlinkDelete)
|
|
|
|
DUMMY(RTNetIPv6PseudoChecksumEx)
|
|
|
|
DUMMY(pthread_mutex_timedlock)
|
|
DUMMY(pthread_kill)
|
|
|
|
DUMMY(RTZipXarFsStreamFromIoStream)
|
|
|
|
DUMMY(FTMR3CancelStandby)
|
|
DUMMY(FTMR3PowerOn)
|
|
|
|
DUMMY(GIMReadMsr)
|
|
DUMMY(GIMR3Term)
|
|
DUMMY(GIMWriteMsr)
|
|
|
|
} /* extern "C" */
|