commit | 4d112819c3a415bca25d622e90bddc66b4598a9a | [log] [tgz] |
---|---|---|
author | Sarah Pham <smpham@google.com> | Tue Sep 07 16:05:37 2021 +1000 |
committer | Sarah Pham <smpham@google.com> | Tue Nov 23 00:21:53 2021 +0000 |
tree | 23625374ba61ed17d3a2fb65a97dc155f5bd3735 | |
parent | 1c3311c72c682269f3cad17cf18d29a8c8a8859b [diff] |
[acpica] Jump to the kernel from AcpiHwLegacySleep. AcpiHwLegacySleep is called from usermode however part of it must be executed with interrupts disabled. To handle this, when we are running on Fuchsia and we are not in the kernel, we call on the kernel to perform the reads and writes of registers that must be done with interrupts disabled by calling the zx_system_powerctl syscall. Bug: 76072 Change-Id: I7a5d26a7c11b188b1e133ab66273941ebd6b5cee