Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Ray Ni <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Chasel Chiu <[email protected]> Signed-off-by: Nate DeSimone <[email protected]>
- Loading branch information