]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Library/I2CLibPei/I2CDelayPei.h
44597f3f6b6def40b1a5f49c639108f2a55d11e0
[mirror_edk2.git] / Vlv2TbltDevicePkg / Library / I2CLibPei / I2CDelayPei.h
1 /** @file
2 MicroSecondDelay implementation of ACPI Timer.
3
4 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __I2C_DELAY_PEI__
16
17 #define __I2C_DELAY_PEI__
18 #include "PiPei.h"
19
20 /**
21 Stalls the CPU for at least the given number of microseconds.
22
23 Stalls the CPU for the number of microseconds specified by MicroSeconds.
24
25 @param MicroSeconds The minimum number of microseconds to delay.
26
27 @return MicroSeconds
28
29 **/
30 EFI_STATUS
31 EFIAPI
32 MicroSecondDelay (
33 IN UINTN MicroSeconds
34 );
35
36 #endif