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