view stubdom/caml/hello.ml @ 18521:e61c7833dc9d

CPUIDLE: Handle C2 LAPIC timer & TSC stop

ACPI C2 is quite possible mapped to CPU C3 or deeper state, so
thinking from worst cases, enable C3 like entry/exit handling for C2
by default. Option 'lapic_timer_c2_ok' can be used to select simple C2
entry/exit only if the user make sure that LAPIC tmr & TSC will not be
stop during C2.

Signed-off-by: Wei Gang <gang.wei@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Sep 22 11:24:02 2008 +0100 (2008-09-22)
parents a905c582a406
line source
1 let main arg =
2 Printf.printf "Hello, world!\n%!."
4 let _ = Callback.register "main" main