EFIAPI\r
Interrupt8259GetMask (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- OUT UINT16 *LegacyMask, OPTIONAL\r
- OUT UINT16 *LegacyEdgeLevel, OPTIONAL\r
- OUT UINT16 *ProtectedMask, OPTIONAL\r
+ OUT UINT16 *LegacyMask OPTIONAL,\r
+ OUT UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ OUT UINT16 *ProtectedMask OPTIONAL,\r
OUT UINT16 *ProtectedEdgeLevel OPTIONAL\r
)\r
{\r
EFIAPI\r
Interrupt8259SetMask (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- IN UINT16 *LegacyMask, OPTIONAL\r
- IN UINT16 *LegacyEdgeLevel, OPTIONAL\r
- IN UINT16 *ProtectedMask, OPTIONAL\r
+ IN UINT16 *LegacyMask OPTIONAL,\r
+ IN UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ IN UINT16 *ProtectedMask OPTIONAL,\r
IN UINT16 *ProtectedEdgeLevel OPTIONAL\r
)\r
{\r
Interrupt8259SetMode (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
IN EFI_8259_MODE Mode,\r
- IN UINT16 *Mask, OPTIONAL\r
+ IN UINT16 *Mask OPTIONAL,\r
IN UINT16 *EdgeLevel OPTIONAL\r
)\r
{\r
EFIAPI\r
Interrupt8259GetMask (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- OUT UINT16 *LegacyMask, OPTIONAL\r
- OUT UINT16 *LegacyEdgeLevel, OPTIONAL\r
- OUT UINT16 *ProtectedMask, OPTIONAL\r
+ OUT UINT16 *LegacyMask OPTIONAL,\r
+ OUT UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ OUT UINT16 *ProtectedMask OPTIONAL,\r
OUT UINT16 *ProtectedEdgeLevel OPTIONAL\r
);\r
\r
EFIAPI\r
Interrupt8259SetMask (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- IN UINT16 *LegacyMask, OPTIONAL\r
- IN UINT16 *LegacyEdgeLevel, OPTIONAL\r
- IN UINT16 *ProtectedMask, OPTIONAL\r
+ IN UINT16 *LegacyMask OPTIONAL,\r
+ IN UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ IN UINT16 *ProtectedMask OPTIONAL,\r
IN UINT16 *ProtectedEdgeLevel OPTIONAL\r
);\r
\r
Interrupt8259SetMode (\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
IN EFI_8259_MODE Mode,\r
- IN UINT16 *Mask, OPTIONAL\r
+ IN UINT16 *Mask OPTIONAL,\r
IN UINT16 *EdgeLevel OPTIONAL\r
);\r
\r
VOID\r
EFIAPI\r
AppendFwCfgBootScript (\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN OUT VOID *ExternalScratchBuffer\r
)\r
{\r
EFIAPI\r
EmuGopBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
{\r
EmuGopDestructor (Context);\r
}\r
-\r
EFI_STATUS\r
BiosVideoVbeBltWorker (\r
IN BIOS_VIDEO_DEV *BiosVideoPrivate,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
EFIAPI\r
BiosVideoGraphicsOutputVbeBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
EFIAPI\r
BiosVideoGraphicsOutputVgaBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
NULL\r
);\r
}\r
-\r
EFIAPI\r
BiosVideoGraphicsOutputVbeBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
EFIAPI\r
BiosVideoGraphicsOutputVgaBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
IN EFI_LEGACY_BIOS_PLATFORM_PROTOCOL *This,\r
IN EFI_GET_PLATFORM_HOOK_MODE Mode,\r
IN UINT16 Type,\r
- OUT EFI_HANDLE DeviceHandle, OPTIONAL\r
- IN OUT UINTN *Shadowaddress, OPTIONAL\r
- IN EFI_COMPATIBILITY16_TABLE *Compatibility16Table, OPTIONAL\r
+ OUT EFI_HANDLE DeviceHandle OPTIONAL,\r
+ IN OUT UINTN *Shadowaddress OPTIONAL,\r
+ IN EFI_COMPATIBILITY16_TABLE *Compatibility16Table OPTIONAL,\r
OUT VOID **AdditionalData OPTIONAL\r
)\r
{\r
IN EFI_LEGACY_BIOS_PLATFORM_PROTOCOL *This,\r
OUT VOID **RoutingTable,\r
OUT UINTN *RoutingTableEntries,\r
- OUT VOID **LocalPirqTable, OPTIONAL\r
- OUT UINTN *PirqTableSize, OPTIONAL\r
- OUT VOID **LocalIrqPriorityTable, OPTIONAL\r
+ OUT VOID **LocalPirqTable OPTIONAL,\r
+ OUT UINTN *PirqTableSize OPTIONAL,\r
+ OUT VOID **LocalIrqPriorityTable OPTIONAL,\r
OUT UINTN *IrqPriorityTableEntries OPTIONAL\r
)\r
{\r
);\r
return Status;\r
}\r
-\r
(EFIAPI *EFI_LEGACY_BIOS_CHECK_ROM)(\r
IN EFI_LEGACY_BIOS_PROTOCOL *This,\r
IN EFI_HANDLE PciHandle,\r
- OUT VOID **RomImage, OPTIONAL\r
- OUT UINTN *RomSize, OPTIONAL\r
+ OUT VOID **RomImage OPTIONAL,\r
+ OUT UINTN *RomSize OPTIONAL,\r
OUT UINTN *Flags\r
);\r
\r
IN EFI_HANDLE PciHandle,\r
IN VOID **RomImage,\r
OUT UINTN *Flags,\r
- OUT UINT8 *DiskStart, OPTIONAL\r
- OUT UINT8 *DiskEnd, OPTIONAL\r
- OUT VOID **RomShadowAddress, OPTIONAL\r
+ OUT UINT8 *DiskStart OPTIONAL,\r
+ OUT UINT8 *DiskEnd OPTIONAL,\r
+ OUT VOID **RomShadowAddress OPTIONAL,\r
OUT UINT32 *ShadowedRomSize OPTIONAL\r
);\r
\r
IN EFI_LEGACY_BIOS_PLATFORM_PROTOCOL *This,\r
IN EFI_GET_PLATFORM_HOOK_MODE Mode,\r
IN UINT16 Type,\r
- IN EFI_HANDLE DeviceHandle, OPTIONAL\r
- IN OUT UINTN *ShadowAddress, OPTIONAL\r
- IN EFI_COMPATIBILITY16_TABLE *Compatibility16Table, OPTIONAL\r
+ IN EFI_HANDLE DeviceHandle OPTIONAL,\r
+ IN OUT UINTN *ShadowAddress OPTIONAL,\r
+ IN EFI_COMPATIBILITY16_TABLE *Compatibility16Table OPTIONAL,\r
OUT VOID **AdditionalData OPTIONAL\r
);\r
\r
IN EFI_LEGACY_BIOS_PLATFORM_PROTOCOL *This,\r
OUT VOID **RoutingTable,\r
OUT UINTN *RoutingTableEntries,\r
- OUT VOID **LocalPirqTable, OPTIONAL\r
- OUT UINTN *PirqTableSize, OPTIONAL\r
- OUT VOID **LocalIrqPriorityTable, OPTIONAL\r
+ OUT VOID **LocalPirqTable OPTIONAL,\r
+ OUT UINTN *PirqTableSize OPTIONAL,\r
+ OUT VOID **LocalIrqPriorityTable OPTIONAL,\r
OUT UINTN *IrqPriorityTableEntries OPTIONAL\r
);\r
\r
LegacyBiosCheckPciRom (\r
IN EFI_LEGACY_BIOS_PROTOCOL *This,\r
IN EFI_HANDLE PciHandle,\r
- OUT VOID **RomImage, OPTIONAL\r
- OUT UINTN *RomSize, OPTIONAL\r
+ OUT VOID **RomImage OPTIONAL,\r
+ OUT UINTN *RomSize OPTIONAL,\r
OUT UINTN *Flags\r
);\r
\r
IN EFI_HANDLE PciHandle,\r
IN VOID **RomImage,\r
OUT UINTN *Flags,\r
- OUT UINT8 *DiskStart, OPTIONAL\r
- OUT UINT8 *DiskEnd, OPTIONAL\r
- OUT VOID **RomShadowAddress, OPTIONAL\r
+ OUT UINT8 *DiskStart OPTIONAL,\r
+ OUT UINT8 *DiskEnd OPTIONAL,\r
+ OUT VOID **RomShadowAddress OPTIONAL,\r
OUT UINT32 *RomShadowedSize OPTIONAL\r
);\r
\r
LegacyBiosCheckPciRomEx (\r
IN EFI_LEGACY_BIOS_PROTOCOL *This,\r
IN EFI_HANDLE PciHandle,\r
- OUT VOID **RomImage, OPTIONAL\r
- OUT UINTN *RomSize, OPTIONAL\r
- OUT UINTN *RuntimeImageLength, OPTIONAL\r
- OUT UINTN *Flags, OPTIONAL\r
- OUT UINT8 *OpromRevision, OPTIONAL\r
+ OUT VOID **RomImage OPTIONAL,\r
+ OUT UINTN *RomSize OPTIONAL,\r
+ OUT UINTN *RuntimeImageLength OPTIONAL,\r
+ OUT UINTN *Flags OPTIONAL,\r
+ OUT UINT8 *OpromRevision OPTIONAL,\r
OUT VOID **ConfigUtilityCodeHeader OPTIONAL\r
);\r
\r
EFI_STATUS\r
GetShadowedRomParameters (\r
IN EFI_HANDLE PciHandle,\r
- OUT UINT8 *DiskStart, OPTIONAL\r
- OUT UINT8 *DiskEnd, OPTIONAL\r
- OUT VOID **RomShadowAddress, OPTIONAL\r
+ OUT UINT8 *DiskStart OPTIONAL,\r
+ OUT UINT8 *DiskEnd OPTIONAL,\r
+ OUT VOID **RomShadowAddress OPTIONAL,\r
OUT UINTN *ShadowedSize OPTIONAL\r
)\r
{\r
IN UINT16 DeviceId,\r
IN OUT VOID **Rom,\r
IN OUT UINTN *ImageSize,\r
- OUT UINTN *MaxRuntimeImageLength, OPTIONAL\r
- OUT UINT8 *OpRomRevision, OPTIONAL\r
+ OUT UINTN *MaxRuntimeImageLength OPTIONAL,\r
+ OUT UINT8 *OpRomRevision OPTIONAL,\r
OUT VOID **ConfigUtilityCodeHeader OPTIONAL\r
)\r
{\r
LegacyBiosCheckPciRom (\r
IN EFI_LEGACY_BIOS_PROTOCOL *This,\r
IN EFI_HANDLE PciHandle,\r
- OUT VOID **RomImage, OPTIONAL\r
- OUT UINTN *RomSize, OPTIONAL\r
+ OUT VOID **RomImage OPTIONAL,\r
+ OUT UINTN *RomSize OPTIONAL,\r
OUT UINTN *Flags\r
)\r
{\r
LegacyBiosCheckPciRomEx (\r
IN EFI_LEGACY_BIOS_PROTOCOL *This,\r
IN EFI_HANDLE PciHandle,\r
- OUT VOID **RomImage, OPTIONAL\r
- OUT UINTN *RomSize, OPTIONAL\r
- OUT UINTN *RuntimeImageLength, OPTIONAL\r
- OUT UINTN *Flags, OPTIONAL\r
- OUT UINT8 *OpromRevision, OPTIONAL\r
+ OUT VOID **RomImage OPTIONAL,\r
+ OUT UINTN *RomSize OPTIONAL,\r
+ OUT UINTN *RuntimeImageLength OPTIONAL,\r
+ OUT UINTN *Flags OPTIONAL,\r
+ OUT UINT8 *OpromRevision OPTIONAL,\r
OUT VOID **ConfigUtilityCodeHeader OPTIONAL\r
)\r
{\r
IN VOID *RomImage,\r
IN UINTN ImageSize,\r
IN OUT UINTN *RuntimeImageLength,\r
- OUT UINT8 *DiskStart, OPTIONAL\r
- OUT UINT8 *DiskEnd, OPTIONAL\r
+ OUT UINT8 *DiskStart OPTIONAL,\r
+ OUT UINT8 *DiskEnd OPTIONAL,\r
OUT VOID **RomShadowAddress OPTIONAL\r
)\r
{\r
IN EFI_HANDLE PciHandle,\r
IN VOID **RomImage,\r
OUT UINTN *Flags,\r
- OUT UINT8 *DiskStart, OPTIONAL\r
- OUT UINT8 *DiskEnd, OPTIONAL\r
- OUT VOID **RomShadowAddress, OPTIONAL\r
+ OUT UINT8 *DiskStart OPTIONAL,\r
+ OUT UINT8 *DiskEnd OPTIONAL,\r
+ OUT VOID **RomShadowAddress OPTIONAL,\r
OUT UINT32 *RomShadowedSize OPTIONAL\r
)\r
{\r
mVgaInstallationInProgress = FALSE;\r
return Status;\r
}\r
-\r
**/\r
typedef\r
VOID (EFIAPI FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION) (\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN OUT VOID *ScratchBuffer\r
);\r
\r
EFIAPI\r
QemuFwCfgS3CallWhenBootScriptReady (\r
IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN UINTN ScratchBufferSize\r
);\r
\r
EFI_STATUS\r
(EFIAPI *EFI_LEGACY_8259_GET_MASK)(\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- OUT UINT16 *LegacyMask, OPTIONAL\r
- OUT UINT16 *LegacyEdgeLevel, OPTIONAL\r
- OUT UINT16 *ProtectedMask, OPTIONAL\r
+ OUT UINT16 *LegacyMask OPTIONAL,\r
+ OUT UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ OUT UINT16 *ProtectedMask OPTIONAL,\r
OUT UINT16 *ProtectedEdgeLevel OPTIONAL\r
);\r
\r
EFI_STATUS\r
(EFIAPI *EFI_LEGACY_8259_SET_MASK)(\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
- IN UINT16 *LegacyMask, OPTIONAL\r
- IN UINT16 *LegacyEdgeLevel, OPTIONAL\r
- IN UINT16 *ProtectedMask, OPTIONAL\r
+ IN UINT16 *LegacyMask OPTIONAL,\r
+ IN UINT16 *LegacyEdgeLevel OPTIONAL,\r
+ IN UINT16 *ProtectedMask OPTIONAL,\r
IN UINT16 *ProtectedEdgeLevel OPTIONAL\r
);\r
\r
(EFIAPI *EFI_LEGACY_8259_SET_MODE)(\r
IN EFI_LEGACY_8259_PROTOCOL *This,\r
IN EFI_8259_MODE Mode,\r
- IN UINT16 *Mask, OPTIONAL\r
+ IN UINT16 *Mask OPTIONAL,\r
IN UINT16 *EdgeLevel OPTIONAL\r
);\r
\r
UINT64\r
EFIAPI\r
GetPerformanceCounterProperties (\r
- OUT UINT64 *StartValue, OPTIONAL\r
+ OUT UINT64 *StartValue OPTIONAL,\r
OUT UINT64 *EndValue OPTIONAL\r
)\r
{\r
EFIAPI\r
RestoreLockBox (\r
IN GUID *Guid,\r
- IN VOID *Buffer, OPTIONAL\r
+ IN VOID *Buffer OPTIONAL,\r
IN OUT UINTN *Length OPTIONAL\r
)\r
{\r
EFIAPI\r
QemuFwCfgS3CallWhenBootScriptReady (\r
IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN UINTN ScratchBufferSize\r
)\r
{\r
EFIAPI\r
QemuFwCfgS3CallWhenBootScriptReady (\r
IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN UINTN ScratchBufferSize\r
)\r
{\r
EFIAPI\r
QemuFwCfgS3CallWhenBootScriptReady (\r
IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN UINTN ScratchBufferSize\r
)\r
{\r
STATIC\r
UINT32\r
Tcg2ExecutePhysicalPresence (\r
- IN TPM2B_AUTH *PlatformAuth, OPTIONAL\r
+ IN TPM2B_AUTH *PlatformAuth OPTIONAL,\r
IN UINT32 CommandCode,\r
IN UINT32 CommandParameter\r
)\r
IN EFI_PCI_HOT_PLUG_INIT_PROTOCOL *This,\r
IN EFI_DEVICE_PATH_PROTOCOL *HpcDevicePath,\r
IN UINT64 HpcPciAddress,\r
- IN EFI_EVENT Event, OPTIONAL\r
+ IN EFI_EVENT Event OPTIONAL,\r
OUT EFI_HPC_STATE *HpcState\r
)\r
{\r
EFIAPI\r
QemuRamfbGraphicsOutputBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
EFIAPI\r
QemuVideoGraphicsOutputBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
\r
return EFI_SUCCESS;\r
}\r
-\r
-\r
VOID\r
EFIAPI\r
AppendFwCfgBootScript (\r
- IN OUT VOID *Context, OPTIONAL\r
+ IN OUT VOID *Context OPTIONAL,\r
IN OUT VOID *ExternalScratchBuffer\r
)\r
{\r
EFIAPI\r
GopBlt (\r
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,\r
- IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, OPTIONAL\r
+ IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
EFIAPI\r
VirtioRngGetRNG (\r
IN EFI_RNG_PROTOCOL *This,\r
- IN EFI_RNG_ALGORITHM *RNGAlgorithm, OPTIONAL\r
+ IN EFI_RNG_ALGORITHM *RNGAlgorithm OPTIONAL,\r
IN UINTN RNGValueLength,\r
OUT UINT8 *RNGValue\r
)\r