diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2008-09-05 14:45:56 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2008-09-05 14:45:56 +0000 |
commit | e690e2f8cd7310c4c8f1adedc3dfd2ef7ff3b045 (patch) | |
tree | 2345c26e026936baef614adbbc47de52ba38fb74 | |
parent | 83e55bfe81d2efdf4e3c95a329cd8482a0227d59 (diff) | |
download | FreeBSD-src-e690e2f8cd7310c4c8f1adedc3dfd2ef7ff3b045.zip FreeBSD-src-e690e2f8cd7310c4c8f1adedc3dfd2ef7ff3b045.tar.gz |
Correct a copy-paste error---do not look for REX prefixes in i386 code.
-rw-r--r-- | sys/i386/include/pmc_mdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/pmc_mdep.h b/sys/i386/include/pmc_mdep.h index ffe94dd..7ec1f4b 100644 --- a/sys/i386/include/pmc_mdep.h +++ b/sys/i386/include/pmc_mdep.h @@ -93,9 +93,9 @@ struct pmc; (PC) < (uintptr_t) end_exceptions) #define PMC_AT_FUNCTION_PROLOGUE_PUSH_BP(I) \ - (((I) & 0xffffffff) == 0xe5894855) /* pushq %rbp; movq %rsp,%rbp */ + (((I) & 0x00ffffff) == 0xe58955) /* pushl %ebp; movl %esp,%ebp */ #define PMC_AT_FUNCTION_PROLOGUE_MOV_SP_BP(I) \ - (((I) & 0x00ffffff) == 0x00e58948) /* movq %rsp,%rbp */ + (((I) & 0x0000ffff) == 0xe589) /* movl %esp,%ebp */ #define PMC_AT_FUNCTION_EPILOGUE_RET(I) \ (((I) & 0xFF) == 0xC3) /* ret */ |