search for: _get_base

Displaying 10 results from an estimated 10 matches for "_get_base".

Did you mean: get_base
2007 Apr 18
0
[PATCH 9/21] i386 Deprecate obsolete ldt accessors
...sm-i386/system.h 2005-11-05 00:28:08.000000000 -0800 @@ -56,22 +56,6 @@ __asm__ __volatile__ ("movw %%dx,%1\n\t" #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit) ) -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 9/21] i386 Deprecate obsolete ldt accessors
...sm-i386/system.h 2005-11-05 00:28:08.000000000 -0800 @@ -56,22 +56,6 @@ __asm__ __volatile__ ("movw %%dx,%1\n\t" #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit) ) -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 8/12] base-limit-cleanup
...\ + "m" (*((char *)(desc)+6)), \ + "1" (limit)); \ +} while(0) -#define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) - -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 8/12] base-limit-cleanup
...\ + "m" (*((char *)(desc)+6)), \ + "1" (limit)); \ +} while(0) -#define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) - -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 9/14] i386 / Typecheck and optimize base and limit accessors
...\ + "m" (*((char *)(desc)+6)), \ + "1" (limit)); \ +} while(0) -#define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) - -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 9/14] i386 / Typecheck and optimize base and limit accessors
...\ + "m" (*((char *)(desc)+6)), \ + "1" (limit)); \ +} while(0) -#define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) - -static inline unsigned long _get_base(char * addr) -{ - unsigned long __base; - __asm__("movb %3,%%dh\n\t" - "movb %2,%%dl\n\t" - "shll $16,%%edx\n\t" - "movw %1,%%dx" - :"=&d" (__base) - :"m" (*((addr)+2)), - "m" (*((addr)+4)), - "m" (*((addr)...
2007 Apr 18
0
[PATCH 5/21] i386 Pnp byte granularity
...uot; ); } while(0) #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) +#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1) ) static inline unsigned long _get_base(char * addr) {
2007 Apr 18
0
[PATCH 8/21] i386 Segment protect properly
...%%dx,%1\n\t" ); } while(0) #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1) ) +#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit) ) static inline unsigned long _get_base(char * addr) { Index: linux-2.6.14-zach-work/drivers/pnp/pnpbios/bioscalls.c =================================================================== --- linux-2.6.14-zach-work.orig/drivers/pnp/pnpbios/bioscalls.c 2005-11-04 17:45:02.000000000 -0800 +++ linux-2.6.14-zach-work/drivers/pnp/pnpbios/biosca...
2007 Apr 18
0
[PATCH 5/21] i386 Pnp byte granularity
...uot; ); } while(0) #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1)>>12 ) +#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1) ) static inline unsigned long _get_base(char * addr) {
2007 Apr 18
0
[PATCH 8/21] i386 Segment protect properly
...%%dx,%1\n\t" ); } while(0) #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) -#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1) ) +#define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit) ) static inline unsigned long _get_base(char * addr) { Index: linux-2.6.14-zach-work/drivers/pnp/pnpbios/bioscalls.c =================================================================== --- linux-2.6.14-zach-work.orig/drivers/pnp/pnpbios/bioscalls.c 2005-11-04 17:45:02.000000000 -0800 +++ linux-2.6.14-zach-work/drivers/pnp/pnpbios/biosca...