diff options
author | Xin Li <[email protected]> | 2023-12-05 02:50:11 -0800 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-01-31 22:02:10 +0100 |
commit | 90f357208200a941e90e75757123326684d715d0 (patch) | |
tree | 0421c4a47086f68dc3e37fc2dc6d5f9a330d8a23 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 58c80cc55e079933205597ecf846583c5e6e4946 (diff) |
x86/idtentry: Incorporate definitions/declarations of the FRED entries
FRED and IDT can share most of the definitions and declarations so
that in the majority of cases the actual handler implementation is the
same.
The differences are the exceptions where FRED stores exception related
information on the stack and the sysvec implementations as FRED can
handle irqentry/exit() in the dispatcher instead of having it in each
handler.
Also add stub defines for vectors which are not used due to Kconfig
decisions to spare the ifdeffery in the actual FRED dispatch code.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Xin Li <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Tested-by: Shan Kang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions