]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Header file for MonotonicCounter driver.\r | |
3 | \r | |
4 | Copyright (c) 2006, Intel Corporation\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _MONOTONIC_COUNTER_DRIVER_H_\r | |
16 | #define _MONOTONIC_COUNTER_DRIVER_H_\r | |
17 | \r | |
18 | \r | |
19 | #include <Uefi.h>\r | |
20 | \r | |
21 | #include <Protocol/MonotonicCounter.h>\r | |
22 | \r | |
23 | #include <Library/BaseLib.h>\r | |
24 | #include <Library/UefiDriverEntryPoint.h>\r | |
25 | #include <Library/UefiRuntimeLib.h>\r | |
26 | #include <Library/DebugLib.h>\r | |
27 | #include <Library/UefiBootServicesTableLib.h>\r | |
28 | #include <Library/UefiRuntimeServicesTableLib.h>\r | |
29 | \r | |
30 | /**\r | |
31 | The initial function of monotonic counter driver.\r | |
32 | \r | |
33 | @param ImageHandle The handle of image.\r | |
34 | @param SystemTable The pointer to system table.\r | |
35 | \r | |
36 | @return EFI_SUCCESS The initialize action is successful.\r | |
37 | \r | |
38 | **/\r | |
39 | EFI_STATUS\r | |
40 | EFIAPI\r | |
41 | MonotonicCounterDriverInitialize (\r | |
42 | IN EFI_HANDLE ImageHandle,\r | |
43 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
44 | );\r | |
45 | \r | |
46 | #endif\r |