From 398b646f5bcd3714685eb537f749edb2966d12dc Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 5 Mar 2009 09:20:08 +0000 Subject: Remove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7812 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Include/Protocol/UnixThunk.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'UnixPkg/Include') diff --git a/UnixPkg/Include/Protocol/UnixThunk.h b/UnixPkg/Include/Protocol/UnixThunk.h index ddddf1a036..ba325bff87 100644 --- a/UnixPkg/Include/Protocol/UnixThunk.h +++ b/UnixPkg/Include/Protocol/UnixThunk.h @@ -46,6 +46,7 @@ Abstract: #include #include #include +#include #define EFI_UNIX_THUNK_PROTOCOL_GUID \ { \ @@ -189,6 +190,19 @@ int (*UnixTcsetattr) (int __fd, int __optional_actions, __const struct termios *__termios_p); +typedef +VOID * +(*UnixDlopen) (const char *FileName, int Flag); + +typedef +char * +(*UnixDlerror) (VOID); + +typedef +VOID * +(*UnixDlsym) (VOID* Handle, const char* Symbol); + + // // // @@ -237,6 +251,9 @@ typedef struct _EFI_UNIX_THUNK_PROTOCOL { UnixCfsetospeed Cfsetospeed; UnixTcgetattr Tcgetattr; UnixTcsetattr Tcsetattr; + UnixDlopen Dlopen; + UnixDlerror Dlerror; + UnixDlsym Dlsym; } EFI_UNIX_THUNK_PROTOCOL; extern EFI_GUID gEfiUnixThunkProtocolGuid; -- cgit v1.2.3