You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2792 The BeepDebugFeaturePkg include some useful beep debug libraries, such as get beep value from status code and beep. It provide a library BeepStatusCodeHandlerLib used by edk2 StatusCodeHandler.efi, used to do beep if needed. It also provide a library of BeepMap lib, it map the status code to beep value. A library of Beep lib is needed by platform, and this pkg has a Null implementation. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Ming Tan <ming.tan@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
38 lines
1002 B
C
38 lines
1002 B
C
/** @file
|
|
BeepLib Null implementation.
|
|
|
|
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#include <Base.h>
|
|
#include <Uefi.h>
|
|
|
|
/**
|
|
NULL implemented of Beep() function, just return directly.
|
|
Normal Beep() function will do the following:
|
|
|
|
Sends a 32-bit value to Beep device.
|
|
|
|
Sends the 32-bit value specified by Value to Beep device, and returns Value.
|
|
Some implementations of this library function may perform I/O operations
|
|
directly to Beep device. Other implementations may send Value to
|
|
ReportStatusCode(), and the status code reporting mechanism will eventually
|
|
display the 32-bit value on the status reporting device.
|
|
|
|
Beep() must actively prevent recursion. If Beep() is called while
|
|
processing another Post Code Library function, then
|
|
Beep() must return Value immediately.
|
|
|
|
@param Value Beep count.
|
|
**/
|
|
VOID
|
|
EFIAPI
|
|
Beep (
|
|
IN UINT32 Value
|
|
)
|
|
{
|
|
return;
|
|
}
|