OpenCore  1.0.4
OpenCore Bootloader
1.0.4
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AppleBeepGen.h File Reference

Go to the source code of this file.

Data Structures

struct  APPLE_BEEP_GEN_PROTOCOL
 

Macros

#define APPLE_BEEP_GEN_PROTOCOL_GUID
 

Typedefs

typedef EFI_STATUS(EFIAPI * APPLE_BEEP_GEN_BEEP) (IN UINT32 ToneCount, IN UINTN ToneLength, IN UINTN SilenceLength)
 

Variables

EFI_GUID gAppleBeepGenProtocolGuid
 

Detailed Description

Copyright (C) 2014 - 2016, Download-Fritz. 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.

Definition in file AppleBeepGen.h.

Macro Definition Documentation

◆ APPLE_BEEP_GEN_PROTOCOL_GUID

#define APPLE_BEEP_GEN_PROTOCOL_GUID
Value:
{ 0xC32332DF, 0xFC56, 0x4FE1, \
{ 0x93, 0x58, 0xBA, 0x0D, 0x52, 0x9B, 0x24, 0xCD } }

Apple Beep Generator protocol C32332DF-FC56-4FE1-9358-BA0D529B24CD

Definition at line 20 of file AppleBeepGen.h.

Typedef Documentation

◆ APPLE_BEEP_GEN_BEEP

typedef EFI_STATUS(EFIAPI * APPLE_BEEP_GEN_BEEP) (IN UINT32 ToneCount, IN UINTN ToneLength, IN UINTN SilenceLength)

Note, ToneLength and SilenceLength were in microseconds for older models:

  • MacBookPro1,1
  • MacBookPro1,1
  • MacBookPro1,2
  • MacBookPro2,1
  • MacBookPro2,2
  • MacBookP1,1
  • MacBookP1,2
  • MacBookP2,1
  • MacBookP2,2
  • MacBook1,1
  • MacBook2,1
  • Macmini1,1
  • Macmini2,1
  • iMac4,1
  • iMac4,2
  • iMac5,1
  • iMac5,2
  • iMac6,1
  • MacPro1,1
  • MacPro2,1
  • XServe1,1 Generate cycles of beep signals with silence afterwards, blocking.
Parameters
[in]ToneCountNumber of signals to produce.
[in]ToneLengthSignal length in milliseconds.
[in]SilenceLengthSilence length in milliseconds.
Return values
EFI_SUCCESSafter signal completion.
EFI_SUCCESSif ToneCount is 0.

Definition at line 60 of file AppleBeepGen.h.

Variable Documentation

◆ gAppleBeepGenProtocolGuid

EFI_GUID gAppleBeepGenProtocolGuid
extern

Definition at line 44 of file UserGlobalVar.c.