Files
haiku-beta6/headers/private/kernel
Augustin Cavalier 2082e1b86e kernel/debug: Introduce arch_debug_snooze() and make use of it.
The idea is to add a facility that will use less CPU than
the loops we currently use. The default implementation just
calls spin(), which is rdtsc+pause. This already may save
some power compared to what we previously did, which was to
re-check serial ports, PS/2, etc. every single loop in
the debugger, broken up only by "pause".

Change-Id: Ie421adae5c25ad6ae0c266d1d28c2ea7b81ae465
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9603
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-08-25 20:16:16 +00:00
..
2023-10-06 20:38:24 +00:00
2022-02-18 21:27:06 +00:00
2022-08-17 19:23:51 +00:00
2024-09-02 14:16:40 -04:00
2024-12-17 09:45:13 +00:00
2025-07-07 15:20:18 +00:00