1/*++ 2 3Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved 4 5 6 This program and the accompanying materials are licensed and made available under 7 8 the terms and conditions of the BSD License that accompanies this distribution. 9 10 The full text of the license may be found at 11 12 http://opensource.org/licenses/bsd-license.php. 13 14 15 16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 17 18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 19 20 21 22 23Module Name: 24 25 SmmStallLib.h 26 27Abstract: 28 29 This library provides SMM functions for Stall. 30 These can be used to save size and simplify code. 31 All contents must be runtime and SMM safe. 32 33--*/ 34 35#ifndef _SMM_STALL_LIB_H_ 36#define _SMM_STALL_LIB_H_ 37#include "PiDxe.h" 38#include "Pi/PiSmmCis.h" 39extern EFI_SMM_SYSTEM_TABLE2 *mSmst; 40 41/** 42 Delay for at least the request number of microseconds 43 44 @param[in] Microseconds Number of microseconds to delay. 45 46 @retval None 47 48**/ 49VOID 50SmmStall ( 51 IN UINTN Microseconds 52 ); 53 54#endif 55