TianoCore EDK2 master
|
#include <PeCoffExtraActionLib.h>
Go to the source code of this file.
Functions | |
BOOLEAN | CheckDebugAgentHandler (IN IA32_DESCRIPTOR *IdtDescriptor, IN UINTN InterruptType) |
VOID | SaveAndUpdateIdtEntry1 (IN IA32_DESCRIPTOR *IdtDescriptor, OUT IA32_IDT_GATE_DESCRIPTOR *SavedIdtEntry) |
VOID | RestoreIdtEntry1 (IN IA32_DESCRIPTOR *IdtDescriptor, IN IA32_IDT_GATE_DESCRIPTOR *RestoredIdtEntry) |
Ia32 arch functions to access IDT vector.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file IntHandlerFuncs.c.
Read IDT entry to check if IDT entries are setup by Debug Agent.
[in] | IdtDescriptor | Pointer to IDT Descriptor. |
[in] | InterruptType | Interrupt type. |
TRUE | IDT entries were setup by Debug Agent. |
FALSE | IDT entries were not setup by Debug Agent. |
Definition at line 22 of file IntHandlerFuncs.c.
VOID RestoreIdtEntry1 | ( | IN IA32_DESCRIPTOR * | IdtDescriptor, |
IN IA32_IDT_GATE_DESCRIPTOR * | RestoredIdtEntry | ||
) |
Restore IDT entry for INT1.
[in] | IdtDescriptor | Pointer to IDT Descriptor. |
[in] | RestoredIdtEntry | IDT entry to be restored. |
Definition at line 84 of file IntHandlerFuncs.c.
VOID SaveAndUpdateIdtEntry1 | ( | IN IA32_DESCRIPTOR * | IdtDescriptor, |
OUT IA32_IDT_GATE_DESCRIPTOR * | SavedIdtEntry | ||
) |
Save IDT entry for INT1 and update it.
[in] | IdtDescriptor | Pointer to IDT Descriptor. |
[out] | SavedIdtEntry | Original IDT entry returned. |
Definition at line 52 of file IntHandlerFuncs.c.