Module Name: src Committed By: riastradh Date: Sat Sep 24 11:06:03 UTC 2022
Modified Files: src/sys/dev: efi.c Log Message: efi(4): Fix access to efi_isopen. - Qualify efi_isopen with volatile. - Ensure open has acquire ordering and close has release ordering. - Use atomic_swap, not atomic_cas -- simpler and may be cheaper. - Use atomic_store, not atomic_swap -- simpler and usually cheaper. (Could maybe just use __cpu_simple_lock to avoid having to write out these details.) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/efi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.