Home
last modified time | relevance | path

Searched refs:__volatile (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h63 __asm __volatile("int $3"); in breakpoint()
71 __asm __volatile("bsfl %1,%0" : "=r" (result) : "rm" (mask)); in bsfl()
80 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq()
89 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl()
98 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq()
106 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush()
113 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt()
120 __asm __volatile("clts"); in clts()
126 __asm __volatile("cli" : : : "memory"); in disable_intr()
132 __asm __volatile("cpuid" in do_cpuid()
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h60 __asm __volatile("int $3"); in breakpoint()
85 __asm __volatile("clflush %0" : : "m" (*(char *)addr)); in clflush()
92 __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); in clflushopt()
99 __asm __volatile("clts"); in clts()
106 __asm __volatile("cli" : : : "memory"); in disable_intr()
112 __asm __volatile("pushl %%ebx \n\t" in do_cpuid()
123 __asm __volatile("cpuid" in cpuid_count()
132 __asm __volatile("sti"); in enable_intr()
139 __asm __volatile("monitor" in cpu_monitor()
147 __asm __volatile("mwait" : : "a" (hints), "c" (extensions)); in cpu_mwait()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dcpufunc.h26 __asm __volatile("bsfq %1,%0" : "=r" (result) : "rm" (mask)); in bsfq()
35 __asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask)); in bsrl()
44 __asm __volatile("bsrq %1,%0" : "=r" (result) : "rm" (mask)); in bsrq()
51 __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()
123 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr()
[all …]
H A Datomic.h79 __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()
199 __asm __volatile( in atomic_swap_int()
211 __asm __volatile( in atomic_swap_long()
248 __asm __volatile(" " : : : "memory"); in atomic_thread_fence_rel()
255 __asm __volatile("lock; addl $0,-8(%%rsp)" : : : "memory", "cc"); in atomic_thread_fence_seq_cst()
/illumos-gate/usr/src/lib/libresolv2/include/
H A Derr.h48 __dead void err __P((int, const char *, ...)) __attribute__((__volatile));
50 __attribute__((__volatile));
51 __dead void errx __P((int, const char *, ...)) __attribute__((__volatile));
53 __attribute__((__volatile));
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmcs.c198 __asm __volatile("vmclear %[addr];" in vmcs_clear()
228 __asm __volatile("vmclear %[addr];" in vmcs_initialize()
252 __asm __volatile("vmptrld %[addr];" in vmcs_load()
269 __asm __volatile("vmread %[enc], %[val];" in vmcs_read()
287 __asm __volatile("vmwrite %[val], %[enc];" in vmcs_write()
H A Dvmx.c928 __asm __volatile("invvpid %[desc], %[type];" in invvpid()
1008 __asm __volatile("invept %[desc], %[type];" in invept()
/illumos-gate/usr/src/lib/libresolv2/include/sys/
H A Dcdefs.h86 #define __volatile volatile macro
104 #define __volatile macro
133 #define __dead __volatile
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dreserved.c41 static int (__volatile); variable
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dachaiku.h194 #define ACPI_FLUSH_CPU_CACHE() __asm __volatile("wbinvd");
/illumos-gate/usr/src/tools/smatch/src/
H A Dident-list.h25 IDENT(volatile); IDENT(__volatile); IDENT(__volatile__);
/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/boot/sys/sys/
H A Dcdefs.h108 #define __compiler_membar() __asm __volatile(" " : : : "memory")
163 #define __volatile volatile macro
181 #define __volatile macro
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_instruction_emul.c646 __asm __volatile("sub %2,%1; pushfq; popq %0" : \
683 __asm __volatile("add %2,%1; pushfq; popq %0" : \
720 __asm __volatile("imul %2,%1; pushfq; popq %0" : \
754 __asm __volatile("and %2,%1; pushfq; popq %0" : \
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dprobe.win32175 … __signed__ typeof=GROUP __typeof=GROUP __typeof__=GROUP void volatile __volatile __volatile__ __c…
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm.c1809 __asm __volatile("clgi"); in disable_gintr()
1815 __asm __volatile("stgi"); in enable_gintr()