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]>