public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: bios: Put AP boot up code to 0x1000
@ 2008-07-31  2:43 Yang, Sheng
  2008-07-31  6:00 ` Yang, Sheng
  2008-07-31 21:15 ` Sebastian Herbszt
  0 siblings, 2 replies; 20+ messages in thread
From: Yang, Sheng @ 2008-07-31  2:43 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

From ba05b3c821400127074f65ee4d172fabbe3524cd Mon Sep 17 00:00:00 2001
From: Sheng Yang <sheng.yang@intel.com>
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 <sheng.yang@intel.com>
---
 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
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -60,7 +60,7 @@ typedef unsigned long long uint64_t;

 #define APIC_ENABLED 0x0100

-#define AP_BOOT_ADDR 0x10000
+#define AP_BOOT_ADDR 0x1000

 #define MPTABLE_MAX_SIZE  0x00002000
 #define SMI_CMD_IO_ADDR   0xb2
--
1.5.6


[-- Attachment #2: 0001-kvm-bios-Put-AP-boot-up-code-to-0x1000.patch --]
[-- Type: text/x-diff, Size: 800 bytes --]

From ba05b3c821400127074f65ee4d172fabbe3524cd Mon Sep 17 00:00:00 2001
From: Sheng Yang <sheng.yang@intel.com>
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 <sheng.yang@intel.com>
---
 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
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -60,7 +60,7 @@ typedef unsigned long long uint64_t;
 
 #define APIC_ENABLED 0x0100
 
-#define AP_BOOT_ADDR 0x10000
+#define AP_BOOT_ADDR 0x1000
 
 #define MPTABLE_MAX_SIZE  0x00002000
 #define SMI_CMD_IO_ADDR   0xb2
-- 
1.5.6


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-08-19 23:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31  2:43 [PATCH] kvm: bios: Put AP boot up code to 0x1000 Yang, Sheng
2008-07-31  6:00 ` Yang, Sheng
2008-07-31  6:41   ` Avi Kivity
2008-07-31  9:09     ` Yang, Sheng
2008-07-31  9:46       ` Avi Kivity
2008-08-01 15:49         ` H. Peter Anvin
2008-07-31 21:15 ` Sebastian Herbszt
2008-08-01  1:19   ` Yang, Sheng
2008-08-02 19:30     ` Sebastian Herbszt
2008-08-05  8:14       ` Yang, Sheng
2008-08-06 21:56         ` Sebastian Herbszt
2008-08-10  7:50           ` Avi Kivity
2008-08-13 23:00             ` Sebastian Herbszt
2008-08-14  6:08               ` Avi Kivity
2008-08-17 22:35             ` [PATCH] kvm: bios: end AP boot code execution in rombios Sebastian Herbszt
2008-08-18  2:33               ` Anthony Liguori
2008-08-18  2:45                 ` Yang, Sheng
2008-08-18 10:21                   ` Avi Kivity
2008-08-18 10:22               ` Avi Kivity
2008-08-19 23:06                 ` Sebastian Herbszt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox