X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SourceLevelDebugPkg%2FLibrary%2FPeCoffExtraActionLibDebug%2FIa32%2FIntHandlerFuncs.c;fp=SourceLevelDebugPkg%2FLibrary%2FPeCoffExtraActionLibDebug%2FIa32%2FIntHandlerFuncs.c;h=85cab7c205d30ae2d1b564f094e4b661ca49582a;hp=ccf3fb1842acfe85ab68df4e282feb22d3737d0b;hb=77695f4da3dc8eedb6fc7fc67f91ef6ccd22daee;hpb=ba0014b9f8ae1a593f03e744f26008214c2b06a8 diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs.c b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs.c index ccf3fb1842..85cab7c205 100644 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs.c +++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs.c @@ -1,7 +1,7 @@ /** @file Ia32 arch functions to access IDT vector. - Copyright (c) 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2013 - 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 @@ -24,7 +24,7 @@ @retval FALSE IDT entries were not setuo by Debug Agent. **/ -BOOLEAN +BOOLEAN CheckDebugAgentHandler ( IN IA32_DESCRIPTOR *IdtDescriptor, IN UINTN InterruptType @@ -48,7 +48,7 @@ CheckDebugAgentHandler ( } /** - Save IDT entry for INT1 and update it. + Save IDT entry for INT1 and update it. @param[in] IdtDescriptor Pointer to IDT Descriptor. @param[out] SavedIdtEntry Original IDT entry returned. @@ -63,7 +63,7 @@ SaveAndUpdateIdtEntry1 ( IA32_IDT_GATE_DESCRIPTOR *IdtEntry; UINT16 CodeSegment; UINTN InterruptHandler; - + IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base; CopyMem (SavedIdtEntry, &IdtEntry[1], sizeof (IA32_IDT_GATE_DESCRIPTOR)); @@ -80,7 +80,7 @@ SaveAndUpdateIdtEntry1 ( } /** - Restore IDT entry for INT1. + Restore IDT entry for INT1. @param[in] IdtDescriptor Pointer to IDT Descriptor. @param[in] RestoredIdtEntry IDT entry to be restored. @@ -93,7 +93,7 @@ RestoreIdtEntry1 ( ) { IA32_IDT_GATE_DESCRIPTOR *IdtEntry; - + IdtEntry = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor->Base; CopyMem (&IdtEntry[1], RestoredIdtEntry, sizeof (IA32_IDT_GATE_DESCRIPTOR)); }