One more header fix
[mirror_edk2.git] / ArmPkg / Include / Protocol / TimerDebugSupport.h
CommitLineData
2ef2b01e
A
1/** @file\r
2\r
3 Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
4\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __TIMERDEBUGSUPPORTPROTOCOL_H__\r
16#define __TIMERDEBUGSUPPORTPROTOCOL_H__\r
17\r
18//\r
19// Protocol GUID\r
20//\r
21#define TIMER_DEBUG_PROTOCOL_GUID { 0x68300561, 0x0197, 0x465d, { 0xb5, 0xa1, 0x28, 0xeb, 0xa1, 0x98, 0xdd, 0x0b } }\r
22\r
23\r
24\r
25//\r
26// Protocol interface structure\r
27//\r
28typedef struct _TIMER_DEBUG_SUPPORT_PROTOCOL TIMER_DEBUG_SUPPORT_PROTOCOL;\r
29\r
30\r
31typedef\r
32EFI_STATUS\r
33(EFIAPI *TIMER_DEBUG_SUPPORT_REGISTER_PERIODIC_CALLBACK) (\r
34 IN TIMER_DEBUG_SUPPORT_PROTOCOL *This,\r
35 IN EFI_PERIODIC_CALLBACK PeriodicCallback\r
36 )\r
37/*++\r
38\r
39Routine Description:\r
40 Register a periodic callback for debug support.\r
41\r
42Arguments:\r
43 This - pointer to protocol\r
44 PeriodicCallback - callback to be registered\r
45 \r
46Returns:\r
47 EFI_SUCCESS - callback registered\r
48\r
49--*/\r
50;\r
51\r
52struct _TIMER_DEBUG_SUPPORT_PROTOCOL {\r
53 TIMER_DEBUG_SUPPORT_REGISTER_PERIODIC_CALLBACK RegisterPeriodicCallback;\r
54};\r
55\r
56extern EFI_GUID gTimerDebugSupportProtocolGuid;\r
57\r
58#endif // __TIMERDEBUGSUPPORTPROTOCOL_H__\r
59\r