Add PCD setting for Timer, default is 10 times a second. You need the timer to detect...
[mirror_edk2.git] / Omap35xxPkg / Include / Library / OmapLib.h
1 /** @file
2
3 Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
4
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __OMAPLIB_H__
16 #define __OMAPLIB_H__
17
18 UINT32
19 EFIAPI
20 GpioBase (
21 IN UINTN Port
22 );
23
24 UINT32
25 EFIAPI
26 TimerBase (
27 IN UINTN Timer
28 );
29
30 UINTN
31 EFIAPI
32 InterruptVectorForTimer (
33 IN UINTN TImer
34 );
35
36 UINT32
37 EFIAPI
38 UartBase (
39 IN UINTN Uart
40 );
41
42
43 #endif // __OMAPLIB_H__
44