Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755749AbXJIGid (ORCPT ); Tue, 9 Oct 2007 02:38:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753481AbXJIGiP (ORCPT ); Tue, 9 Oct 2007 02:38:15 -0400 Received: from mga03.intel.com ([143.182.124.21]:13115 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753141AbXJIGiN (ORCPT ); Tue, 9 Oct 2007 02:38:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,246,1188802800"; d="scan'208";a="295108793" Subject: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data From: "Huang, Ying" To: "H. Peter Anvin" , Andi Kleen , "Eric W. Biederman" , akpm@linux-foundation.org, Yinghai Lu , Chandramouli Narayanan Cc: linux-kernel@vger.kernel.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 09 Oct 2007 14:40:10 +0800 Message-Id: <1191912010.9719.18.camel@caritas-dev.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-OriginalArrivalTime: 09 Oct 2007 06:38:03.0532 (UTC) FILETIME=[F17584C0:01C80A3E] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10282 Lines: 348 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/i386/Kconfig | 3 - arch/i386/boot/header.S | 8 +++ arch/i386/kernel/setup.c | 92 +++++++++++++++++++++++++++++++++++++++++++ arch/x86_64/kernel/setup.c | 37 +++++++++++++++++ include/asm-i386/bootparam.h | 15 +++++++ include/asm-i386/io.h | 7 +++ include/linux/mm.h | 2 mm/memory.c | 24 +++++++++++ 8 files changed, 184 insertions(+), 4 deletions(-) Index: linux-2.6.23-rc8/include/asm-i386/bootparam.h =================================================================== --- linux-2.6.23-rc8.orig/include/asm-i386/bootparam.h 2007-10-09 11:26:06.000000000 +0800 +++ linux-2.6.23-rc8/include/asm-i386/bootparam.h 2007-10-09 14:15:14.000000000 +0800 @@ -9,6 +9,17 @@ #include #include