]> git.proxmox.com Git - mirror_edk2.git/blob - SourceLevelDebugPkg/Include/SoftDebuggerDefinitions.h
Comment's added and fixed.
[mirror_edk2.git] / SourceLevelDebugPkg / Include / SoftDebuggerDefinitions.h
1 /** @file
2 Soft Debugger defintions. The definitions will also be used as part
3 of debug transfer protocol. It is only intended to be used by Debug
4 related module implementation.
5
6 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef __SOFT_DEBUGGER_DEFINITIONS_H__
18 #define __SOFT_DEBUGGER_DEFINITIONS_H__
19
20 //
21 // Definition for processor mode (IA16, IA32, X64, ...)
22 //
23 #define SOFT_DEBUGGER_PROCESSOR_IA16 0
24 #define SOFT_DEBUGGER_PROCESSOR_IA32 1
25 #define SOFT_DEBUGGER_PROCESSOR_X64 2
26
27 //
28 // Break cause defintions
29 //
30 #define SOFT_DEBUGGER_BREAK_CAUSE_UNKNOWN 0
31 #define SOFT_DEBUGGER_BREAK_CAUSE_HW_BREAKPOINT 1
32 #define SOFT_DEBUGGER_BREAK_CAUSE_STEPPING 2
33 #define SOFT_DEBUGGER_BREAK_CAUSE_SW_BREAKPOINT 3
34 #define SOFT_DEBUGGER_BREAK_CAUSE_USER_HALT 4
35 #define SOFT_DEBUGGER_BREAK_CAUSE_IMAGE_LOAD 5
36 #define SOFT_DEBUGGER_BREAK_CAUSE_IMAGE_UNLOAD 6
37 #define SOFT_DEBUGGER_BREAK_CAUSE_SYSTEM_RESET 7
38 #define SOFT_DEBUGGER_BREAK_CAUSE_EXCEPTION 8
39
40 #define SOFT_DEBUGGER_SETTING_SMM_ENTRY_BREAK 1
41
42 #endif