From owner-p4-projects@FreeBSD.ORG Fri Jan 26 17:32:16 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 837BB16A404; Fri, 26 Jan 2007 17:32:16 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4389616A401 for ; Fri, 26 Jan 2007 17:32:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id B9A6D13C48A for ; Fri, 26 Jan 2007 17:32:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l0QHWE5J091487; Fri, 26 Jan 2007 12:32:14 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Divacky Roman Date: Fri, 26 Jan 2007 12:32:08 -0500 User-Agent: KMail/1.6.2 References: <200701260449.l0Q4nuPf034232@repoman.freebsd.org> <20070126104347.GA71206@stud.fit.vutbr.cz> In-Reply-To: <20070126104347.GA71206@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200701261232.11317.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2493/Fri Jan 26 07:00:46 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Perforce Change Reviews Subject: Re: PERFORCE change 113545 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 17:32:16 -0000 On Friday 26 January 2007 05:43 am, Divacky Roman wrote: > > ==== > > //depot/projects/linuxolator/src/sys/amd64/linux32/linux.h#16 > > (text+ko) ==== > > > > @@ -774,7 +774,6 @@ > > l_uint limit_in_pages:1; > > l_uint seg_not_present:1; > > l_uint useable:1; > > - l_uint lm:1; > > }; > > > > struct l_desc_struct { > > @@ -798,7 +797,6 @@ > > #define ENTRY_B_USEABLE 20 > > #define ENTRY_B_SEG32BIT 22 > > #define ENTRY_B_LIMIT 23 > > -#define ENTRY_B_LONGMODE 21 > > > > #define LDT_entry_b(info) \ > > (((info)->base_addr & 0xff000000) | \ > > @@ -819,8 +817,7 @@ > > (info)->read_exec_only == 1 && \ > > (info)->seg_32bit == 0 && \ > > (info)->limit_in_pages == 0 && \ > > - (info)->useable == 0 && \ > > - (info)->lm == 0) > > + (info)->useable == 0 ) > > > > /* macros for converting segments, they do the same as those in > > arch/i386/kernel/process.c */ #define GET_BASE(desc) ( \ > > @@ -838,7 +835,6 @@ > > #define GET_LIMIT_PAGES(desc) (((desc)->b >> ENTRY_B_LIMIT) & > > 1) #define GET_PRESENT(desc) (((desc)->b >> > > ENTRY_B_SEG_NOT_PRESENT) & 1) #define GET_USEABLE(desc) > > (((desc)->b >> ENTRY_B_USEABLE) & 1) -#define GET_LONGMODE(desc) > > (((desc)->b >> ENTRY_B_LONGMODE) & 1) > > > > #define LINUX_CLOCK_REALTIME 0 > > #define LINUX_CLOCK_MONOTONIC 1 > > any particular reason why you deleted this? Sorry, I forgot to explain. This bit is not used and it has no meaning in Compatibility Mode. Actually you have to ignore the bit, e.g., you cannot test the bit for LDT_empty() macro. JK