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