Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/dev/dtrace/i386/dtrace_asm.S
Show All 26 Lines | |||||
*/ | */ | ||||
#define _ASM | #define _ASM | ||||
#include <machine/asmacros.h> | #include <machine/asmacros.h> | ||||
#include <sys/cpuvar_defs.h> | #include <sys/cpuvar_defs.h> | ||||
#include <sys/dtrace.h> | #include <sys/dtrace.h> | ||||
#include "assym.s" | #include "assym.inc" | ||||
ENTRY(dtrace_invop_start) | ENTRY(dtrace_invop_start) | ||||
pushl %eax /* push %eax -- may be return value */ | pushl %eax /* push %eax -- may be return value */ | ||||
pushl %esp /* push stack pointer */ | pushl %esp /* push stack pointer */ | ||||
subl $8, (%esp) /* skip first arg and segment regs */ | subl $8, (%esp) /* skip first arg and segment regs */ | ||||
pushl 40(%esp) /* push calling EIP */ | pushl 40(%esp) /* push calling EIP */ | ||||
▲ Show 20 Lines • Show All 312 Lines • Show Last 20 Lines |