]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.c
58c756d4d4456d7aafa9c92454616549acace5cd
[mirror_edk2.git] / MdeModulePkg / Library / DebugAgentLibNull / DebugAgentLibNull.c
1 /** @file
2 Debug Agent library implementition with empty functions.
3
4 Copyright (c) 2010, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
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.
12
13 **/
14
15 /**
16 Initialize debug agent.
17
18 This function is used to set up debug enviroment. It may enable interrupts.
19
20 @param[in] InitFlag Init flag is used to decide initialize process.
21 @param[in] Context Context needed according to InitFlag, it was optional.
22
23 **/
24 VOID
25 EFIAPI
26 InitializeDebugAgent (
27 IN UINT32 InitFlag,
28 IN VOID *Context OPTIONAL
29 )
30 {
31
32 }
33
34 /**
35 Enable/Disable the interrupt of debug timer and return the interrupt state
36 prior to the operation.
37
38 If EnableStatus is TRUE, enable the interrupt of debug timer.
39 If EnableStatus is FALSE, disable the interrupt of debug timer.
40
41 @param[in] EnableStatus Enable/Disable.
42
43 @return FALSE always.
44
45 **/
46 BOOLEAN
47 EFIAPI
48 SaveAndSetDebugTimerInterrupt (
49 IN BOOLEAN EnableStatus
50 )
51 {
52 return FALSE;
53 }
54