Home
last modified time | relevance | path

Searched refs:_CONST (Results 1 – 25 of 26) sorted by relevance

12

/titanic_44/usr/src/uts/intel/ia32/sys/
H A Dasm_linkage.h59 #define _CONST(const) [const] macro
60 #define _BITNOT(const) -1!_CONST(const)
61 #define _MUL(a, b) _CONST(a \* b)
72 #define _CONST(const) (const)
73 #define _BITNOT(const) ~_CONST(const)
74 #define _MUL(a, b) _CONST(a * b)
119 subq $_CONST(_MUL(XMM_SIZE, nreg)), %rsp; \
123 addq $_CONST(_MUL(XMM_SIZE, nreg)), %rsp
128 subl $_CONST(_MUL(XMM_SIZE, nreg) + XMM_ALIGN), %esp; \
134 addl $_CONST(_MUL(XMM_SIZE, nreg) + XMM_ALIGN), %esp;
/titanic_44/usr/src/uts/intel/amd64/ml/
H A Dmach_offsets.in123 \#define LABEL_RBP _CONST(_MUL(2, LABEL_VAL_INCR) + LABEL_VAL)
124 \#define LABEL_RBX _CONST(_MUL(3, LABEL_VAL_INCR) + LABEL_VAL)
125 \#define LABEL_R12 _CONST(_MUL(4, LABEL_VAL_INCR) + LABEL_VAL)
126 \#define LABEL_R13 _CONST(_MUL(5, LABEL_VAL_INCR) + LABEL_VAL)
127 \#define LABEL_R14 _CONST(_MUL(6, LABEL_VAL_INCR) + LABEL_VAL)
128 \#define LABEL_R15 _CONST(_MUL(7, LABEL_VAL_INCR) + LABEL_VAL)
129 \#define T_RBP _CONST(T_LABEL + LABEL_RBP)
130 \#define T_RBX _CONST(T_LABEL + LABEL_RBX)
131 \#define T_R12 _CONST(T_LABEL + LABEL_R12)
132 \#define T_R13 _CONST(T_LABEL + LABEL_R13)
[all …]
/titanic_44/usr/src/uts/intel/kdi/
H A Dkdi_offsets.in81 \#define DRADDR_IDX(num) _CONST(_MUL(num, DR_ADDR_INCR))
82 \#define DRADDR_OFF(num) _CONST(DRADDR_IDX(num) + DR_ADDR)
83 \#define KRS_DROFF(num) _CONST(DRADDR_OFF(num) + KRS_DR)
84 \#define REG_OFF(reg) _CONST(_CONST(reg) << REG_SHIFT)
85 \#define KDIREG_OFF(reg) _CONST(_MUL(KREG_SIZE, reg) + KRS_GREGS)
/titanic_44/usr/src/uts/i86pc/ml/
H A Dmach_offsets.in117 \#define LABEL_EBP _CONST(_MUL(2, LABEL_VAL_INCR) + LABEL_VAL)
118 \#define LABEL_EBX _CONST(_MUL(3, LABEL_VAL_INCR) + LABEL_VAL)
119 \#define LABEL_ESI _CONST(_MUL(4, LABEL_VAL_INCR) + LABEL_VAL)
120 \#define LABEL_EDI _CONST(_MUL(5, LABEL_VAL_INCR) + LABEL_VAL)
121 \#define T_EBP _CONST(T_LABEL + LABEL_EBP)
122 \#define T_EBX _CONST(T_LABEL + LABEL_EBX)
123 \#define T_ESI _CONST(T_LABEL + LABEL_ESI)
124 \#define T_EDI _CONST(T_LABEL + LABEL_EDI)
H A Dcomm_page.s65 .fill 1, 4, _CONST(TSC_RDTSC_CPUID)
83 .fill _CONST(NCPU), 8, 0
86 .fill _CONST(COMM_PAGE_SIZE - COMM_PAGE_S_SIZE), 1, 0
H A Dcpr_wakecode.s302 D16 orl $_CONST(CR0_PE|CR0_WP|CR0_AM), %eax
487 D16 movl $_CONST(COM1+LCR), %edx
491 D16 movl $_CONST(COM1+DLL), %edx / divisor latch lsb
495 D16 movl $_CONST(COM1+DLH), %edx / divisor latch hsb
499 D16 movl $_CONST(COM1+LCR), %edx / select COM1
500 D16 movb $_CONST(STOP1|BITS8), %al / 1 stop bit, 8bit word len
503 D16 movl $_CONST(COM1+MCR), %edx / select COM1
504 D16 movb $_CONST(RTS|DTR), %al / data term ready & req to send
508 D16 movl $_CONST(COM2+LCR), %edx
512 D16 movl $_CONST(COM2+DLL), %edx / divisor latch lsb
[all …]
H A Dfast_trap_asm.s146 movl _CONST(4 + 0)(%esp), %eax
147 movl _CONST(4 + CLONGSIZE)(%esp), %edx
148 addl $_CONST(4 + TIMESPEC_SIZE), %esp
H A Doffsets.in144 \#define LABEL_SP _CONST(LABEL_VAL + LABEL_VAL_INCR)
145 \#define T_PC _CONST(T_LABEL + LABEL_PC)
146 \#define T_SP _CONST(T_LABEL + LABEL_SP)
165 \#define LWP_ACCT_USER _CONST(LWP_MS_ACCT + _MUL(LMS_USER, LWP_MS_ACCT_INCR))
166 \#define LWP_ACCT_SYSTEM _CONST(LWP_MS_ACCT + _MUL(LMS_SYSTEM, LWP_MS_ACCT_INCR))
217 \#define CPU_INTR_ACTV_REF _CONST(CPU_INTR_ACTV + 2)
H A Dsyscall_asm.s153 movl _CONST(_MUL(callback_id, CPTRSIZE))(%ebx), %ebx ;\
298 andb $_CONST(0xffff - PS_C), REGOFF_EFL(%esp)
348 #define SYS_DROP _CONST(_MUL(MAXSYSARGS, 4))
H A Dfb_swtch_src.s274 orl $_CONST(CR0_PG | CR0_WP | CR0_AM), %eax
H A Dlocore.s175 addq $_CONST(DEFAULTSTKSZ - REGSIZE), %rsp
205 orq $_CONST(CR0_WP|CR0_AM), %rax
301 orl $_CONST(CR0_WP|CR0_AM), %eax
H A Dsyscall_asm_amd64.s196 movq _CONST(_MUL(callback_id, CPTRSIZE))(%r15), %r15 ;\
240 andb $_CONST(0xffff - PS_C), REGOFF_RFL(%rsp)
/titanic_44/usr/src/uts/intel/ia32/ml/
H A Dddi_i86_asm.s280 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %edx
287 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %edx
310 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %ecx
317 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %ecx
342 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %edx
349 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %edx
372 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %ecx
379 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %ecx
404 cmpl $_CONST(DDI_ACCATTR_IO_SPACE|DDI_ACCATTR_DIRECT), %edx
410 cmpl $_CONST(DDI_ACCATTR_CPU_VADDR|DDI_ACCATTR_DIRECT), %edx
[all …]
H A Dfloat.s295 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%rdi)
323 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%rdi)
354 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%eax)
367 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%eax)
386 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%ecx)
H A Dsseblk.s313 movl $_CONST(32 - 1), %ecx
352 movl $_CONST(32 - 1), %ecx
H A Dexception.s1237 pushq $_CONST(_MUL(T_FASTTRAP, GATE_DESC_SIZE) + 2)
1263 pushl $_CONST(_MUL(T_FASTTRAP, GATE_DESC_SIZE) + 2)
/titanic_44/usr/src/uts/i86xpv/ml/
H A Dhyperevent.s103 addq $_CONST(_MUL(4, CLONGSIZE)), %rsp
154 addl $_CONST(_MUL(4, CLONGSIZE)), %esp /* see comment for 64-bit */
/titanic_44/usr/src/lib/commpage/amd64/
H A Dcp_subr.s241 shrdq $_CONST(32 - NSEC_SHIFT), %rdx, %rax
351 movq _CONST(CP_HRESTIME + CP_HRESTIME_INCR)(%rdi), %r10
/titanic_44/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_context_off.in35 \#define UC_GREG(name) _CONST(UC_GREGS + _MUL(name, UC_GREGS_INCR))
/titanic_44/usr/src/uts/i86pc/sys/
H A Dmachparam.h100 #define MMU_PAGEOFFSET _CONST(MMU_PAGESIZE-1) /* assembler lameness */
/titanic_44/usr/src/lib/brand/shared/brand/i386/
H A Dhandler.s32 pushl $_CONST(. - brand_handler_table); \
/titanic_44/usr/src/uts/i86pc/dboot/
H A Ddboot_grub.s274 orl $_CONST(CR0_PG | CR0_WP | CR0_AM), %eax
/titanic_44/usr/src/lib/brand/shared/brand/amd64/
H A Dhandler.s31 pushq $_CONST(. - brand_handler_table); \
/titanic_44/usr/src/uts/intel/kdi/ia32/
H A Dkdi_asm.s565 movl %edx, _CONST(MSR_VAL + 4)(%ebx)
/titanic_44/usr/src/uts/intel/kdi/amd64/
H A Dkdi_asm.s561 movl %edx, _CONST(MSR_VAL + 4)(%rbx)

12