From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbXIQIYl (ORCPT ); Mon, 17 Sep 2007 04:24:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752620AbXIQIYb (ORCPT ); Mon, 17 Sep 2007 04:24:31 -0400 Received: from mga03.intel.com ([143.182.124.21]:58768 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752616AbXIQIYa (ORCPT ); Mon, 17 Sep 2007 04:24:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.20,263,1186383600"; d="scan'208";a="280593371" Subject: [RFC -mm 1/2] 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: Mon, 17 Sep 2007 16:26:18 +0800 Message-Id: <1190017578.5866.21.camel@caritas-dev.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 X-OriginalArrivalTime: 17 Sep 2007 08:24:24.0837 (UTC) FILETIME=[27ECE350:01C7F904] 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 to define a more extensible boot parameters passing mechanism. Signed-off-by: Huang Ying --- arch/i386/Kconfig | 3 --- arch/i386/boot/header.S | 6 ++++++ arch/i386/kernel/setup.c | 20 ++++++++++++++++++++ arch/x86_64/kernel/setup.c | 19 +++++++++++++++++++ include/asm-i386/bootparam.h | 15 +++++++++++++++ include/asm-i386/io.h | 7 +++++++ 6 files changed, 67 insertions(+), 3 deletions(-) Index: linux-2.6.23-rc4/include/asm-i386/bootparam.h =================================================================== --- linux-2.6.23-rc4.orig/include/asm-i386/bootparam.h 2007-09-17 14:18:24.000000000 +0800 +++ linux-2.6.23-rc4/include/asm-i386/bootparam.h 2007-09-17 15:02:33.000000000 +0800 @@ -9,6 +9,17 @@ #include #include