mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix PMC_IN_TRAP_HANDLER() for i386 after the 4/4 split.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6d4a4ed747
commit
3f3a2d0f8d
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ struct pmc_mdep;
|
|||
#define PMC_IN_USERSPACE(va) ((va) <= VM_MAXUSER_ADDRESS)
|
||||
|
||||
#define PMC_IN_TRAP_HANDLER(PC) \
|
||||
((PC) >= (uintptr_t) start_exceptions && \
|
||||
(PC) < (uintptr_t) end_exceptions)
|
||||
((PC) >= (uintptr_t)start_exceptions + setidt_disp && \
|
||||
(PC) < (uintptr_t) end_exceptions + setidt_disp)
|
||||
|
||||
#define PMC_AT_FUNCTION_PROLOGUE_PUSH_BP(I) \
|
||||
(((I) & 0x00ffffff) == 0xe58955) /* pushl %ebp; movl %esp,%ebp */
|
||||
|
|
|
|||
Loading…
Reference in a new issue