]> git.proxmox.com Git - mirror_edk2.git/blob - InOsEmuPkg/MetronomeDxe/Metronome.h
Move the check refresh attribute logical out of the option string check logical.
[mirror_edk2.git] / InOsEmuPkg / MetronomeDxe / Metronome.h
1 /*++ @file
2 Emu Emulation Metronome Architectural Protocol Driver as defined in DXE CIS
3
4 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
5 Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #ifndef _EMU_THUNK_METRONOME_H_
17 #define _EMU_THUNK_METRONOME_H_
18
19 #include <PiDxe.h>
20
21 #include <Library/BaseLib.h>
22 #include <Library/DebugLib.h>
23 #include <Library/UefiLib.h>
24 #include <Library/UefiDriverEntryPoint.h>
25 #include <Library/MemoryAllocationLib.h>
26 #include <Library/UefiBootServicesTableLib.h>
27 #include <Library/EmuThunkLib.h>
28
29 #include <Protocol/Metronome.h>
30
31
32
33 //
34 // Period of on tick in 100 nanosecond units
35 //
36 #define TICK_PERIOD 2000
37
38 //
39 // Function Prototypes
40 //
41
42 EFI_STATUS
43 EFIAPI
44 EmuMetronomeDriverInitialize (
45 IN EFI_HANDLE ImageHandle,
46 IN EFI_SYSTEM_TABLE *SystemTable
47 );
48
49 EFI_STATUS
50 EFIAPI
51 EmuMetronomeDriverWaitForTick (
52 IN EFI_METRONOME_ARCH_PROTOCOL *This,
53 IN UINT32 TickNumber
54 );
55
56 #endif