CloverBootloader/Protocols/AptioInputFix/Timer/AIT.h
Sergey Isakov f35acfa5ab restructure sources, preliminary include AptioMemoryFix from OC
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-04 16:19:40 +03:00

37 lines
829 B
C

/** @file
Timer booster
Copyright (c) 2018, vit9696. All rights reserved.<BR>
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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef AIT_SELF_H
#define AIT_SELF_H
#include <Library/UefiLib.h>
//
// AppleEvent prefers 10 ms, and APTIO IV Z87 needs 5 ms for mouse.
// Pick the lower one, as they are multiple of each other.
//
#define AIT_TIMER_PERIOD EFI_TIMER_PERIOD_MILLISECONDS(5)
EFI_STATUS
AITInit (
VOID
);
EFI_STATUS
AITExit (
VOID
);
#endif