mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-11 14:28:08 +01:00
37 lines
829 B
C
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
|