blob: 6b948ffcf1656dbb38843b28d7641b92f66f5ca2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
## @file
# Instance of Timer Library based on the host's standard C library.
#
# Uses the C11 timespec_get() API to provide a free running performance
# counter and calibrated delays for host-based unit tests.
#
# Do NOT use this on a production system.
#
# Copyright (c) Microsoft Corporation.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x0001001B
BASE_NAME = TimerLibPosix
FILE_GUID = 6C3F9A17-9A1B-4E5C-8B7D-2E9F4A6C1D30
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = TimerLib|HOST_APPLICATION
[Sources]
TimerLibPosix.c
[Packages]
MdePkg/MdePkg.dec
[LibraryClasses]
DebugLib
[BuildOptions]
#
# Force 64-bit time_t and file offsets for IA32 builds.
#
*_*_IA32_CC_FLAGS = -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
|