From 7e284acb40a3d27009de3cfe48275fed3c5d004b Mon Sep 17 00:00:00 2001 From: andrewfish Date: Wed, 8 Jun 2011 02:34:12 +0000 Subject: Add support for SerialPortLib that maps into POSIX StdIn and StdOut. Add a device path text to lib as a holding point waiting on getting it reviewed for other packages. Some minor fixes. Also map the FV as writable, so the Variable store becomes writable. I plan to try and make only the Variable store and logs writable, and make the executable/compressed FV read only in a future checkin. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11760 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/Unix/Sec/Gasket.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'InOsEmuPkg/Unix/Sec/Gasket.h') diff --git a/InOsEmuPkg/Unix/Sec/Gasket.h b/InOsEmuPkg/Unix/Sec/Gasket.h index e506e774b6..5cc42dd575 100644 --- a/InOsEmuPkg/Unix/Sec/Gasket.h +++ b/InOsEmuPkg/Unix/Sec/Gasket.h @@ -21,11 +21,40 @@ // UINTN +EFIAPI GasketSecWriteStdErr ( IN UINT8 *Buffer, IN UINTN NumberOfBytes ); +EFI_STATUS +EFIAPI +GasketSecConfigStdIn ( + VOID + ); + +UINTN +EFIAPI +GasketSecWriteStdOut ( + IN UINT8 *Buffer, + IN UINTN NumberOfBytes + ); + +UINTN +EFIAPI +GasketSecReadStdIn ( + IN UINT8 *Buffer, + IN UINTN NumberOfBytes + ); + +BOOLEAN +EFIAPI +GasketSecPollStdIn ( + VOID + ); + + + RETURN_STATUS EFIAPI GasketSecPeCoffGetEntryPoint ( -- cgit v1.2.3