VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Metronome/Metronome.uni

Last change on this file was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:mime-type set to text/plain;encoding=UTF-16LE
File size: 1.8 KB
Line 
1// /** @file
2// This module produces the Metronome Architectural Protocol on top of Timer Library.
3//
4// This is a generic implementation of the Metronome Architectural Protocol that
5// layers on top of an instance of the Timer Library. The Timer Library provides
6// functions for nanosecond and microsecond delays. This generic implementation
7// produces a fixed TickPeriod of 100ns unit, and when the WaitForTick() service
8// is called, the number of ticks passed in is converted to either nanosecond or
9// microsecond units. If the number of ticks is small, then nanoseconds are used.
10// If the number of ticks is large, then microseconds are used. This prevents
11// overflows that could occur for long delays if only nanoseconds were used and also
12// provides the greatest accuracy for small delays.
13//
14// Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
15//
16// SPDX-License-Identifier: BSD-2-Clause-Patent
17//
18// **/
19
20
21#string STR_MODULE_ABSTRACT #language en-US "Produces the Metronome Architectural Protocol on top of Timer Library"
22
23#string STR_MODULE_DESCRIPTION #language en-US "This is a generic implementation of the Metronome Architectural Protocol that layers on top of an instance of the Timer Library. The Timer Library provides functions for nanosecond and microsecond delays. This generic implementation produces a fixed TickPeriod of 100ns unit, and when the WaitForTick() service is called, the number of ticks passed in is converted to either nanosecond or microsecond units. If the number of ticks is small, then nanoseconds are used. If the number of ticks is large, then microseconds are used. This prevents overflows that could occur for long delays if only nanoseconds were used and also provides the greatest accuracy for small delays."
24
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use