X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmulatorPkg%2FTimerDxe%2FTimer.h;h=861811f3a4e33abdc97e82682f87d218b4402fc8;hp=ca5b43b0250dee0edf088805609dbee97f925f53;hb=HEAD;hpb=d18d8a1d0e370f8ce6ccc2725f4170586d457e53 diff --git a/EmulatorPkg/TimerDxe/Timer.h b/EmulatorPkg/TimerDxe/Timer.h index ca5b43b025..7a995e0d96 100644 --- a/EmulatorPkg/TimerDxe/Timer.h +++ b/EmulatorPkg/TimerDxe/Timer.h @@ -5,13 +5,7 @@ Copyright (c) 2006, Intel Corporation. All rights reserved.
Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved. -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. +SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -19,19 +13,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef _TIMER_H_ #define _TIMER_H_ - - - // // Legal timer value range in 100 ns units // -#define TIMER_MINIMUM_VALUE 0 -#define TIMER_MAXIMUM_VALUE (0x100000000ULL - 1) +#define TIMER_MINIMUM_VALUE 0 +#define TIMER_MAXIMUM_VALUE (0x100000000ULL - 1) // // Default timer value in 100 ns units (50 ms) // -#define DEFAULT_TIMER_TICK_DURATION 500000 +#define DEFAULT_TIMER_TICK_DURATION 500000 // // Function Prototypes @@ -60,8 +51,8 @@ EmuTimerDriverSetTimerPeriod ( EFI_STATUS EFIAPI EmuTimerDriverGetTimerPeriod ( - IN EFI_TIMER_ARCH_PROTOCOL *This, - OUT UINT64 *TimerPeriod + IN EFI_TIMER_ARCH_PROTOCOL *This, + OUT UINT64 *TimerPeriod ); EFI_STATUS