HomeFreeBSD

x86: x86_msr_op(): Simplify assertions

Description

x86: x86_msr_op(): Simplify assertions

Simplify them by moving them into more natural places, i.e., default
cases of 'switch' statements.

No functional change (intended).

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54996

Details

Provenance
olceAuthored on Jan 22 2026, 2:37 PM
Reviewer
kib
Differential Revision
D54996: x86: x86_msr_op(): Add comments, guarantee atomicity
Parents
rG7acd7ac6385c: x86: x86_msr_op(): Move setting mode up, delineate logical blocks
Branches
Unknown
Tags
Unknown