David Wei 3cbfba02fe Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
https://svn.code.sf.net/p/edk2/code/trunk/edk2/, 

which are for MinnowBoard MAX open source project.


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Wei <david.wei@intel.com>
Reviewed-by: Mike Wu <mike.wu@intel.com>
Reviewed-by: Hot Tian <hot.tian@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16599 6f19259b-4bc3-4df7-8a09-765794883524
2015-01-12 09:37:20 +00:00

71 lines
1.9 KiB
C

/*++
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that 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.
Module Name:
Speaker.h
Abstract:
EFI Speaker Interface Protocol
--*/
#ifndef _PEI_SPEAKER_IF_H
#define _PEI_SPEAKER_IF_H
//
// Global ID Speaker Interface
//
#define PEI_SPEAKER_INTERFACE_PPI_GUID \
{ \
0x30ac275e, 0xbb30, 0x4b84, 0xa1, 0xcd, 0x0a, 0xf1, 0x32, 0x2c, 0x89, 0xc0 \
}
typedef struct _PEI_SPEAKER_IF_PPI PEI_SPEAKER_IF_PPI;
//
// Beep Code
//
typedef
EFI_STATUS
(EFIAPI *EFI_SPEAKER_GENERATE_BEEP) (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN UINTN NumberOfBeep,
IN UINTN BeepDuration,
IN UINTN TimeInterval
);
//
// Set Frequency
//
typedef
EFI_STATUS
(EFIAPI *EFI_SPEAKER_SET_FREQUENCY) (
IN CONST EFI_PEI_SERVICES **PeiServices,
IN UINT16 Frequency
);
//
// Protocol definition
//
typedef struct _PEI_SPEAKER_IF_PPI {
EFI_SPEAKER_SET_FREQUENCY SetSpeakerToneFrequency;
EFI_SPEAKER_GENERATE_BEEP GenerateBeep;
} PEI_SPEAKER_IF_PPI;
extern EFI_GUID gPeiSpeakerInterfacePpiGuid;
#endif