2008-04-10 10:49:28 +02:00
|
|
|
/** @file
|
|
|
|
Header file for MonotonicCounter driver.
|
2007-07-06 11:15:13 +02:00
|
|
|
|
2008-04-10 10:49:28 +02:00
|
|
|
Copyright (c) 2006, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
2007-07-06 11:15:13 +02:00
|
|
|
|
2008-04-10 10:49:28 +02:00
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2007-07-06 11:15:13 +02:00
|
|
|
|
2008-04-10 10:49:28 +02:00
|
|
|
**/
|
2007-07-06 11:15:13 +02:00
|
|
|
|
|
|
|
#ifndef _MONOTONIC_COUNTER_DRIVER_H_
|
|
|
|
#define _MONOTONIC_COUNTER_DRIVER_H_
|
|
|
|
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-07-06 11:15:13 +02:00
|
|
|
#include <PiDxe.h>
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-07-06 11:15:13 +02:00
|
|
|
#include <Protocol/MonotonicCounter.h>
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-07-06 11:15:13 +02:00
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/UefiDriverEntryPoint.h>
|
|
|
|
#include <Library/UefiRuntimeLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
|
|
|
2008-07-11 08:38:58 +02:00
|
|
|
/**
|
|
|
|
The initial function of monotonic counter driver.
|
|
|
|
|
|
|
|
@param ImageHandle The handle of image.
|
|
|
|
@param SystemTable The pointer to system table.
|
|
|
|
|
|
|
|
@return EFI_SUCCESS The initialize action is successful.
|
|
|
|
|
|
|
|
**/
|
2007-07-06 11:15:13 +02:00
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
MonotonicCounterDriverInitialize (
|
|
|
|
IN EFI_HANDLE ImageHandle,
|
|
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
|
)
|
|
|
|
;
|
|
|
|
|
|
|
|
#endif
|