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 - IB.
20 
21   @param  CommandArg        The argument for this command
22   @param  DebuggerPrivate   EBC Debugger private data structure
23   @param  ExceptionType     Exception type.
24   @param  SystemContext     EBC system context.
25 
26   @retval EFI_DEBUG_CONTINUE   formal return value
27 
28 **/
29 EFI_DEBUG_STATUS
DebuggerExtIoIB(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)30 DebuggerExtIoIB (
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 
47   DebuggerCommand - IW.
48 
49 
50   @param  CommandArg      - The argument for this command
51   @param  DebuggerPrivate - EBC Debugger private data structure
52   @param  ExceptionType   - Exception type.
53   @param  SystemContext   - EBC system context.
54 
55   @retval  EFI_DEBUG_CONTINUE - formal return value
56 
57 **/
58 EFI_DEBUG_STATUS
DebuggerExtIoIW(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)59 DebuggerExtIoIW (
60   IN     CHAR16                    *CommandArg,
61   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
62   IN     EFI_EXCEPTION_TYPE        ExceptionType,
63   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
64   )
65 {
66   EDBPrint (L"Unsupported\n");
67   //
68   // TBD
69   //
70   return EFI_DEBUG_CONTINUE;
71 }
72 
73 /**
74 
75   DebuggerCommand - ID.
76 
77 
78   @param  CommandArg      - The argument for this command
79   @param  DebuggerPrivate - EBC Debugger private data structure
80   @param  ExceptionType   - Exception type.
81   @param  SystemContext   - EBC system context.
82 
83   @retval  EFI_DEBUG_CONTINUE - formal return value
84 
85 **/
86 EFI_DEBUG_STATUS
DebuggerExtIoID(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)87 DebuggerExtIoID (
88   IN     CHAR16                    *CommandArg,
89   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
90   IN     EFI_EXCEPTION_TYPE        ExceptionType,
91   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
92   )
93 {
94   EDBPrint (L"Unsupported\n");
95   //
96   // TBD
97   //
98   return EFI_DEBUG_CONTINUE;
99 }
100 
101 /**
102 
103   DebuggerCommand - OB.
104 
105   @param  CommandArg      - The argument for this command
106   @param  DebuggerPrivate - EBC Debugger private data structure
107   @param  ExceptionType   - Interrupt type.
108   @param  SystemContext   - EBC system context.
109 
110   @retval EFI_DEBUG_CONTINUE - formal return value
111 
112 **/
113 EFI_DEBUG_STATUS
DebuggerExtIoOB(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)114 DebuggerExtIoOB (
115   IN     CHAR16                    *CommandArg,
116   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
117   IN     EFI_EXCEPTION_TYPE        ExceptionType,
118   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
119   )
120 {
121   EDBPrint (L"Unsupported\n");
122   //
123   // TBD
124   //
125   return EFI_DEBUG_CONTINUE;
126 }
127 
128 
129 /**
130 
131   DebuggerCommand - OW.
132 
133   @param  CommandArg      - The argument for this command
134   @param  DebuggerPrivate - EBC Debugger private data structure
135   @param  ExceptionType   - Interrupt type.
136   @param  SystemContext   - EBC system context.
137 
138   @retval EFI_DEBUG_CONTINUE - formal return value
139 
140 **/
141 EFI_DEBUG_STATUS
DebuggerExtIoOW(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)142 DebuggerExtIoOW (
143   IN     CHAR16                    *CommandArg,
144   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
145   IN     EFI_EXCEPTION_TYPE        ExceptionType,
146   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
147   )
148 {
149   EDBPrint (L"Unsupported\n");
150   //
151   // TBD
152   //
153   return EFI_DEBUG_CONTINUE;
154 }
155 
156 
157 /**
158 
159   DebuggerCommand - OD.
160 
161   @param  CommandArg      - The argument for this command
162   @param  DebuggerPrivate - EBC Debugger private data structure
163   @param  ExceptionType   - Interrupt type.
164   @param  SystemContext   - EBC system context.
165 
166   @retval  EFI_DEBUG_CONTINUE - formal return value
167 
168 **/
169 EFI_DEBUG_STATUS
DebuggerExtIoOD(IN CHAR16 * CommandArg,IN EFI_DEBUGGER_PRIVATE_DATA * DebuggerPrivate,IN EFI_EXCEPTION_TYPE ExceptionType,IN OUT EFI_SYSTEM_CONTEXT SystemContext)170 DebuggerExtIoOD (
171   IN     CHAR16                    *CommandArg,
172   IN     EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
173   IN     EFI_EXCEPTION_TYPE        ExceptionType,
174   IN OUT EFI_SYSTEM_CONTEXT        SystemContext
175   )
176 {
177   EDBPrint (L"Unsupported\n");
178   //
179   // TBD
180   //
181   return EFI_DEBUG_CONTINUE;
182 }
183