Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Public
Document Table of Contents

1.11.1.5. Function

Each type specification for the argument variable must be preceded by IN and /or OUT modifiers. The modifiers are used to indicate whether the argument is an input or output variable. It is recommended that the IN variables are first and OUT variables are next. If data passes in and out through a variable, mark it as both IN and OUT. Mark a buffer that passes into a routine that modifies the contents of the buffer as IN and OUT. EFIAPI is an optional functional modifier.
EFI_STATUS
EFIAPI
FunctionName (
		IN UINTN Arg1,
		IN UINTN Arg2,
		OUT UINTN *Arg3,
		IN OUT UINTN * Arg4
);
{
		UINTN Local;
		…
}