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; Replace SleepTask::bootBehavior accesses with NVRAM Accesses #119

Open
ntlhui opened this issue Nov 8, 2024 · 1 comment
Open

fix; Replace SleepTask::bootBehavior accesses with NVRAM Accesses #119

ntlhui opened this issue Nov 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ntlhui
Copy link
Contributor

ntlhui commented Nov 8, 2024

SleepTask currently has a static variable SleepTask::bootBehavior that is used to cache the boot behavior value. This is backed by NVRAM accesses. However, these might not be always synchronized.

Please consolidate all accesses to the logical boot behavior value to NVRAM accesses.

@ntlhui ntlhui added the enhancement New feature or request label Nov 8, 2024
@ntlhui
Copy link
Contributor Author

ntlhui commented Nov 8, 2024

See

SleepTask::BOOT_BEHAVIOR_e SleepTask::bootBehavior;
,
static BOOT_BEHAVIOR_e bootBehavior;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant