From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932422AbXJLFuo (ORCPT ); Fri, 12 Oct 2007 01:50:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758540AbXJLFub (ORCPT ); Fri, 12 Oct 2007 01:50:31 -0400 Received: from mga03.intel.com ([143.182.124.21]:64821 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758501AbXJLFua (ORCPT ); Fri, 12 Oct 2007 01:50:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.21,264,1188802800"; d="scan'208";a="297187867" Subject: [PATCH -mm -v5 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: Fri, 12 Oct 2007 13:52:28 +0800 Message-Id: <1192168348.17539.43.camel@caritas-dev.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-OriginalArrivalTime: 12 Oct 2007 05:50:14.0492 (UTC) FILETIME=[C29E01C0:01C80C93] 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/i386/Kconfig | 3 - arch/i386/boot/header.S | 8 +++ arch/i386/kernel/setup.c | 95 +++++++++++++++++++++++++++++++++++++++++++ arch/x86_64/kernel/setup.c | 37 ++++++++++++++++ include/asm-i386/bootparam.h | 15 ++++++ include/asm-i386/io.h | 7 +++ 6 files changed, 161 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-12 11:20:28.000000000 +0800 @@ -9,6 +9,17 @@ #include #include