Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754863Ab2EHSWx (ORCPT ); Tue, 8 May 2012 14:22:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:44454 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753699Ab2EHSWw (ORCPT ); Tue, 8 May 2012 14:22:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="150636878" From: Jarkko Sakkinen To: linux-kernel@vger.kernel.org Cc: linux-kbuild@vger.kernel.org, Michal Marek , Sam Ravnborg , Joseph Cihula , Shane Wang , hpa@linux.intel.com, Jarkko Sakkinen Subject: [PATCH 00/23] x86, realmode: new infrastructure for realmode code Date: Tue, 8 May 2012 21:22:23 +0300 Message-Id: <1336501366-28617-1-git-send-email-jarkko.sakkinen@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 19 I've been working together with H. Peter Anvin in order replace the ad-hoc real-mode code inside .x86_trampoline section with an encapsulated binary that is fully relocatable to any memory location under 1MB. Everything that is needs to be relocated is relocated during initialization. Benefits: - Simplifies things. Real-mode code does not have to find its own location any more. This makes maintaining and extending this code much nicer experience. - Cleans up code base a lot. Now real-mode code is encapsulated from kernel both in source tree and in vmlinux. - We can set proper permissions to pages of text, data/bss and rodata. Before, .x86_trampoline had just rwx permissions. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/