Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TInterruptHandlerParser

Unit

kdinthandler

Declaration

type TInterruptHandlerParser = class

Description

Class TInterruptHandlerParser parses and validates the set of instructions of kernel-mode interrupt handler hosted at InterruptHandler property of TkdInterrupt class.

Methods

Overview

Publicfunction Parse(CustomCard: TkdCustomCard; ParsingStrings: TStringList; New_Insn_Proc: TAddNewInsnProc; Enqueue_String_Proc: TEnqueueStringProc): Boolean;

Description

Publicfunction Parse(CustomCard: TkdCustomCard; ParsingStrings: TStringList; New_Insn_Proc: TAddNewInsnProc; Enqueue_String_Proc: TEnqueueStringProc): Boolean;

Parse method parses, for the hardware device given as CustomCard argument, the set of instructions of kernel-mode interrupt handler given as ParsingStrings argument and validates it by matching against certain verifications performed by New_Insn_Proc and Enqueue_String_Proc routines whose pointers are provided as the remaining arguments. The method returns True if the set of instructions of kernel-mode interrupt handler is legal, otherwise False is returned.