audk/EmulatorPkg/Unix/Host
Nate DeSimone 9cf1d03ebe Add EFI_STATUS return to EMU_THUNK_PROTOCOL.SetTime()
There is an inconsistency between the UNIX and Windows
implementations of EMU_THUNK_PROTOCOL.SetTime(). The Windows
version returns an EFI_STATUS value whereas the the UNIX
implementation is VOID. However, the UNIX implementation is an
unimplemented stub whereas the Windows version is implementated.

The current EMU_THUNK_PROTOCOL function pointer definition
specifies a VOID return type. However, EMU_THUNK_PROTOCOL.SetTime()
is close to the spec defined gRT->SetTime() except for missing the
EFI_STATUS return type.

Therefore, I conclude that the most sensible reconciliation is to
add the EFI_STATUS return type to the protocol definition.

Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2024-01-05 20:32:08 +00:00
..
Ia32 EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
X64 EmulatorPkg/Unix: Fix various typos 2020-02-10 22:30:07 +00:00
BerkeleyPacketFilter.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BlockIo.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EmuThunk.c Add EFI_STATUS return to EMU_THUNK_PROTOCOL.SetTime() 2024-01-05 20:32:08 +00:00
Gasket.h EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Host.c EmulatorPkg: Record Argc, Argv and Envp in EmuThunk Ppi 2022-12-08 10:44:20 +00:00
Host.h EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Host.inf EmulatorPkg: Add persistent memory in EmuThunkPpi 2022-12-08 10:44:20 +00:00
LinuxPacketFilter.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryAllocationLib.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PosixFileSystem.c EmulatorPkg/PosixFileSystem: Add NULL check on memory allocation 2022-07-21 06:18:23 +00:00
Pthreads.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
X11GraphicsWindow.c EmulatorPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
X11IncludeHack EmulatorPkg:Unix: Add support for X11 on Mac OS X via XQuartz 2014-08-28 03:38:21 +00:00