From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752238AbXJWIEE (ORCPT ); Tue, 23 Oct 2007 04:04:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752463AbXJWIDh (ORCPT ); Tue, 23 Oct 2007 04:03:37 -0400 Received: from mga01.intel.com ([192.55.52.88]:6453 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752121AbXJWIDc (ORCPT ); Tue, 23 Oct 2007 04:03:32 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,316,1188802800"; d="scan'208";a="355636214" Subject: [PATCH -v7 1/3] x86 boot: setup data From: "Huang, Ying" To: "H. Peter Anvin" , Andi Kleen , "Eric W. Biederman" , akpm@linux-foundation.org, Linus Torvalds Cc: linux-kernel@vger.kernel.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 23 Oct 2007 16:06:11 +0800 Message-Id: <1193126771.23935.79.camel@caritas-dev.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-OriginalArrivalTime: 23 Oct 2007 08:03:29.0065 (UTC) FILETIME=[324C4990:01C8154B] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch add a field of 64-bit physical pointer to NULL terminated single linked list of struct setup_data to real-mode kernel header. This is used as a more extensible boot parameters passing mechanism. Signed-off-by: Huang Ying --- arch/x86/boot/header.S | 6 +++++- arch/x86/kernel/e820_64.c | 6 +++--- arch/x86/kernel/head64.c | 26 ++++++++++++++++++++++++++ arch/x86/kernel/head_32.S | 37 ++++++++++++++++++++++++++++++++++++- arch/x86/kernel/setup_32.c | 25 +++++++++++++++++++++++-- arch/x86/kernel/setup_64.c | 22 ++++++++++++++++++++-- arch/x86/mm/discontig_32.c | 3 ++- include/asm-x86/bootparam.h | 12 ++++++++++++ include/asm-x86/e820_64.h | 1 + include/asm-x86/setup_32.h | 7 +++++++ include/asm-x86/setup_64.h | 2 ++ 11 files changed, 137 insertions(+), 10 deletions(-) Index: linux-2.6/include/asm-x86/bootparam.h =================================================================== --- linux-2.6.orig/include/asm-x86/bootparam.h 2007-10-23 10:01:35.000000000 +0800 +++ linux-2.6/include/asm-x86/bootparam.h 2007-10-23 10:48:48.000000000 +0800 @@ -9,6 +9,17 @@ #include #include