X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FPpi%2FStall.h;h=ebd93d6e078b6d96983bb681b2074f2eb438ddfe;hp=2a7e225dc15a562c2bee0ef9102938dd73f1ce65;hb=9df063a06aef048c042498e2f542fb693e93493a;hpb=8b13229b469f05ec22d76098b052bd6e943fecee diff --git a/MdePkg/Include/Ppi/Stall.h b/MdePkg/Include/Ppi/Stall.h index 2a7e225dc1..ebd93d6e07 100644 --- a/MdePkg/Include/Ppi/Stall.h +++ b/MdePkg/Include/Ppi/Stall.h @@ -1,10 +1,10 @@ /** @file This file declares Stall PPI. - This code abstracts the PEI core to provide Stall services. + This ppi abstracts the blocking stall service to other agents. - Copyright (c) 2006 - 2007, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -13,8 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: - This PPI is defined in PI. - Version 1.00. + This PPI is introduced in PI Version 1.0. **/ @@ -35,30 +34,26 @@ typedef struct _EFI_PEI_STALL_PPI EFI_PEI_STALL_PPI; @param This Pointer to the local data for the interface. @param Microseconds Number of microseconds for which to stall. - @retval EFI_SUCCESS The service provided at least the required delay. + @retval EFI_SUCCESS The service provided at least the required delay. **/ typedef EFI_STATUS (EFIAPI *EFI_PEI_STALL)( - IN EFI_PEI_SERVICES **PeiServices, - IN EFI_PEI_STALL_PPI *This, + IN CONST EFI_PEI_SERVICES **PeiServices, + IN CONST EFI_PEI_STALL_PPI *This, IN UINTN Microseconds ); -/** - @par Ppi Description: - This service provides a simple, blocking stall with platform-specific resolution. - - @param Resolution - The resolution in microseconds of the stall services. - - @param Stall - The actual stall procedure call. - -**/ +/// +/// This service provides a simple, blocking stall with platform-specific resolution. +/// struct _EFI_PEI_STALL_PPI { + /// + /// The resolution in microseconds of the stall services. + /// UINTN Resolution; + EFI_PEI_STALL Stall; };