aboutsummaryrefslogtreecommitdiff
path: root/source/Target/ThreadPlanCallOnFunctionExit.cpp
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-08-27 12:48:30 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-03 04:02:41 +0000
commitf613a43c366600e8c388c3200f74c6dd27f8a7a2 (patch)
treeff8a686624d897c40c5a4e01841e015199b14a7b /source/Target/ThreadPlanCallOnFunctionExit.cpp
parent2fe8510b0a06ad577789ece7be8c9319c8ce3d06 (diff)
tpm20: Correct 32-bit register helpers
OR4() reads only the low byte before writing the complete 32-bit register. Preserve all register bits by using a matching 32-bit read. Make BIT() produce an unsigned value so masks containing bit 31 do not rely on a signed left shift into the sign bit. OpenBSD carries the same change. Reviewed by: kevans MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59244
Diffstat (limited to 'source/Target/ThreadPlanCallOnFunctionExit.cpp')
0 files changed, 0 insertions, 0 deletions