From patchwork Thu Feb 3 23:24:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduard - Gabriel Munteanu X-Patchwork-Id: 530801 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p13NOhpJ004558 for ; Thu, 3 Feb 2011 23:24:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751916Ab1BCXYn (ORCPT ); Thu, 3 Feb 2011 18:24:43 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:43469 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754383Ab1BCXYm (ORCPT ); Thu, 3 Feb 2011 18:24:42 -0500 Received: by mail-fx0-f46.google.com with SMTP id 20so1796535fxm.19 for ; Thu, 03 Feb 2011 15:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references:in-reply-to:references; bh=7I/juH2SoJvce/1H8mSPI5Qc2E2GhE04seYlwYKMets=; b=sS5NJtu7+XMmzBZSfsPs/xudTOQQqI8Ym5dP+aKlpIi/24j7MAEn6ysPwQXHxXXQFz t3kXk19QDssre/uWIzG/bsr5npl/i76pt7GYV6zxHNvUXtAdWhOnpij3Td4TfLp0R4Ng uW/BjNuiWdZ+vIo03LR/GtzBdtrOJiIa/du58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=KmLXcbK1/N5rWkn0R7WsyBccuHeVTpGBGTa3bczfvUfD+k1xJ30j8ClQrUv5515luH sxApssdJbIkjgjytRRBGDyMPk8wecPJLxuLnbm0Aw7JDu8hxCYCIFlR6X+DNmDXUCO6m Af4Db54VhWw0w08gXyMLY55Wk06TFtvZShiIM= Received: by 10.223.86.140 with SMTP id s12mr10634751fal.145.1296775480617; Thu, 03 Feb 2011 15:24:40 -0800 (PST) Received: from localhost.localdomain ([188.25.245.29]) by mx.google.com with ESMTPS id b7sm15819faa.42.2011.02.03.15.24.38 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 15:24:39 -0800 (PST) From: Eduard - Gabriel Munteanu To: seabios@seabios.org Cc: kevin@koconnor.net, mst@redhat.com, joro@8bytes.org, blauwirbel@gmail.com, paul@codesourcery.com, avi@redhat.com, anthony@codemonkey.ws, av1474@comtv.ru, yamahata@valinux.co.jp, kvm@vger.kernel.org, qemu-devel@nongnu.org, Eduard - Gabriel Munteanu Subject: [PATCH 3/3] Clarify address space layout. Date: Fri, 4 Feb 2011 01:24:15 +0200 Message-Id: X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: In-Reply-To: References: Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Feb 2011 23:24:44 +0000 (UTC) diff --git a/src/config.h b/src/config.h index 0ba5723..6ab2071 100644 --- a/src/config.h +++ b/src/config.h @@ -169,11 +169,12 @@ #define BUILD_PCIPREFMEM_END 0xfec00000 /* IOAPIC is mapped at */ #endif -#define BUILD_APIC_ADDR 0xfee00000 -#define BUILD_IOAPIC_ADDR 0xfec00000 +#define BUILD_IOAPIC_ADDR 0xfec00000 /* Ends at +0x100000. */ -#define BUILD_AMD_IOMMU_START 0xfed00000 -#define BUILD_AMD_IOMMU_END 0xfee00000 /* BUILD_APIC_ADDR */ +#define BUILD_AMD_IOMMU_START 0xfed00000 /* Can be safely relocated. */ +#define BUILD_AMD_IOMMU_END 0xfee00000 + +#define BUILD_APIC_ADDR 0xfee00000 /* Ends at +0x100000. */ #define BUILD_SMM_INIT_ADDR 0x38000 #define BUILD_SMM_ADDR 0xa8000