• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2   Protocol is used to help implement DebugSupport.RegisterPeriodicCallback() functionality.
3   This enables the DXE timer driver to support the periodic callback function so the
4   DebugSupport driver does not need to contain platform specific information about how a timer
5   works.
6 
7   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
8 
9   This program and the accompanying materials
10   are licensed and made available under the terms and conditions of the BSD License
11   which accompanies this distribution.  The full text of the license may be found at
12   http://opensource.org/licenses/bsd-license.php
13 
14   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 
17 **/
18 
19 
20 #ifndef __DEBUG_SUPPORT_PERIODIC_CALLBACK_H__
21 #define __DEBUG_SUPPORT_PERIODIC_CALLBACK_H__
22 
23 #include <Protocol/DebugSupport.h>
24 
25 typedef struct _EFI_DEBUG_SUPPORT_PERIODIC_CALLBACK_PROTOCOL EFI_DEBUG_SUPPORT_PERIODIC_CALLBACK_PROTOCOL;
26 
27 
28 // {9546E07C-2CBB-4c88-986C-CD341086F044}
29 #define EFI_DEBUG_SUPPORT_PERIODIC_CALLBACK_PROTOCOL_GUID \
30   { 0x9546e07c, 0x2cbb, 0x4c88, { 0x98, 0x6c, 0xcd, 0x34, 0x10, 0x86, 0xf0, 0x44 } }
31 
32 
33 //
34 // DebugSupport protocol definition
35 //
36 struct _EFI_DEBUG_SUPPORT_PERIODIC_CALLBACK_PROTOCOL {
37   EFI_PERIODIC_CALLBACK  PeriodicCallback;
38 };
39 
40 extern EFI_GUID gEfiDebugSupportPeriodicCallbackProtocolGuid;
41 
42 #endif
43