PERFORCE change 113545 for review

Jung-uk Kim jkim at FreeBSD.org
Fri Jan 26 17:32:16 UTC 2007


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


More information about the p4-projects mailing list