]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/TimerDxe/Timer.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmulatorPkg / TimerDxe / Timer.h
index 27fc676b717a0ac20e2c9a9576cdd34bfcd97163..7a995e0d965291837448dc42e3d68ea1705c129d 100644 (file)
@@ -5,13 +5,7 @@
 \r
 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
 Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.\r
 \r
 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
 Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.\r
-This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 \r
 **/\r
 \r
 \r
 **/\r
@@ -19,19 +13,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _TIMER_H_\r
 #define _TIMER_H_\r
 \r
 #ifndef _TIMER_H_\r
 #define _TIMER_H_\r
 \r
-\r
-\r
-\r
 //\r
 // Legal timer value range in 100 ns units\r
 //\r
 //\r
 // Legal timer value range in 100 ns units\r
 //\r
-#define TIMER_MINIMUM_VALUE 0\r
-#define TIMER_MAXIMUM_VALUE (0x100000000ULL - 1)\r
+#define TIMER_MINIMUM_VALUE  0\r
+#define TIMER_MAXIMUM_VALUE  (0x100000000ULL - 1)\r
 \r
 //\r
 // Default timer value in 100 ns units (50 ms)\r
 //\r
 \r
 //\r
 // Default timer value in 100 ns units (50 ms)\r
 //\r
-#define DEFAULT_TIMER_TICK_DURATION 500000\r
+#define DEFAULT_TIMER_TICK_DURATION  500000\r
 \r
 //\r
 // Function Prototypes\r
 \r
 //\r
 // Function Prototypes\r
@@ -60,8 +51,8 @@ EmuTimerDriverSetTimerPeriod (
 EFI_STATUS\r
 EFIAPI\r
 EmuTimerDriverGetTimerPeriod (\r
 EFI_STATUS\r
 EFIAPI\r
 EmuTimerDriverGetTimerPeriod (\r
-  IN EFI_TIMER_ARCH_PROTOCOL   *This,\r
-  OUT UINT64                   *TimerPeriod\r
+  IN EFI_TIMER_ARCH_PROTOCOL  *This,\r
+  OUT UINT64                  *TimerPeriod\r
   );\r
 \r
 EFI_STATUS\r
   );\r
 \r
 EFI_STATUS\r