X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FBootScriptSave.h;h=ae4d862cc4362e3a5d0f38539cda52fbc370fe56;hb=eb9603a0b7c72b33c43bde89ec33d384cd30ce9e;hp=496f79f0127feb0a49e48d1237ce8623737ea5c2;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/BootScriptSave.h b/MdePkg/Include/Protocol/BootScriptSave.h index 496f79f012..ae4d862cc4 100644 --- a/MdePkg/Include/Protocol/BootScriptSave.h +++ b/MdePkg/Include/Protocol/BootScriptSave.h @@ -36,20 +36,15 @@ typedef struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL EFI_BOOT_SCRIPT_SAVE_PROTOCOL; /** Adds a record into a specified Framework boot script table. - @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. - - @param TableName Name of the script table.Currently, the only meaningful - value is EFI_ACPI_S3_RESUME_SCRIPT_TABLE. - - @param OpCode The operation code (opcode) number. - - @param ... Argument list that is specific to each opcode. - - @retval EFI_SUCCESS The operation succeeded. A record was added into the specified script table. - + @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. + @param TableName Name of the script table.Currently, the only meaningful + value is EFI_ACPI_S3_RESUME_SCRIPT_TABLE. + @param OpCode The operation code (opcode) number. + @param ... Argument list that is specific to each opcode. + + @retval EFI_SUCCESS The operation succeeded. A record was added into the specified script table. @retval EFI_INVALID_PARAMETER The parameter is illegal or the given boot script is not supported. - - @retval EFI_OUT_OF_RESOURCES There is insufficient memory to store the boot script. + @retval EFI_OUT_OF_RESOURCES There is insufficient memory to store the boot script. **/ typedef @@ -64,17 +59,13 @@ EFI_STATUS /** Closes the specified script table. - @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. - - @param TableName Name of the script table. - - @param Address A pointer to the physical address where the table begins. + @param This A pointer to the EFI_BOOT_SCRIPT_SAVE_PROTOCOL instance. + @param TableName Name of the script table. + @param Address A pointer to the physical address where the table begins. - @retval EFI_SUCCESS The table was successfully returned. - - @retval EFI_NOT_FOUND The specified table was not created previously. - - @retval EFI_OUT_OF_RESOURCES Memory is insufficient to hold the reorganized boot script table. + @retval EFI_SUCCESS The table was successfully returned. + @retval EFI_NOT_FOUND The specified table was not created previously. + @retval EFI_OUT_OF_RESOURCES Memory is insufficient to hold the reorganized boot script table. **/ typedef @@ -105,6 +96,6 @@ struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL { EFI_BOOT_SCRIPT_CLOSE_TABLE CloseTable; }; -extern EFI_GUID gEfiBootScriptSaveGuid; +extern EFI_GUID gEfiBootScriptSaveProtocolGuid; #endif