3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 EFI Speaker Interface Protocol
26 #ifndef _PEI_SPEAKER_IF_H
27 #define _PEI_SPEAKER_IF_H
30 // Global ID Speaker Interface
32 #define PEI_SPEAKER_INTERFACE_PPI_GUID \
34 0x30ac275e, 0xbb30, 0x4b84, 0xa1, 0xcd, 0x0a, 0xf1, 0x32, 0x2c, 0x89, 0xc0 \
37 typedef struct _PEI_SPEAKER_IF_PPI PEI_SPEAKER_IF_PPI
;
44 (EFIAPI
*EFI_SPEAKER_GENERATE_BEEP
) (
45 IN CONST EFI_PEI_SERVICES
**PeiServices
,
46 IN UINTN NumberOfBeep
,
47 IN UINTN BeepDuration
,
56 (EFIAPI
*EFI_SPEAKER_SET_FREQUENCY
) (
57 IN CONST EFI_PEI_SERVICES
**PeiServices
,
62 // Protocol definition
64 typedef struct _PEI_SPEAKER_IF_PPI
{
65 EFI_SPEAKER_SET_FREQUENCY SetSpeakerToneFrequency
;
66 EFI_SPEAKER_GENERATE_BEEP GenerateBeep
;
69 extern EFI_GUID gPeiSpeakerInterfacePpiGuid
;