Home
last modified time | relevance | path

Searched refs:__asm (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin.h213 #define ACPI_FLUSH_CPU_CACHE() __asm {WBINVD}
229 __asm mov eax, 0xFF \
230 __asm mov ecx, FacsPtr \
231 __asm or ecx, ecx \
232 __asm jz exit_acq \
233 __asm lea ecx, [ecx].GlobalLock \
235 __asm acq10: \
236 __asm mov eax, [ecx] \
237 __asm mov edx, eax \
238 __asm and edx, 0xFFFFFFFE \
[all …]
H A Dacmsvc.h203 __asm mov edx, n_hi \
204 __asm mov eax, n_lo \
205 __asm div d32 \
206 __asm mov q32, eax \
207 __asm mov r32, edx \
214 __asm mov edx, n_hi \
215 __asm mov eax, n_lo \
216 __asm mul m32 \
217 __asm mov p32, eax \
218 __asm mov c32, edx \
[all …]
H A Dacnetbsd.h178 #define asm __asm
H A Dachaiku.h194 #define ACPI_FLUSH_CPU_CACHE() __asm __volatile("wbinvd");
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h63 __asm __volatile("int $3"); in breakpoint()
120 __asm __volatile("clts"); in clts()
132 __asm __volatile("cpuid" in do_cpuid()
140 __asm __volatile("cpuid" in cpuid_count()
148 __asm __volatile("sti"); in enable_intr()
201 __asm __volatile("hlt"); in halt()
225 __asm __volatile("cld; rep; insb" in insb()
252 __asm __volatile("invd"); in invd()
339 __asm __volatile("pause"); in ia32_pause()
399 __asm __volatile("wbinvd"); in wbinvd()
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h60 __asm __volatile("int $3"); in breakpoint()
99 __asm __volatile("clts"); in clts()
123 __asm __volatile("cpuid" in cpuid_count()
132 __asm __volatile("sti"); in enable_intr()
139 __asm __volatile("monitor" in cpu_monitor()
209 __asm __volatile("hlt"); in halt()
233 __asm __volatile("cld; rep; insb" in insb()
242 __asm __volatile("cld; rep; insw" in insw()
260 __asm __volatile("invd"); in invd()
317 __asm __volatile("pause"); in ia32_pause()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dcpufunc.h51 __asm __volatile("clts"); in clts()
57 __asm __volatile("cpuid" in do_cpuid()
65 __asm __volatile("cpuid" in cpuid_count()
73 __asm __volatile("cli"); in disable_intr()
79 __asm __volatile("sti"); in enable_intr()
111 __asm __volatile("pushfq; popq %0" : "=r" (rf)); in read_rflags()
148 __asm __volatile("movq %%cr0,%0" : "=r" (data)); in rcr0()
157 __asm __volatile("movq %%cr3,%0" : "=r" (data)); in rcr3()
172 __asm __volatile("movq %%cr4,%0" : "=r" (data)); in rcr4()
205 __asm __volatile("movq %%dr0,%0" : "=r" (data)); in rdr0()
[all …]
H A Datomic.h26 __asm volatile("" : : : "memory"); in atomic_load_acq_short()
79 __asm __volatile( in atomic_cmpset_int()
97 __asm __volatile( in atomic_cmpset_long()
115 __asm __volatile( in atomic_testandset_int()
135 __asm __volatile( in atomic_fetchadd_int()
149 __asm volatile( in atomic_set_int()
159 __asm volatile( in atomic_clear_int()
169 __asm volatile( in atomic_subtract_int()
179 __asm volatile( in atomic_set_long()
199 __asm __volatile( in atomic_swap_int()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_avx2.c73 __asm( \
81 __asm( \
95 __asm( \
102 __asm( \
117 __asm( \
124 __asm( \
137 __asm( \
145 __asm( \
159 __asm( \
167 __asm( \
[all …]
H A Dvdev_raidz_math_ssse3.c74 __asm( \
82 __asm( \
96 __asm( \
103 __asm( \
118 __asm( \
125 __asm( \
138 __asm( \
146 __asm( \
160 __asm( \
168 __asm( \
[all …]
H A Dvdev_raidz_math_sse2.c66 __asm( \
74 __asm( \
90 __asm( \
97 __asm( \
102 __asm( \
114 __asm( \
121 __asm( \
126 __asm( \
138 __asm( \
146 __asm( \
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dllimits.h208 #define lua_number2int(i,n) __asm {__asm fld n __asm fistp i}
211 {__int64 l; __asm {__asm fld n __asm fistp l} i = (unsigned int)l;}
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmcs.c201 __asm __volatile("vmclear %[addr];" in vmcs_clear()
231 __asm __volatile("vmclear %[addr];" in vmcs_initialize()
255 __asm __volatile("vmptrld %[addr];" in vmcs_load()
272 __asm __volatile("vmread %[enc], %[val];" in vmcs_read()
290 __asm __volatile("vmwrite %[val], %[enc];" in vmcs_write()
/illumos-gate/usr/src/boot/efi/include/i386/
H A Defibind.h65 #define POST_CODE(_Data) __asm mov eax,(_Data) __asm out 0x80,al
79 #define BREAKPOINT() __asm { int 3 }
/illumos-gate/usr/src/boot/efi/include/amd64/
H A Defibind.h64 #define POST_CODE(_Data) __asm mov eax,(_Data) __asm out 0x80,al
78 #define BREAKPOINT() __asm { int 3 }
/illumos-gate/usr/src/boot/sys/x86/include/
H A Dendian.h103 __asm("bswap %0" : "+r" (_x)); in __bswap32_var()
115 __asm("bswap %0" : "+r" (_x)); in __bswap64_var()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dreserved.c65 static int (__asm); variable
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DMakefile42 -DHAVE_IPV6=1 -Dasm=__asm -DMDNSD_NOROOT \
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dprobe.win32132 …reserved="#pragma pp:reserved __asm=GROUP __based=GROUP __cdecl __declspec=GROUP __except __export…
144 …reserved="#pragma pp:reserved _Bool _Complex _Imaginary asm=GROUP _asm=GROUP __asm=GROUP const enu…
151 …reserved="#pragma pp:reserved __asm=GROUP __based=GROUP __cdecl __declspec=GROUP __except __export…
175 …GROUP __attribute=GROUP __attribute__=GROUP __extension__=GROUP asm=GROUP __asm=GROUP __asm__=GROU…
/illumos-gate/usr/src/tools/smatch/src/
H A Dident-list.h50 IDENT(asm); IDENT_RESERVED(__asm); IDENT_RESERVED(__asm__);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c77 __asm __volatile ("inb %1,%0" :"=a" (data):"d" (port)); in inb()
84 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
H A Dgraphics.c115 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port)); in outb()
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dcdefs.h44 #define asm __asm
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dtrap.c404 __asm("ud2"); in command_fault()
/illumos-gate/usr/src/boot/sys/sys/
H A Dcdefs.h108 #define __compiler_membar() __asm __volatile(" " : : : "memory")

12