mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-30 23:50:23 +00:00 
			
		
		
		
	 8aa163da5a
			
		
	
	
		8aa163da5a
		
	
	
	
	
		
			
			Implement the clock() function using the EFI time-of-day clock instead of a TimerLib instance. Signed-off-by: darylm503 Reviewed-by: jljusten Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12683 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  Standard C library: Time implementations.
 | |
| #
 | |
| #  Copyright (c) 2010 - 2011, Intel Corporation. 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.
 | |
| #
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = LibTime
 | |
|   FILE_GUID                      = c5847038-ff75-4074-9e4c-c36a2eb398a5
 | |
|   MODULE_TYPE                    = UEFI_APPLICATION
 | |
|   VERSION_STRING                 = 1.0
 | |
|   LIBRARY_CLASS                  = LibTime
 | |
| 
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   Time.c
 | |
|   ZoneProc.c
 | |
|   strftime.c
 | |
|   strptime.c
 | |
|   TimeEfi.c
 | |
|   gettimeofday.c
 | |
|   timegm.c
 | |
|   itimer.c
 | |
| 
 | |
| [Packages]
 | |
|   StdLib/StdLib.dec
 | |
|   StdLibPrivateInternalFiles/DoNotUse.dec
 | |
|   MdePkg/MdePkg.dec
 | |
|   ShellPkg/ShellPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   UefiLib
 | |
|   BaseLib
 | |
|   UefiRuntimeServicesTableLib
 | |
| 
 | |
| ################################################################
 | |
| #
 | |
| # The Build Options, below, are only used when building the C library.
 | |
| # DO NOT use them when building your application!
 | |
| # Nasty things could happen if you do.
 | |
| #
 | |
| [BuildOptions]
 | |
|    GCC:*_*_*_CC_FLAGS    = -fno-strict-overflow -fno-builtin-strftime
 |