1 /**@file 2 3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 Metronome.h 15 16 Abstract: 17 18 NT Emulation Metronome Architectural Protocol Driver as defined in DXE CIS 19 20 **/ 21 22 #ifndef _NT_THUNK_METRONOME_H_ 23 #define _NT_THUNK_METRONOME_H_ 24 25 #include <Uefi.h> 26 #include <WinNtDxe.h> 27 #include <Protocol/Metronome.h> 28 #include <Library/BaseLib.h> 29 #include <Library/UefiDriverEntryPoint.h> 30 #include <Library/WinNtLib.h> 31 #include <Library/UefiBootServicesTableLib.h> 32 33 34 // 35 // Period of on tick in 100 nanosecond units 36 // 37 #define TICK_PERIOD 2000 38 39 // 40 // Function Prototypes 41 // 42 43 EFI_STATUS 44 EFIAPI 45 WinNtMetronomeDriverInitialize ( 46 IN EFI_HANDLE ImageHandle, 47 IN EFI_SYSTEM_TABLE *SystemTable 48 ) 49 /*++ 50 51 Routine Description: 52 53 TODO: Add function description 54 55 Arguments: 56 57 ImageHandle - TODO: add argument description 58 SystemTable - TODO: add argument description 59 60 Returns: 61 62 TODO: add return values 63 64 --*/ 65 ; 66 67 EFI_STATUS 68 EFIAPI 69 WinNtMetronomeDriverWaitForTick ( 70 IN EFI_METRONOME_ARCH_PROTOCOL *This, 71 IN UINT32 TickNumber 72 ) 73 /*++ 74 75 Routine Description: 76 77 TODO: Add function description 78 79 Arguments: 80 81 This - TODO: add argument description 82 TickNumber - TODO: add argument description 83 84 Returns: 85 86 TODO: add return values 87 88 --*/ 89 ; 90 91 #endif 92