Lines Matching full:handler
64 def create_irq_gate(handler, dpl): argument
69 offset_hi = handler >> 16
70 offset_lo = handler & 0xFFFF
88 for handler, tss, dpl in idt_config:
89 if handler and tss:
90 error("entry specifies both handler function and tss")
92 if not handler and not tss:
93 error("entry does not specify either handler or tss")
95 if handler:
96 data = create_irq_gate(handler, dpl)
141 for handler, irq, prio, vec, dpl, tss in intlist:
154 vectors[vec] = (handler, tss, dpl)
158 for handler, irq, prio, vec, dpl, tss in intlist:
172 vectors[vec] = (handler, tss, dpl)
175 # Pass 3: fill in unused vectors with spurious handler at dpl=0
181 handler = spur_code
183 handler = spur_nocode
185 vectors[i] = (handler, 0, 0)
229 debug("spurious handler (code) : %s" % hex(header[0]))
230 debug("spurious handler (no code) : %s" % hex(header[1]))
236 debug("handler irq pri vec dpl")
278 for i, (handler, _, _) in enumerate(vectors):
279 if handler not in (spur_code, spur_nocode):