Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hal.cpu to not call set_affinity in single threaded env #2059

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

npmitche
Copy link
Member

@npmitche npmitche commented Feb 6, 2024

In the UEFI Shell environment, the environment is single threaded. The helper.set_affinity function is not implemented because there's no need. So, if there is a single thread, skip the set_affinity call.

(Affects the new common.cet module)

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
@npmitche npmitche merged commit ae0bd2a into chipsec:main Feb 13, 2024
43 checks passed
@npmitche npmitche deleted the fixcpuhalinshell branch February 13, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants