mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Added UserEvent functions into UEFI in userspace
Signed-off-by: Pavel Naberezhnev <pavelnaberezhnev@gmail.com>
This commit is contained in:
parent
e1d7b9b418
commit
0d19bcd7b3
@ -4,18 +4,27 @@
|
||||
**/
|
||||
|
||||
#include <UserBootServices.h>
|
||||
#include <UserEvent.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
EFI_BOOT_SERVICES mBootServices = {
|
||||
.RaiseTPL = DummyRaiseTPL,
|
||||
.RestoreTPL = DummyRestoreTPL,
|
||||
.LocateProtocol = DummyLocateProtocol,
|
||||
.AllocatePages = DummyAllocatePages,
|
||||
.InstallConfigurationTable = DummyInstallConfigurationTable,
|
||||
.CalculateCrc32 = DummyCalculateCrc32
|
||||
.CalculateCrc32 = DummyCalculateCrc32,
|
||||
|
||||
.CreateEventEx = UserCreateEventEx,
|
||||
.CreateEvent = UserCreateEvent,
|
||||
.CloseEvent = UserCloseEvent,
|
||||
.CheckEvent = UserCheckEvent,
|
||||
.WaitForEvent = UserWaitForEvent,
|
||||
.SignalEvent = UserSignalEvent,
|
||||
.SetTimer = UserSetTimer,
|
||||
.RaiseTPL = UserRaiseTPL,
|
||||
.RestoreTPL = UserRestoreTPL
|
||||
};
|
||||
|
||||
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL mConOut = {
|
||||
|
||||
@ -182,7 +182,7 @@ ifneq ($(STANDALONE),1)
|
||||
#
|
||||
# Customised/Simplified implementations at userspace level.
|
||||
#
|
||||
OBJS += UserBaseMemoryLib.o UserBootServices.o UserGlobalVar.o UserMath.o UserMisc.o UserPcd.o UserUnicodeCollation.o UserOcDummy.o
|
||||
OBJS += UserBaseMemoryLib.o UserBootServices.o UserGlobalVar.o UserMath.o UserMisc.o UserPcd.o UserUnicodeCollation.o UserOcDummy.o UserEvent.o
|
||||
#
|
||||
# BaseOverflowLib targets.
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user