From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JU63M-0006Cb-55 for qemu-devel@nongnu.org; Tue, 26 Feb 2008 15:05:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JU63H-0006AU-BK for qemu-devel@nongnu.org; Tue, 26 Feb 2008 15:05:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU63H-0006AL-5t for qemu-devel@nongnu.org; Tue, 26 Feb 2008 15:05:23 -0500 Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JU63G-0001Dy-W7 for qemu-devel@nongnu.org; Tue, 26 Feb 2008 15:05:23 -0500 From: Glauber Costa Date: Tue, 26 Feb 2008 16:56:34 -0300 Message-Id: <1204055805-32349-5-git-send-email-gcosta@redhat.com> In-Reply-To: <1204055805-32349-4-git-send-email-gcosta@redhat.com> References: <1204055805-32349-1-git-send-email-gcosta@redhat.com> <1204055805-32349-2-git-send-email-gcosta@redhat.com> <1204055805-32349-3-git-send-email-gcosta@redhat.com> <1204055805-32349-4-git-send-email-gcosta@redhat.com> Subject: [Qemu-devel] [PATCH 4/15] mark processors as presents Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm-devel@lists.sourceforge.net Cc: marcelo@kvack.org, glommer@gmail.com, qemu-devel@nongnu.org, Glauber Costa , chrisw@sous-sol.org mark processors as present through the _STA method Signed-off-by: Glauber Costa --- bios/acpi-dsdt.dsl | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index e900795..244e906 100755 --- a/bios/acpi-dsdt.dsl +++ b/bios/acpi-dsdt.dsl @@ -25,6 +25,24 @@ DefinitionBlock ( 0x1 // OEM Revision ) { + Scope (\_PR) + { + Processor (CPU0, 0x00, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU1, 0x01, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU2, 0x02, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU3, 0x03, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU4, 0x04, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU5, 0x05, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU6, 0x06, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU7, 0x07, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU8, 0x08, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPU9, 0x09, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPUA, 0x0a, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPUB, 0x0b, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPUC, 0x0c, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPUD, 0x0d, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + Processor (CPUE, 0x0e, 0x0000b010, 0x06) {Method (_STA) { Return(0xF)}} + } Scope (\) { -- 1.4.2