X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SourceLevelDebugPkg%2FLibrary%2FDebugAgent%2FDebugAgentCommon%2FX64%2FArchDebugSupport.c;fp=SourceLevelDebugPkg%2FLibrary%2FDebugAgent%2FDebugAgentCommon%2FX64%2FArchDebugSupport.c;h=a0e56481a51d2bac09ba24172a64383c224cceba;hp=08cef0154f8b0b10e4695d5f03baf91751b22acb;hb=77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee;hpb=ba0014b9f8ae1a593f03e744f26008214c2b06a8 diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.c index 08cef0154f..a0e56481a5 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDebugSupport.c @@ -1,7 +1,7 @@ /** @file Supporting functions for X64 architecture. - Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
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 @@ -62,7 +62,7 @@ InitializeDebugIdt ( 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); @@ -75,7 +75,7 @@ InitializeDebugIdt ( Retrieve exception handler from IDT table by ExceptionNum. @param[in] ExceptionNum Exception number - + @return Exception handler **/ @@ -93,13 +93,13 @@ GetExceptionHandlerInIdtEntry ( return (VOID *) (IdtEntry[ExceptionNum].Bits.OffsetLow | (((UINTN)IdtEntry[ExceptionNum].Bits.OffsetHigh) << 16) | (((UINTN)IdtEntry[ExceptionNum].Bits.OffsetUpper) << 32)); -} +} /** 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