From e2841d2b9faa3ba4a8dd511d77c48633acbccfb6 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 8 Dec 2005 18:33:30 +0000 Subject: MFi386: - Move PUSH_FRAME and POP_FRAME to asmacros.h and use PUSH_FRAME in atpic entry points. - Move PCPU_* asm macros out of the middle of the asm profiling macros. - Pass IRQ vector argument as an int rather than void * to reduce diffs with i386. - EOI the lapic in C for the lapic timer handler. - GC unused Xcpuast function. - Split IPI_STOP handling code of ipi_nmi_handler() out into a cpustop_handler() function and call it from Xcpustop rather than duplicating all the logic in assembly. - Fixup the list of symbols with interrupt frames in ddb traces. Xatpic_fastintr* have never existed on amd64, and the lapic timer handler and various IPI handlers were missing. - Use trapframe instead of intrframe for interrupt entry points (on amd64 the interrupt vector was already a separate argument, so the two frames were already identical) and GC intrframe. Submitted by: peter (3) --- sys/amd64/include/frame.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'sys/amd64/include/frame.h') diff --git a/sys/amd64/include/frame.h b/sys/amd64/include/frame.h index 1996546..2bf9f3b 100644 --- a/sys/amd64/include/frame.h +++ b/sys/amd64/include/frame.h @@ -76,36 +76,6 @@ struct trapframe { register_t tf_ss; }; -/* Interrupt stack frame */ - -struct intrframe { - register_t if_rdi; - register_t if_rsi; - register_t if_rdx; - register_t if_rcx; - register_t if_r8; - register_t if_r9; - register_t if_rax; - register_t if_rbx; - register_t if_rbp; - register_t if_r10; - register_t if_r11; - register_t if_r12; - register_t if_r13; - register_t if_r14; - register_t if_r15; - register_t :64; /* compat with trap frame - trapno */ - register_t :64; /* compat with trap frame - addr */ - register_t :64; /* compat with trap frame - flags */ - register_t :64; /* compat with trap frame - err */ - /* below portion defined in hardware */ - register_t if_rip; - register_t if_cs; - register_t if_rflags; - register_t if_rsp; - register_t if_ss; -}; - /* frame of clock (same as interrupt frame) */ struct clockframe { -- cgit v1.1