From owner-freebsd-emulation@FreeBSD.ORG Wed May 26 06:27:24 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3597F106564A; Wed, 26 May 2010 06:27:24 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id CCEB98FC0A; Wed, 26 May 2010 06:27:23 +0000 (UTC) Received: by gwj18 with SMTP id 18so2308875gwj.13 for ; Tue, 25 May 2010 23:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uDKR8LhrRx9FML/S/Wk5/M5QiBaNp8NTI7oqbdgsHYw=; b=QryyhfZ9v/ziGJxs1UmbTe/Z252K++jyQt8N+4Zc4rTeOlweWk3if4K2NqVEtrguEz Cr5scDVJ3YW0/feOutyAmOhaOhrNpr3AV8TCaGGOLiHeroAmrZKlhVFjm4G+eFLma2AS fZYRbWo94gWuzYG/n+EAl+MmJVxOMWYkZW6L8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tipD23ilb9CMwO9hne8IkisKaywy42Teq47x69xJCL7MdRXJo0T6uHEf/PXGfzzJtv VOr9mZU/4ll/FuCcZrdyPOR0BGqRkIUBaDAxcVHl/d55DStZl3u81KJOuJnxME5mg7SM iEtxvN7Ya57q/eT29HsX60Cw+9NuH3C8iaYxg= MIME-Version: 1.0 Received: by 10.231.176.75 with SMTP id bd11mr7139757ibb.22.1274855242902; Tue, 25 May 2010 23:27:22 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Tue, 25 May 2010 23:27:22 -0700 (PDT) In-Reply-To: <201004301405.24206.jkim@FreeBSD.org> References: <4BD9FBA3.1050707@protected-networks.net> <201004291923.19471.jkim@FreeBSD.org> <4BDA2C3A.80506@protected-networks.net> <201004301405.24206.jkim@FreeBSD.org> Date: Wed, 26 May 2010 01:27:22 -0500 Message-ID: From: Brandon Gooch To: Jung-uk Kim Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 26 May 2010 06:27:24 -0000 On Fri, Apr 30, 2010 at 1:05 PM, Jung-uk Kim wrote: > On Thursday 29 April 2010 09:02 pm, Michael Butler wrote: >> 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. =A0It's done from usual _CRS method. =A0Please 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/free >>bsd.x86/release/obj/DevicesR3/vboxssdt-cpuhotplug.hex.pre 14: >> =A0Device (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 =A0 =A04080 - >> >> >> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Invalid = object type for reserved >> name ^ (found INTEGER, requires Buffer) >> >> =A0.. where the "Return(0x00)" as the alternate result to >> "Result(APIC)" is causing an issue, > > Sigh... =A0A new file, a new bug. :-( > > Try the attached patch. It seems this patch has been committed to the 'virtualbox-ose-devel' port, but your previous patch (attached to an earlier message in this thread) did not. Will you submit the original patch to the freebsd-vbox crew as well? Thanks for the patches, BTW :) -Brandon