From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Sheng" Subject: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Date: Thu, 31 Jul 2008 10:43:20 +0800 Message-ID: <200807311043.20880.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_IbSkIT3aGiArclx" Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mga11.intel.com ([192.55.52.93]:14942 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754044AbYGaClL (ORCPT ); Wed, 30 Jul 2008 22:41:11 -0400 Sender: kvm-owner@vger.kernel.org List-ID: --Boundary-00=_IbSkIT3aGiArclx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46rom ba05b3c821400127074f65ee4d172fabbe3524cd Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Thu, 31 Jul 2008 10:39:24 +0800 Subject: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Rather than 0x10000, which can be overrided by userspace program like=20 grub. Signed-off-by: Sheng Yang =2D-- bios/rombios32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bios/rombios32.c b/bios/rombios32.c index 2dc1d25..f7a4234 100755 =2D-- a/bios/rombios32.c +++ b/bios/rombios32.c @@ -60,7 +60,7 @@ typedef unsigned long long uint64_t; #define APIC_ENABLED 0x0100 =2D#define AP_BOOT_ADDR 0x10000 +#define AP_BOOT_ADDR 0x1000 #define MPTABLE_MAX_SIZE 0x00002000 #define SMI_CMD_IO_ADDR 0xb2 =2D- 1.5.6 --Boundary-00=_IbSkIT3aGiArclx Content-Type: text/x-diff; charset="utf-8"; name="0001-kvm-bios-Put-AP-boot-up-code-to-0x1000.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-kvm-bios-Put-AP-boot-up-code-to-0x1000.patch" =46rom ba05b3c821400127074f65ee4d172fabbe3524cd Mon Sep 17 00:00:00 2001 =46rom: Sheng Yang Date: Thu, 31 Jul 2008 10:39:24 +0800 Subject: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Rather than 0x10000, which can be overrided by userspace program like grub. Signed-off-by: Sheng Yang =2D-- bios/rombios32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bios/rombios32.c b/bios/rombios32.c index 2dc1d25..f7a4234 100755 =2D-- a/bios/rombios32.c +++ b/bios/rombios32.c @@ -60,7 +60,7 @@ typedef unsigned long long uint64_t; =20 #define APIC_ENABLED 0x0100 =20 =2D#define AP_BOOT_ADDR 0x10000 +#define AP_BOOT_ADDR 0x1000 =20 #define MPTABLE_MAX_SIZE 0x00002000 #define SMI_CMD_IO_ADDR 0xb2 =2D-=20 1.5.6 --Boundary-00=_IbSkIT3aGiArclx--