Date: Fri, 26 Jan 2007 12:32:08 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Cc: Perforce Change Reviews <perforce@FreeBSD.org> Subject: Re: PERFORCE change 113545 for review Message-ID: <200701261232.11317.jkim@FreeBSD.org> In-Reply-To: <20070126104347.GA71206@stud.fit.vutbr.cz> References: <200701260449.l0Q4nuPf034232@repoman.freebsd.org> <20070126104347.GA71206@stud.fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701261232.11317.jkim>