From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755439AbXJVHSX (ORCPT ); Mon, 22 Oct 2007 03:18:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751955AbXJVHRx (ORCPT ); Mon, 22 Oct 2007 03:17:53 -0400 Received: from mga03.intel.com ([143.182.124.21]:3675 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbXJVHRw (ORCPT ); Mon, 22 Oct 2007 03:17:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,309,1188802800"; d="scan'208";a="303143728" Subject: [PATCH -v6 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: Mon, 22 Oct 2007 15:16:53 +0800 Message-Id: <1193037413.23935.22.camel@caritas-dev.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-OriginalArrivalTime: 22 Oct 2007 07:14:13.0324 (UTC) FILETIME=[262040C0:01C8147B] 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 | 8 +++++++- 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 | 15 +++++++++++++++ include/asm-x86/e820_64.h | 1 + include/asm-x86/setup_32.h | 7 +++++++ include/asm-x86/setup_64.h | 2 ++ 11 files changed, 142 insertions(+), 10 deletions(-) Index: linux-2.6/include/asm-x86/bootparam.h =================================================================== --- linux-2.6.orig/include/asm-x86/bootparam.h 2007-10-18 17:11:13.000000000 +0800 +++ linux-2.6/include/asm-x86/bootparam.h 2007-10-22 14:09:25.000000000 +0800 @@ -9,6 +9,17 @@ #include #include