/bionic/libc/kernel/arch-x86/asm/ |
pda.h | 59 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 62 #define write_pda(field,val) pda_to_op("mov",field,val) 64 #define add_pda(field,val) pda_to_op("add",field,val) 65 #define sub_pda(field,val) pda_to_op("sub",field,val) 66 #define or_pda(field,val) pda_to_op("or",field,val)
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
pda.h | 59 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 62 #define write_pda(field,val) pda_to_op("mov",field,val) 64 #define add_pda(field,val) pda_to_op("add",field,val) 65 #define sub_pda(field,val) pda_to_op("sub",field,val) 66 #define or_pda(field,val) pda_to_op("or",field,val)
|
/external/kernel-headers/original/asm-x86/ |
pda.h | 60 #define pda_to_op(op,field,val) do { \ macro 114 #define write_pda(field,val) pda_to_op("mov",field,val) 115 #define add_pda(field,val) pda_to_op("add",field,val) 116 #define sub_pda(field,val) pda_to_op("sub",field,val) 117 #define or_pda(field,val) pda_to_op("or",field,val)
|
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val) 57 #define or_pda(field,val) pda_to_op("or",field,val)
|
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val) 57 #define or_pda(field,val) pda_to_op("or",field,val)
|
/prebuilts/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val) 57 #define or_pda(field,val) pda_to_op("or",field,val)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val) 57 #define or_pda(field,val) pda_to_op("or",field,val)
|
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) macro 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val) 57 #define or_pda(field,val) pda_to_op("or",field,val)
|