Searched refs:esp (Results 1 - 25 of 63) sorted by relevance

123

/darwin-on-arm/xnu/tools/tests/jitter/
H A Dcpu_number.s21 mov %esp,%ebp
22 sub $8, %esp // space to read IDTR
24 sidt (%esp) // store limit:base on stack
25 movw (%esp), %ax // get limit
28 mov %ebp,%esp
/darwin-on-arm/xnu/osfmk/i386/
H A Dbzero.s67 movl 4+ 4(%esp),%edi /* addr */
68 movb 4+ 8(%esp),%al /* pattern */
69 movl 4+ 12(%esp),%edx /* length */
85 movl 4+ 4(%esp),%eax /* returns its first argument */
95 movl 4+ 4(%esp),%edi /* addr */
96 movl 4+ 8(%esp),%edx /* length */
H A Dcswitch.s82 movl %edx,%esp
85 subl $12, %esp /* align stack */
99 cmpl $0,4(%esp)
107 movl %esp,KSS_ESP(%ecx) /* save SP */
109 movl 0(%esp),%eax /* return old thread */
110 movl 8(%esp),%ecx /* get new thread */
121 movl KSS_ESP(%ecx),%esp /* switch stacks */
129 subl $12, %esp /* align stack */
152 movl %esp,KSS_ESP(%ecx) /* save SP */
155 movl 0(%esp),
[all...]
H A Dbcopy.s66 movl 8+ 4(%esp),%edi /* to */
68 movl 8+ 8(%esp),%esi /* from */
70 movl 8+ 12(%esp),%edx /* number of bytes */
91 movl 8+ 8(%esp),%edi /* to */
92 movl 8+ 4(%esp),%esi /* from */
100 movl 8+12(%esp),%edx /* 8 for the two pushes above */
101 movl 8+ 8(%esp),%edi
102 movl 8+ 4(%esp),%esi
127 movl 12(%esp),%esi
128 movl 16(%esp),
[all...]
H A Dasm.h70 #define S_PC (%esp)
71 #define S_ARG0 4(%esp)
72 #define S_ARG1 8(%esp)
73 #define S_ARG2 12(%esp)
74 #define S_ARG3 16(%esp)
75 #define S_ARG4 20(%esp)
77 #define FRAME pushl %ebp; movl %esp, %ebp
305 movl %esp, %esi ;\
306 andl $0xFFFFFFF0, %esp ;\
308 movl %esi, %esp
[all...]
H A D_setjmp.s74 movl 4(%esp),%ecx # fetch buffer
80 movl %esp,16(%ecx) # save stack pointer of caller
86 movl 8(%esp),%eax # return(v)
87 movl 4(%esp),%ecx # fetch buffer
92 movl 16(%ecx),%esp
H A Dmcount.s35 movl %esp,%ebp
67 addl $8,%esp // pop args
73 movl %ebp,%esp // tear down mcount's frame
H A Didt.s500 * user esp - if from user
513 movl %esp,%ebx
534 movl %ebx,%esp /* switch to hi based PCB stack */
555 addl $8,%esp /* discard trap number and error code */
557 cmpl $(SYSENTER_CS),4(%esp) /* test for fast entry/exit */
564 andl $(~EFL_IF),(%esp) /* clear intrs enabled, see sti below */
566 popl %ecx /* user return esp */
606 movl (%esp), %esp /* switch from intr stack to pcb */
626 orl $(EFL_IF),R32_EFLAGS-R32_EDI(%esp) /* (ed
[all...]
H A Dgdb_defs.h48 unsigned int esp; member in struct:__anon930
H A Dpal_routines_asm.s35 * Copy "count" bytes from "src" to %esp, using
42 mov %eax, 0(%esp,tmpindex,1) /* ... to stack */ ; \
68 sub $12, %esp /* align to 16-byte boundary */
72 sub %ecx, %esp /* make room for stack contents */
93 add 24(%ebp), %esp /* discard stack contents */
94 add $12, %esp /* restore stack pointer */
118 sub $12, %esp /* align to 16-byte boundary */
122 sub %ecx, %esp /* make room for stack contents */
138 add 20(%ebp), %esp /* discard stack contents */
139 add $12, %esp /* restor
[all...]
H A Dmachine_routines_asm.s40 ** Entry - %esp contains pointer to 64 bit structure.
89 movl %esp,%ebp // Get the parameters - 8
146 mov 12(%esp),%edx /* ptr to rtc_nanotime_info */
151 movl 4(%esp),%eax /* get lower 32-bits of delta */
199 movl %esp,%ebp
279 movl 4(%esp),%ecx
280 movl 8(%esp),%eax
281 movl 12(%esp),%edx
288 movl 4(%esp),%ecx
300 movl %gs:CPU_KERNEL_STACK,%esp /* po
[all...]
H A Dasm64.h77 1: addl $(2f-1b), (%esp) ;\
/darwin-on-arm/xnu/libsyscall/custom/
H A Dcustom.s43 mov %esp,%edx
44 andl $0xfffffff0,%esp
45 subl $16,%esp
46 movl %edx,8(%esp)
47 movl %ecx,4(%esp)
48 movl %eax,(%esp)
50 movl 8(%esp),%esp
57 movl %esp, %ecx
H A D__syscall.s39 movl (%esp),%edx // add one element to stack so
H A D__fork.s52 subl $28, %esp // Align the stack, with 16 bytes of extra padding that we'll need
60 addl $28, %esp // restore the stack
71 addl $28, %esp // restore the stack
H A D__gettimeofday.s39 mov 4(%esp),%ecx
H A D__pipe.s35 movl 4(%esp),%ecx
/darwin-on-arm/xnu/tools/tests/execperf/
H A Dexit-asm.S22 mov %esp, %ebp
23 andl $0xfffffff0, %esp
24 subl $12, %esp
37 mov %esp, %ecx
/darwin-on-arm/xnu/libkern/i386/
H A DOSAtomic.s38 movl 4(%esp), %eax #; oldValue
39 movl 8(%esp), %edx #; newValue
40 movl 12(%esp), %ecx #; ptr
57 movl 4+8(%esp), %eax #; low 32-bits of oldValue
58 movl 8+8(%esp), %edx #; high 32-bits of oldValue
59 movl 12+8(%esp), %ebx #; low 32-bits of newValue
60 movl 16+8(%esp), %ecx #; high 32-bits of newValue
61 movl 20+8(%esp), %edi #; ptr
80 movl 12+8(%esp), %edi #; ptr
86 addl 4+8(%esp),
[all...]
/darwin-on-arm/xnu/iokit/Kernel/i386/
H A DIOSharedLock.s39 movl 4(%esp), %ecx
55 movl 4(%esp), %ecx
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dmunge.s77 movl 8(%esp),%ecx // get &uu_args
82 movl 8(%esp),%ecx // get &uu_args
86 movl 8(%esp),%ecx // get &uu_args
90 movl 8(%esp),%ecx // get &uu_args
94 movl 8(%esp),%ecx // get &uu_args
98 movl 8(%esp),%ecx // get &uu_args
102 movl 8(%esp),%ecx // get &uu_args
106 movl 8(%esp),%ecx // get &uu_args
141 movl 8(%esp),%ecx // get &uu_args
156 movl 8(%esp),
[all...]
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h61 movl %esp, %ebp ;\
82 movl %esp, %ebp ;\
83 subl $__framesize, %esp ;\
100 movl %esp, %ebp ;\
101 subl $__framesize, %esp ;\
117 movl %ebp, %esp ;\
H A Dtss.h64 unsigned int esp; member in struct:tss
/darwin-on-arm/xnu/bsd/netinet6/
H A Desp_output.c103 #include <netinet6/esp.h>
178 hdrsiz = sizeof(struct esp) + ivlen + maxpad;
203 * sizeof(struct newesp) > sizeof(struct esp). (8)
225 * IP ............... esp iv payload pad padlen nxthdr
243 struct esp *esp; local
341 size_t esplen; /* sizeof(struct esp/newesp) */
342 size_t esphlen; /* sizeof(struct esp/newesp) + ivlen */
347 esplen = sizeof(struct esp);
351 esplen = sizeof(struct esp);
[all...]
H A Desp_input.c111 #include <netinet6/esp.h>
138 (sizeof(struct esp) < sizeof(struct newesp) \
139 ? sizeof(struct newesp) : sizeof(struct esp))
168 struct esp *esp; local
204 // expect udp-encap and esp packets only
212 esp = (struct esp *)(void *)(((u_int8_t *)ip) + off);
220 spi = esp->esp_spi;
259 seq = ntohl(((struct newesp *)esp)
728 struct esp *esp; local
1193 struct newesp esp; local
[all...]

Completed in 106 milliseconds

123