1 /** @file
2 
3 Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 
13 **/
14 
15 #include "Edb.h"
16 
17 /**
18 
19   DebuggerCommand - PCIL.
20 
21   @param  CommandArg      - The argument for this command
22   @param  DebuggerPrivate - EBC Debugger private data structure
23   @param  ExceptionType   - Interrupt type.
24   @param  SystemContext   - EBC system context.
25 
26   @retval EFI_DEBUG_CONTINUE - formal return value
27 
28 **/
29 EFI_DEBUG_STATUS
DebuggerExtPciPCIL(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)30 DebuggerExtPciPCIL (
31   IN     CHAR16                    *CommandArg,
32   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
33   IN     EFI_EXCEPTION_TYPE        ExceptionType,
34   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
35   )
36 {
37   EDBPrint (L"Unsupported\n");
38   //
39   // TBD
40   //
41   return EFI_DEBUG_CONTINUE;
42 }
43 
44 /**
45 
46   DebuggerCommand - PCID.
47 
48   @param  CommandArg      - The argument for this command
49   @param  DebuggerPrivate - EBC Debugger private data structure
50   @param  ExceptionType   - Interrupt type.
51   @param  SystemContext   - EBC system context.
52 
53   @retval EFI_DEBUG_CONTINUE - formal return value
54 
55 **/
56 EFI_DEBUG_STATUS
DebuggerExtPciPCID(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)57 DebuggerExtPciPCID (
58   IN     CHAR16                    *CommandArg,
59   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
60   IN     EFI_EXCEPTION_TYPE        ExceptionType,
61   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
62   )
63 {
64   EDBPrint (L"Unsupported\n");
65   //
66   // TBD
67   //
68   return EFI_DEBUG_CONTINUE;
69 }
70 
71 /**
72 
73   DebuggerCommand - CFGB.
74 
75   @param  CommandArg      - The argument for this command
76   @param  DebuggerPrivate - EBC Debugger private data structure
77   @param  ExceptionType   - Interrupt type.
78   @param  SystemContext   - EBC system context.
79 
80   @retval EFI_DEBUG_CONTINUE - formal return value
81 
82 **/
83 EFI_DEBUG_STATUS
DebuggerExtPciCFGB(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)84 DebuggerExtPciCFGB (
85   IN     CHAR16                    *CommandArg,
86   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
87   IN     EFI_EXCEPTION_TYPE        ExceptionType,
88   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
89   )
90 {
91   EDBPrint (L"Unsupported\n");
92   //
93   // TBD
94   //
95   return EFI_DEBUG_CONTINUE;
96 }
97 
98 
99 /**
100 
101   DebuggerCommand - CFGW.
102 
103   @param  CommandArg      - The argument for this command
104   @param  DebuggerPrivate - EBC Debugger private data structure
105   @param  ExceptionType   - Interrupt type.
106   @param  SystemContext   - EBC system context.
107 
108   @retval EFI_DEBUG_CONTINUE - formal return value
109 
110 **/
111 EFI_DEBUG_STATUS
DebuggerExtPciCFGW(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)112 DebuggerExtPciCFGW (
113   IN     CHAR16                    *CommandArg,
114   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
115   IN     EFI_EXCEPTION_TYPE        ExceptionType,
116   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
117   )
118 {
119   EDBPrint (L"Unsupported\n");
120   //
121   // TBD
122   //
123   return EFI_DEBUG_CONTINUE;
124 }
125 
126 /**
127 
128   DebuggerCommand - CFGD.
129 
130   @param  CommandArg      - The argument for this command
131   @param  DebuggerPrivate - EBC Debugger private data structure
132   @param  ExceptionType   - Interrupt type.
133   @param  SystemContext   - EBC system context.
134 
135   @retval EFI_DEBUG_CONTINUE - formal return value
136 
137 **/
138 EFI_DEBUG_STATUS
DebuggerExtPciCFGD(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)139 DebuggerExtPciCFGD (
140   IN     CHAR16                    *CommandArg,
141   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
142   IN     EFI_EXCEPTION_TYPE        ExceptionType,
143   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
144   )
145 {
146   EDBPrint (L"Unsupported\n");
147   //
148   // TBD
149   //
150   return EFI_DEBUG_CONTINUE;
151 }
152