Commit Graph
2 Commits
Author SHA1 Message Date
Adam Słaboń 44cdc0420b efi: Skip devices with block size of 0
Fixes a Haiku loader crash (division by zero) on HP Chromebook YAVIKS

Change-Id: I88bef370ca4848862003b6f54ddae6d2f9b0a854
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10268
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-01-26 16:55:27 +00:00
Adam Słaboń d0309c67cb arm: Use WFI instruction for arch_cpu_idle function
According to the ​ARMv7 Reference Manual, "Wait for Interrupt" is supported only through the WFI instruction on ARMv7.
The currently used ARMv6 equivalent may not work on ARMv7 and newer CPUs.

Fixes #18520

Change-Id: I69a136870654be33c0c789004e08bf610db3dd97
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8044
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2024-08-17 19:58:48 +00:00