summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-06-27 21:14:00 +0800
committerLiming Gao <liming.gao@intel.com>2018-06-28 11:19:52 +0800
commit77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee (patch)
tree165a0742bc4af9973f73ad5443afdc07d8620254 /SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
parentba0014b9f8ae1a593f03e744f26008214c2b06a8 (diff)
downloadedk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.tar.gz
edk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.tar.bz2
edk2-77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee.zip
SourceLevelDebugPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c')
-rw-r--r--SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
index 1aef63f206..1ecde2d4cc 100644
--- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
+++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDebugSupport.c
@@ -1,7 +1,7 @@
/** @file
Supporting functions for IA32 architecture.
- Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -58,9 +58,9 @@ InitializeDebugIdt (
IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
IdtEntry[DEBUG_TIMER_VECTOR].Bits.Selector = CodeSegment;
IdtEntry[DEBUG_TIMER_VECTOR].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
-
+
//
- // If the CPU supports Debug Extensions(CPUID:01 EDX:BIT2), then
+ // If the CPU supports Debug Extensions(CPUID:01 EDX:BIT2), then
// Set DE flag in CR4 to enable IO breakpoint
//
AsmCpuid (1, NULL, NULL, NULL, &RegEdx);
@@ -73,7 +73,7 @@ InitializeDebugIdt (
Retrieve exception handler from IDT table by ExceptionNum.
@param[in] ExceptionNum Exception number
-
+
@return Exception handler
**/
@@ -90,13 +90,13 @@ GetExceptionHandlerInIdtEntry (
return (VOID *) (((UINTN)IdtEntry[ExceptionNum].Bits.OffsetLow) |
(((UINTN)IdtEntry[ExceptionNum].Bits.OffsetHigh) << 16));
-}
+}
/**
Set exception handler in IDT table by ExceptionNum.
@param[in] ExceptionNum Exception number
- @param[in] ExceptionHandler Exception Handler to be set
+ @param[in] ExceptionHandler Exception Handler to be set
**/
VOID