Home | History | Annotate | Download | only in Library
      1 /*++
      2 
      3 Copyright (c)  1999  - 2014, Intel Corporation. All rights reserved
      4 
      5   This program and the accompanying materials are licensed and made available under
      7   the terms and conditions of the BSD License that accompanies this distribution.
      9   The full text of the license may be found at
     11   http://opensource.org/licenses/bsd-license.php.
     13 
     15   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     17   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     19 
     21 
     23 Module Name:
     24 
     25   SmmStallLib.h
     26 
     27 Abstract:
     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"
     39 extern 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 **/
     49 VOID
     50 SmmStall (
     51   IN  UINTN   Microseconds
     52   );
     53 
     54 #endif
     55