X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSmmAccess.h;h=3f177875398babeccfb5e5ee64c11f1f79205c23;hp=f405c8f13fdaa94d5a4546ec12b2c8162e2d68f8;hb=0647c9adf92c6a8712091607a73b2768327a865d;hpb=151c1ccdcd6960c550fa491bd0ed467416bb2b74 diff --git a/MdePkg/Include/Protocol/SmmAccess.h b/MdePkg/Include/Protocol/SmmAccess.h index f405c8f13f..3f17787539 100644 --- a/MdePkg/Include/Protocol/SmmAccess.h +++ b/MdePkg/Include/Protocol/SmmAccess.h @@ -46,16 +46,13 @@ typedef struct _EFI_SMM_ACCESS_PROTOCOL EFI_SMM_ACCESS_PROTOCOL; /** Opens the SMRAM area to be accessible by a boot-service driver. - @param This The EFI_SMM_ACCESS_PROTOCOL instance. - - @param DescriptorIndex Indicates that the driver wishes to open - the memory tagged by this index. + @param This The EFI_SMM_ACCESS_PROTOCOL instance. + @param DescriptorIndex Indicates that the driver wishes to open + the memory tagged by this index. - @retval EFI_SUCCESS The operation was successful. - + @retval EFI_SUCCESS The operation was successful. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. - - @retval EFI_NOT_STARTED The SMM base service has not been initialized. + @retval EFI_NOT_STARTED The SMM base service has not been initialized. **/ typedef @@ -68,18 +65,14 @@ EFI_STATUS /** Inhibits access to the SMRAM. - @param This The EFI_SMM_ACCESS_PROTOCOL instance. - - @param DescriptorIndex Indicates that the driver wishes to open - the memory tagged by this index. + @param This The EFI_SMM_ACCESS_PROTOCOL instance. + @param DescriptorIndex Indicates that the driver wishes to open + the memory tagged by this index. - @retval EFI_SUCCESS The operation was successful. - - @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. - + @retval EFI_SUCCESS The operation was successful. + @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. - - @retval EFI_NOT_STARTED The SMM base service has not been initialized. + @retval EFI_NOT_STARTED The SMM base service has not been initialized. **/ typedef @@ -91,19 +84,14 @@ EFI_STATUS /** Inhibits access to the SMRAM. - - @param This The EFI_SMM_ACCESS_PROTOCOL instance. - - @param DescriptorIndex Indicates that the driver wishes to open - the memory tagged by this index. - - @retval EFI_SUCCESS The operation was successful. - - @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. - + @param This The EFI_SMM_ACCESS_PROTOCOL instance. + @param DescriptorIndex Indicates that the driver wishes to open + the memory tagged by this index. + + @retval EFI_SUCCESS The operation was successful. + @retval EFI_DEVICE_ERROR The given DescriptorIndex is not open. @retval EFI_INVALID_PARAMETER The given DescriptorIndex is not supported. - - @retval EFI_NOT_STARTED The SMM base service has not been initialized. + @retval EFI_NOT_STARTED The SMM base service has not been initialized. **/ typedef @@ -116,15 +104,12 @@ EFI_STATUS /** Queries the memory controller for the possible regions that will support SMRAM. - @param This The EFI_SMM_ACCESS_PROTOCOL instance. - - @param SmramMapSize A pointer to the size, in bytes, of the SmramMemoryMap buffer. - - @param SmramMap A pointer to the buffer in which firmware places the current memory map. + @param This The EFI_SMM_ACCESS_PROTOCOL instance. + @param SmramMapSize A pointer to the size, in bytes, of the SmramMemoryMap buffer. + @param SmramMap A pointer to the buffer in which firmware places the current memory map. - @retval EFI_SUCCESS The chipset supported the given resource. - - @retval EFI_BUFFER_TOO_SMALL The SmramMap parameter was too small. + @retval EFI_SUCCESS The chipset supported the given resource. + @retval EFI_BUFFER_TOO_SMALL The SmramMap parameter was too small. **/ typedef