haiku/headers/private
Yongcong Du cc586f1655 x86: AMD C1E with no ARAT(Always Running APIC Timer) idle support
AMD C1E is a BIOS controlled C3 state. Certain processors families
may cut off TSC and the lapic timer when it is in a deep C state,
including C1E state, thus the cpu can't be waken up and system will hang.

This patch firstly adds the support of idle selection during boot. Then
it implements amdc1e_noarat_idle() routine which checks the MSR which
contains the C1eOnCmpHalt (bit 28) and SmiOnCmpHalt (bit 27)  before
executing the halt instruction, then clear them once set.

However intel C1E doesn't has such problem. AMD C1E is a BIOS controlled
C3 state. The difference between C1E and C3 is that transition into C1E
is not initiated by the operating system. System will enter C1E state
automatically when both cores enters C1 state. As for intel C1E, it
means "reduce CPU voltage before entering corresponding Cx-state".

This patch may fix #8111, #3999, #7562, #7940 and #8060

Copied from the description of #3999:
>but for some reason I hit the power button instead of the reset one. And
>the boot continued!!
The reason is CPUs are waken up once power button is hit.

Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2012-04-14 18:18:29 +02:00
..
app Add AS_RECONNECT_BITMAP to the server protocol. 2012-01-22 15:30:17 +13:00
audio Move this to media/, seems audio/ is only for old stuff. 2007-08-29 12:31:55 +00:00
binary_compatibility Add macro B_IF_GCC_2 2012-02-19 15:11:57 +01:00
bluetooth Fix #6373, second try 2010-08-19 15:29:02 +00:00
debug Revert r39846 and r39847. 2010-12-14 17:55:38 +00:00
device Tiny comment cleanup. 2011-06-21 12:35:50 +00:00
drivers * add missed header file that goes along with r42725 2011-09-08 18:30:28 +00:00
file_systems Move B_MIME_STRING_TYPE to <TypeConstants.h> 2011-11-25 06:19:24 +01:00
firewire Fixes some occurrences of 'variable set but not used', disables Werror for problematic items. 2012-02-23 20:32:11 +01:00
fs_shell Added recursive_lock_transfer_lock() to the fs_shell. 2012-03-31 00:09:47 +02:00
graphics radeon_hd: Move out some DisplayPort common code 2012-04-06 13:43:09 -05:00
index_server Add a CLucene full-text add-on. 2010-10-28 15:22:52 +00:00
input Implemented the patch on #7963 in a different way. 2011-10-31 18:09:24 +00:00
interface Forgot this file. 2012-01-22 15:30:18 +13:00
kernel x86: AMD C1E with no ARAT(Always Running APIC Timer) idle support 2012-04-14 18:18:29 +02:00
libroot Allow switching of timezone string to messages locale, too. 2012-02-23 23:15:36 +01:00
locale Fix #8452 (app's crashing for non-existent system catalog) 2012-04-14 17:58:58 +02:00
mail * Put ServerConnection into the BPrivate namespace as it should have been. 2011-11-02 22:56:50 +00:00
media Set of patches by Pete Goodeve to imrpove the handling of audio latency. 2011-11-03 14:26:03 +00:00
midi Made all server version and signatures consistent, and thus closing bug #909. 2006-10-22 17:56:02 +00:00
mount * Removed now obsolete notification (this was not even used in Tracker 2009-10-07 19:31:57 +00:00
net * Remove the BNetworkDevice::AddPersistentNetwork() again and instead introduce 2011-10-09 19:56:19 +00:00
notification * revert '43157 as the files are actually needed. I still don't understand how I managed to build everything without them ... 2011-11-03 12:49:18 +00:00
package Add a package info "install-path" attribute 2011-11-25 06:19:35 +01:00
print * Renamed files, classes and constants from 2010-11-08 18:43:55 +00:00
runtime_loader Fix dladdr behaviour 2012-04-05 12:32:31 +02:00
screen_saver Fixed various errors/warnings reported by cppcheck: 2010-02-08 22:50:38 +00:00
shared listusb: display USB vendor and devices names based on usb.ids 2012-02-18 14:25:10 +01:00
storage added exFAT partition type 2011-02-09 20:30:00 +00:00
support BString::Private class to access BString internals 2011-11-25 06:19:45 +01:00
syslog_daemon Implemented syslog support for the kernel debug output. Not fancy at all yet, but 2006-01-24 20:28:52 +00:00
system arm: added some missing arch bits and changed asm section for arm compat. 2012-04-01 14:03:36 +02:00
textencoding missing comment tokens 2007-06-20 21:20:11 +00:00
tracker Overlooked this with my previous Trash-related changes: updated NavMenu to be 2010-01-17 17:35:06 +00:00
usb_vision some copyright headers clean up 2010-04-12 21:02:09 +00:00
userlandfs Should have been part of r37678. io_request_is_vip() support. 2010-07-22 11:09:32 +00:00
vmdk Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to 2009-10-01 03:08:46 +00:00