diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-05 09:20:08 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-05 09:20:08 +0000 |
commit | 398b646f5bcd3714685eb537f749edb2966d12dc (patch) | |
tree | 0a5f79bfbd67027f4b13105209dcbcee6bddf374 /UnixPkg/Include | |
parent | 27b2d249d57f9bde599af477d3b82acc3c62dfac (diff) | |
download | edk2-platforms-398b646f5bcd3714685eb537f749edb2966d12dc.tar.xz |
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
Diffstat (limited to 'UnixPkg/Include')
-rw-r--r-- | UnixPkg/Include/Protocol/UnixThunk.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <sys/ioctl.h> #include <sys/vfs.h> #include <utime.h> +#include <dlfcn.h> #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; |