The DebugSupport protocol is used by source level debuggers to abstract the\r
processor and handle context save and restore operations.\r
\r
- Copyright (c) 2006 - 2009, Intel Corporation<BR> \r
- Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution. \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php. \r
+ \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
**/\r
\r
typedef struct _EFI_DEBUG_SUPPORT_PROTOCOL EFI_DEBUG_SUPPORT_PROTOCOL;\r
\r
///\r
-/// Debug Support protocol {2755590C-6F3C-42FA-9EA4-A3BA543CDA25}\r
+/// Debug Support protocol {2755590C-6F3C-42FA-9EA4-A3BA543CDA25}.\r
///\r
#define EFI_DEBUG_SUPPORT_PROTOCOL_GUID \\r
{ \\r
typedef INTN EFI_EXCEPTION_TYPE;\r
\r
///\r
-/// IA-32 processor exception types\r
+/// IA-32 processor exception types.\r
///\r
#define EXCEPT_IA32_DIVIDE_ERROR 0\r
#define EXCEPT_IA32_DEBUG 1\r
#define EXCEPT_IA32_SIMD 19\r
\r
///\r
-/// FXSAVE_STATE\r
-/// FP / MMX / XMM registers (see fxrstor instruction definition)\r
+/// FXSAVE_STATE.\r
+/// FP / MMX / XMM registers (see fxrstor instruction definition).\r
///\r
typedef struct {\r
UINT16 Fcw;\r
} EFI_FX_SAVE_STATE_IA32;\r
\r
///\r
-/// IA-32 processor context definition\r
+/// IA-32 processor context definition.\r
///\r
typedef struct {\r
UINT32 ExceptionData;\r
} EFI_SYSTEM_CONTEXT_IA32;\r
\r
///\r
-/// x64 processor exception types\r
+/// x64 processor exception types.\r
///\r
#define EXCEPT_X64_DIVIDE_ERROR 0\r
#define EXCEPT_X64_DEBUG 1\r
#define EXCEPT_X64_SIMD 19\r
\r
///\r
-/// FXSAVE_STATE\r
-/// FP / MMX / XMM registers (see fxrstor instruction definition)\r
+/// FXSAVE_STATE.\r
+/// FP / MMX / XMM registers (see fxrstor instruction definition).\r
///\r
typedef struct {\r
UINT16 Fcw;\r
} EFI_FX_SAVE_STATE_X64;\r
\r
///\r
-/// x64 processor context definition\r
+/// x64 processor context definition.\r
///\r
typedef struct {\r
UINT64 ExceptionData;\r
} EFI_SYSTEM_CONTEXT_X64;\r
\r
///\r
-/// Itanium Processor Family Exception types\r
+/// Itanium Processor Family Exception types.\r
///\r
#define EXCEPT_IPF_VHTP_TRANSLATION 0\r
#define EXCEPT_IPF_INSTRUCTION_TLB 1\r
#define EXCEPT_IPF_IA32_INTERRUPT 47\r
\r
///\r
-/// IPF processor context definition\r
+/// IPF processor context definition.\r
///\r
typedef struct {\r
//\r
} EFI_SYSTEM_CONTEXT_IPF;\r
\r
///\r
-/// EBC processor exception types\r
+/// EBC processor exception types.\r
///\r
#define EXCEPT_EBC_UNDEFINED 0\r
#define EXCEPT_EBC_DIVIDE_ERROR 1\r
#define EXCEPT_EBC_DEBUG 2\r
#define EXCEPT_EBC_BREAKPOINT 3\r
#define EXCEPT_EBC_OVERFLOW 4\r
-#define EXCEPT_EBC_INVALID_OPCODE 5 ///< opcode out of range\r
+#define EXCEPT_EBC_INVALID_OPCODE 5 ///< Opcode out of range.\r
#define EXCEPT_EBC_STACK_FAULT 6\r
#define EXCEPT_EBC_ALIGNMENT_CHECK 7\r
-#define EXCEPT_EBC_INSTRUCTION_ENCODING 8 ///< malformed instruction\r
-#define EXCEPT_EBC_BAD_BREAK 9 ///< BREAK 0 or undefined BREAK\r
-#define EXCEPT_EBC_STEP 10 ///< to support debug stepping\r
+#define EXCEPT_EBC_INSTRUCTION_ENCODING 8 ///< Malformed instruction.\r
+#define EXCEPT_EBC_BAD_BREAK 9 ///< BREAK 0 or undefined BREAK.\r
+#define EXCEPT_EBC_STEP 10 ///< To support debug stepping.\r
///\r
/// For coding convenience, define the maximum valid EBC exception.\r
///\r
#define MAX_EBC_EXCEPTION EXCEPT_EBC_STEP\r
\r
///\r
-/// EBC processor context definition\r
+/// EBC processor context definition.\r
///\r
typedef struct {\r
UINT64 R0;\r
\r
\r
///\r
-/// ARM processor exception types\r
+/// ARM processor exception types.\r
///\r
#define EXCEPT_ARM_RESET 0\r
#define EXCEPT_ARM_UNDEFINED_INSTRUCTION 1\r
#define MAX_ARM_EXCEPTION EXCEPT_ARM_FIQ\r
\r
///\r
-/// ARM processor context definition\r
+/// ARM processor context definition.\r
///\r
typedef struct {\r
UINT32 R0;\r
} EFI_SYSTEM_CONTEXT_ARM;\r
\r
///\r
-/// Universal EFI_SYSTEM_CONTEXT definition\r
+/// Universal EFI_SYSTEM_CONTEXT definition.\r
///\r
typedef union {\r
EFI_SYSTEM_CONTEXT_EBC *SystemContextEbc;\r
/** \r
Registers and enables an exception callback function for the specified exception.\r
\r
- @param ExceptionType Exception types in EBC, IA-32, x64, or IPF\r
+ @param ExceptionType Exception types in EBC, IA-32, x64, or IPF.\r
@param SystemContext Exception content.\r
\r
**/\r