HomeFreeBSD

sys/intr.h: Make it safe to include from assembler

Description

sys/intr.h: Make it safe to include from assembler

Sometimes we need defines from this file in assembler code. Today we do
the heavyweight approach of using genassym for that. However, they are
just #defines, so in the future we want to include sys/intr.h to pick up
the needed constants in exception.S.

PR: 283041
Sponsored by: Netflix
Reviewed by: mmel, andrew
Differential Revision: https://reviews.freebsd.org/D47846

Details

Provenance
impAuthored on Fri, Dec 6, 5:30 PM
Reviewer
mmel
Differential Revision
D47846: sys/intr.h: Make it safe to include from assembler
Parents
rG71ac745d76c3: Merge llvm-project release/19.x llvmorg-19.1.5-0-gab4b5a2db582
Branches
Unknown
Tags
Unknown