From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 30 01:02:54 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4082D106564A for ; Fri, 30 Apr 2010 01:02:54 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [64.46.156.146]) by mx1.freebsd.org (Postfix) with ESMTP id F0BED8FC08 for ; Fri, 30 Apr 2010 01:02:53 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id D93B460E4; Thu, 29 Apr 2010 21:02:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1272589372; bh=Kbvq6F0kWLR6PEzR2NRR+wMJCvmWQlx/OIodywIv8E4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RB/vpjqWYJteNcTUZ0sT6YyzZOSZ6Wbb5weetdNcyDhcx4s/N9U/RduXqsq3aWohF cblf1JwnH8eKpwk+g5ek9npE6ESdBLCMzvVvzNDL/E3RClyGQ/ZuR9vN36zdkO6 DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=FgFJ4U+kDni+ql8Jmp4n/Zr56Mg4mf2GJnhYUHW301LI/ufsjjl4ZLO3wdcRGezfR FjbndCsFDUByTpGxOcikpuz9PmikRiUBUn0JXNsATRtKvXUg60aqVG8THkws1Gx Message-ID: <4BDA2C3A.80506@protected-networks.net> Date: Thu, 29 Apr 2010 21:02:50 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100422 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jung-uk Kim References: <4BD9FBA3.1050707@protected-networks.net> <201004291837.29355.jkim@FreeBSD.org> <201004291923.19471.jkim@FreeBSD.org> In-Reply-To: <201004291923.19471.jkim@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 3.2.0-beta-1 fails to compile on -current X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 01:02:54 -0000 On 04/29/10 19:23, Jung-uk Kim wrote: > > I read the source again and I found it is not "patched" by the > emulator itself. It's done from usual _CRS method. Please try the > attached patch instead. Now I get .. kBuild: iasl DevicesR3 - /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox/Devices/PC/vbox-cpuhotplug.dsl /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/out/freebsd.x86/release/obj/DevicesR3/vboxssdt-cpuhotplug.hex.pre 14: Device (SCK0) { Name (_HID, "ACPI0004") Name (_UID, "SCKCPU0") Processor (CPU0, 0x00, 0x0, 0x0 ) { Name (_HID, "ACPI0007") Name (_UID, "SCK0-CPU0") Name (_PXM, 0x00) Method(_MAT, 0) { IF (CPCK(0x00)) { Name (APIC, Buffer (8) {0x00, 0x08, 0x00, 0x00, 0x01}) Return(APIC) } Else { Return (0x00) } } Method(_STA) { IF (CPCK(0x00)) { Return (0xF) } Else { Return (0x0) } } Method(_EJ0, 1) { Store(0x00, \_SB.CPUL) Return } } } Error 4080 - Invalid object type for reserved name ^ (found INTEGER, requires Buffer) .. where the "Return(0x00)" as the alternate result to "Result(APIC)" is causing an issue, imb