先看下fixup_exception()函数的实现: [arch/asm-i386/mm/extable.c] int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ... } [kernel/extab...
int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ... } [kernel/extable.c] const struct exception_table_entry *search_exception_tables(unsig...
int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ... } [kernel/extable.c] const struct exception_table_entry *search_exception_tables(unsig...
When the beacon frames are received and successfully processed by the user code or DLR stack, extract the beacon interval and timeout data and use them to program the TCU by using the REMS_EipStartTcu REM driver function. After the TCU is started, call REMS_EipEnableBTOIrq to enable the ...
int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ...} [kernel/extable.c] const struct exception_table_entry *search_exception_tables(unsigne...
struct sigcontext *uc = puc; #else struct ucontext *uc = puc; #endif unsigned long pc; int trapno;#ifndef REG_EIP /* for glibc 2.1 */ #define REG_EIP EIP #define REG_ERR ERR #define REG_TRAPNO TRAPNO #endif pc = EIP_sig(uc); ...
int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ... } [kernel/extable.c] const struct exception_table_entry *search_exception_tables(unsig...
(struct pt_regs * regs, struct user * dump) if (dump->start_stack < TASK_SIZE) dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; - dump->regs.ebx = regs->bx; - dump->regs.ecx = regs->cx; - dump->regs.edx = regs->dx; - dump->regs...
unsigned long pc = sc->sigc_regs.tpc; void *sigmask = (void *)sc->sigc_mask; #elif defined(__OpenBSD__) struct sigcontext *uc = puc; unsigned long pc = uc->sc_pc; void *sigmask = (void *)(long)uc->sc_mask; #endif #endif/...
int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; ... fixup = search_exception_tables(regs->eip); if (fixup) { regs->eip = fixup->fixup; return 1; } ... } [kernel/extable.c] const struct exception_table_entry *search_exception_tables(unsig...