Home
last modified time | relevance | path

Searched refs:gEmuThunk (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuLib/
DDxeEmuLib.c22 EMU_THUNK_PROTOCOL *gEmuThunk = NULL; variable
46 gEmuThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob))); in DxeEmuLibConstructor()
47 ASSERT (gEmuThunk != NULL); in DxeEmuLibConstructor()
75 Status = gEmuThunk->GetNextProtocol (FALSE, &EmuIoThunk); in GetIoThunkInstance()
DDxeEmuLib.inf2 # A library to produce the global variable 'gEmuThunk'
4 # This library contains a single global variable 'gEmuThunk' along with a constructor to
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/
DDxeEmuSerialPortLib.c42 return gEmuThunk->ConfigStdIn (); in SerialPortInitialize()
69 return gEmuThunk->WriteStdOut (Buffer, NumberOfBytes); in SerialPortWrite()
96 return gEmuThunk->ReadStdIn (Buffer, NumberOfBytes); in SerialPortRead()
116 return gEmuThunk->PollStdIn (); in SerialPortPoll()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeCoreTimerLib/
DDxeCoreTimerLib.c62 gEmuThunk->Sleep (NanoSeconds); in NanoSecondDelay()
84 return gEmuThunk->QueryPerformanceCounter (); in GetPerformanceCounter()
125 return gEmuThunk->QueryPerformanceFrequency (); in GetPerformanceCounterProperties()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/
DDxeEmuStdErrSerialPortLib.c69 if (gEmuThunk == NULL) { in SerialPortWrite()
73 return gEmuThunk->WriteStdErr (Buffer, NumberOfBytes); in SerialPortWrite()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeTimerLib/
DDxeTimerLib.c112 gEmuThunk->Sleep (NanoSeconds); in NanoSecondDelay()
135 return gEmuThunk->QueryPerformanceCounter (); in GetPerformanceCounter()
176 return gEmuThunk->QueryPerformanceFrequency (); in GetPerformanceCounterProperties()
/device/linaro/bootloader/edk2/EmulatorPkg/TimerDxe/
DTimer.c146 gEmuThunk->SetTimer (0, TimerCallback); in EmuTimerDriverRegisterHandler()
149 gEmuThunk->SetTimer (mTimerPeriodMs, TimerCallback); in EmuTimerDriverRegisterHandler()
209 gEmuThunk->SetTimer (mTimerPeriodMs, TimerCallback); in EmuTimerDriverSetTimerPeriod()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/
DMemoryAllocationLib.c60 return gEmuThunk->Valloc (Pages * EFI_PAGE_SIZE); in InternalAllocatePages()
156 if (!gEmuThunk->Free (Buffer)) { in FreePages()
215 Memory = gEmuThunk->Valloc (Pages * EFI_PAGE_SIZE); in InternalAllocateAlignedPages()
239 Memory = gEmuThunk->Valloc (Pages * EFI_PAGE_SIZE); in InternalAllocateAlignedPages()
375 return gEmuThunk->Malloc (AllocationSize); in InternalAllocatePool()
811 if (!gEmuThunk->Free (Buffer)) { in FreePool()
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/
DCpu.c287 gEmuThunk->EnableInterrupt (); in EmuEnableInterrupt()
301 gEmuThunk->DisableInterrupt (); in EmuDisableInterrupt()
376 *TimerValue = gEmuThunk->QueryPerformanceCounter (); in EmuGetTimerValue()
429 gEmuThunk->CpuSleep (); in IdleLoopEventCallback()
448 Frequency = gEmuThunk->QueryPerformanceFrequency (); in InitializeCpu()
DMpService.c1270 gEmuThunk->Sleep (200 * 1000); in CpuDriverApIdolLoop()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/KeyMapLibNull/
DKeyMapLibNull.inf2 # A library to produce the global variable 'gEmuThunk'
4 # This library contains a single global variable 'gEmuThunk' along with a constructor to
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Library/
DEmuThunkLib.h20 extern EMU_THUNK_PROTOCOL *gEmuThunk;
/device/linaro/bootloader/edk2/EmulatorPkg/EmuThunkDxe/
DEmuThunk.c83 &gEmuThunkProtocolGuid, gEmuThunk, in InitializeEmuThunk()
/device/linaro/bootloader/edk2/EmulatorPkg/ResetRuntimeDxe/
DReset.c65 gEmuThunk->Exit (0); in EmuResetSystem()
/device/linaro/bootloader/edk2/EmulatorPkg/RealTimeClockRuntimeDxe/
DRealTimeClock.c85 gEmuThunk->GetTime (Time, Capabilities); in EmuGetTime()