]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.h
1. DebugAgentLib will install reserved vector table to persist vectors.
[mirror_edk2.git] / SourceLevelDebugPkg / Library / PeCoffExtraActionLibDebug / PeCoffExtraActionLib.h
index 36aebf16d1a302d0cfd41c8a655ad0d0e67d09a4..3f919287e80c5549e8718f60e08ee027492a3d39 100644 (file)
 #define DEBUG_LOAD_IMAGE_METHOD_IO_HW_BREAKPOINT    1\r
 #define DEBUG_LOAD_IMAGE_METHOD_SOFT_INT3           2\r
 \r
+#define IO_HW_BREAKPOINT_VECTOR_NUM                 1\r
+#define SOFT_INT_VECTOR_NUM                         3\r
+\r
 extern UINTN  AsmInterruptHandle;\r
 \r
 /**\r
   Read IDT entry to check if IDT entries are setup by Debug Agent.\r
 \r
   @param[in]  IdtDescriptor      Pointer to IDT Descriptor.\r
+  @param[in]  InterruptType      Interrupt type.\r
 \r
   @retval  TRUE     IDT entries were setup by Debug Agent.\r
   @retval  FALSE    IDT entries were not setuo by Debug Agent.\r
@@ -41,7 +45,8 @@ extern UINTN  AsmInterruptHandle;
 **/\r
 BOOLEAN \r
 CheckDebugAgentHandler (\r
-  IN  IA32_DESCRIPTOR            *IdtDescriptor\r
+  IN  IA32_DESCRIPTOR            *IdtDescriptor,\r
+  IN  UINTN                      InterruptType\r
   );\r
 \r
 /**\r