Lines Matching +full:point +full:- +full:to +full:- +full:point

1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <linux/entry-common.h>
18 * DECLARE_IDTENTRY - Declare functions for simple IDT entry points
21 * @func: Function name of the entry point
24 * - The ASM entry point: asm_##func
25 * - The XEN PV trap entry point: xen_##func (maybe unused)
26 * - The C handler called from the ASM entry point
30 * as well which is used to emit the entry stubs in entry_32/64.S.
38 * DEFINE_IDTENTRY - Emit code for simple IDT entry points
39 * @func: Function name of the entry point
46 * irqentry_enter() contains common code which has to be invoked before
48 * which has to run before returning to the low level assembly code.
70 * DECLARE_IDTENTRY_ERRORCODE - Declare functions for simple IDT entry points
73 * @func: Function name of the entry point
76 * - The ASM entry point: asm_##func
77 * - The XEN PV trap entry point: xen_##func (maybe unused)
78 * - The C handler called from the ASM entry point
81 * C-handler.
89 * DEFINE_IDTENTRY_ERRORCODE - Emit code for simple IDT entry points
91 * @func: Function name of the entry point
114 * DECLARE_IDTENTRY_RAW - Declare functions for raw IDT entry points
117 * @func: Function name of the entry point
119 * Maps to DECLARE_IDTENTRY().
125 * DEFINE_IDTENTRY_RAW - Emit code for raw IDT entry points
126 * @func: Function name of the entry point
133 * Contrary to DEFINE_IDTENTRY() this does not invoke the
135 * needs to be done in the body itself if applicable. Use if extra work
142 * DECLARE_IDTENTRY_RAW_ERRORCODE - Declare functions for raw IDT entry points
145 * @func: Function name of the entry point
147 * Maps to DECLARE_IDTENTRY_ERRORCODE()
153 * DEFINE_IDTENTRY_RAW_ERRORCODE - Emit code for raw IDT entry points
154 * @func: Function name of the entry point
161 * Contrary to DEFINE_IDTENTRY_ERRORCODE() this does not invoke the
163 * needs to be done in the body itself if applicable. Use if extra work
170 * DECLARE_IDTENTRY_IRQ - Declare functions for device interrupt IDT entry
173 * @func: Function name of the entry point
175 * Maps to DECLARE_IDTENTRY_ERRORCODE()
181 * DEFINE_IDTENTRY_IRQ - Emit code for device interrupt IDT entry points
182 * @func: Function name of the entry point
185 * to the function as error_code argument which needs to be truncated
186 * to an u8 because the push is sign extending.
189 * KVM L1D flush request is set. Stack switching to the interrupt stack
190 * has to be done in the function body if necessary.
212 * DECLARE_IDTENTRY_SYSVEC - Declare functions for system vector entry points
214 * @func: Function name of the entry point
217 * - The ASM entry point: asm_##func
218 * - The XEN PV trap entry point: xen_##func (maybe unused)
219 * - The C handler called from the ASM entry point
221 * Maps to DECLARE_IDTENTRY().
227 * DEFINE_IDTENTRY_SYSVEC - Emit code for system vector IDT entry points
228 * @func: Function name of the entry point
254 * DEFINE_IDTENTRY_SYSVEC_SIMPLE - Emit code for simple system vector IDT
256 * @func: Function name of the entry point
258 * Runs the function on the interrupted stack. No switch to IRQ stack and
283 * DECLARE_IDTENTRY_XENCB - Declare functions for XEN HV callback entry point
285 * @func: Function name of the entry point
288 * - The ASM entry point: asm_##func
289 * - The XEN PV trap entry point: xen_##func (maybe unused)
290 * - The C handler called from the ASM entry point
292 * Maps to DECLARE_IDTENTRY(). Distinct entry point to handle the 32/64-bit
300 * DECLARE_IDTENTRY_IST - Declare functions for IST handling IDT entry points
302 * @func: Function name of the entry point
304 * Maps to DECLARE_IDTENTRY_RAW, but declares also the NOIST C handler
305 * which is called from the ASM entry point on user mode entry
312 * DECLARE_IDTENTRY_VC - Declare functions for the VC entry point
314 * @func: Function name of the entry point
316 * Maps to DECLARE_IDTENTRY_RAW_ERRORCODE, but declares also the
325 * DEFINE_IDTENTRY_IST - Emit code for IST entry points
326 * @func: Function name of the entry point
328 * Maps to DEFINE_IDTENTRY_RAW
334 * DEFINE_IDTENTRY_NOIST - Emit code for NOIST entry points which
335 * belong to a IST entry point (MCE, DB)
336 * @func: Function name of the entry point. Must be the same as
339 * Maps to DEFINE_IDTENTRY_RAW().
345 * DECLARE_IDTENTRY_DF - Declare functions for double fault
347 * @func: Function name of the entry point
349 * Maps to DECLARE_IDTENTRY_RAW_ERRORCODE
355 * DEFINE_IDTENTRY_DF - Emit code for double fault
356 * @func: Function name of the entry point
358 * Maps to DEFINE_IDTENTRY_RAW_ERRORCODE
364 * DEFINE_IDTENTRY_VC_SAFE_STACK - Emit code for VMM communication handler
366 * @func: Function name of the entry point
368 * Maps to DEFINE_IDTENTRY_RAW_ERRORCODE
374 * DEFINE_IDTENTRY_VC_IST - Emit code for VMM communication handler
375 which runs on the VC fall-back stack
376 * @func: Function name of the entry point
378 * Maps to DEFINE_IDTENTRY_RAW_ERRORCODE
384 * DEFINE_IDTENTRY_VC - Emit code for VMM communication handler
385 * @func: Function name of the entry point
387 * Maps to DEFINE_IDTENTRY_RAW_ERRORCODE
395 * DECLARE_IDTENTRY_DF - Declare functions for double fault 32bit variant
397 * @func: Function name of the entry point
400 * - The ASM entry point: asm_##func
401 * - The C handler called from the C shim
410 * DEFINE_IDTENTRY_DF - Emit code for double fault on 32bit
411 * @func: Function name of the entry point
423 /* C-Code mapping */
497 * ASM code to emit the common vector entry stubs where each stub is
502 * all vectors above 0x7F to a 5 byte push. The original code did an
503 * adjustment of the vector number to be in the signed byte range to avoid
505 * odd conversion back to a real vector number in the C entry points. Using
507 * point is to mask off the bits above bit 7 because the push is sign
513 .rept (FIRST_SYSTEM_VECTOR - FIRST_EXTERNAL_VECTOR)
529 .rept (NR_VECTORS - FIRST_SYSTEM_VECTOR)
547 * - provide the function declarations when included from C-Code
548 * - emit the ASM stubs when included from entry_32/64.S