Date: Thu, 24 Apr 2003 15:57:43 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29644 for review Message-ID: <200304242257.h3OMvhuj028792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29644 Change 29644 by peter@peter_daintree on 2003/04/24 15:56:58 use register_t for trapframe Affected files ... .. //depot/projects/hammer/sys/x86_64/include/frame.h#8 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/include/frame.h#8 (text+ko) ==== @@ -49,87 +49,87 @@ */ struct trapframe { - int64_t tf_r15; - int64_t tf_r14; - int64_t tf_r13; - int64_t tf_r12; - int64_t tf_r11; - int64_t tf_r10; - int64_t tf_r9; - int64_t tf_r8; - int64_t tf_rdi; - int64_t tf_rsi; - int64_t tf_rbp; - int64_t tf_rbx; - int64_t tf_rdx; - int64_t tf_rcx; - int64_t tf_rax; - int64_t tf_trapno; + register_t tf_r15; + register_t tf_r14; + register_t tf_r13; + register_t tf_r12; + register_t tf_r11; + register_t tf_r10; + register_t tf_r9; + register_t tf_r8; + register_t tf_rdi; + register_t tf_rsi; + register_t tf_rbp; + register_t tf_rbx; + register_t tf_rdx; + register_t tf_rcx; + register_t tf_rax; + register_t tf_trapno; /* below portion defined in 386 hardware */ - int64_t tf_err; - int64_t tf_rip; - int64_t tf_cs; - int64_t tf_rflags; - int64_t tf_rsp; - int64_t tf_ss; + register_t tf_err; + register_t tf_rip; + register_t tf_cs; + register_t tf_rflags; + register_t tf_rsp; + register_t tf_ss; }; /* Interrupt stack frame */ struct intrframe { - int64_t if_vec; - int64_t if_r15; - int64_t if_r14; - int64_t if_r13; - int64_t if_r12; - int64_t if_r11; - int64_t if_r10; - int64_t if_r9; - int64_t if_r8; - int64_t if_rdi; - int64_t if_rsi; - int64_t if_rbp; - int64_t if_rbx; - int64_t if_rdx; - int64_t if_rcx; - int64_t if_rax; - int64_t :64; /* for compat with trap frame - trapno */ - int64_t :64; /* for compat with trap frame - err */ + register_t if_vec; + register_t if_r15; + register_t if_r14; + register_t if_r13; + register_t if_r12; + register_t if_r11; + register_t if_r10; + register_t if_r9; + register_t if_r8; + register_t if_rdi; + register_t if_rsi; + register_t if_rbp; + register_t if_rbx; + register_t if_rdx; + register_t if_rcx; + register_t if_rax; + register_t :64; /* for compat with trap frame - trapno */ + register_t :64; /* for compat with trap frame - err */ /* below portion defined in 386 hardware */ - int64_t if_rip; - int64_t if_cs; - int64_t if_rflags; - int64_t if_rsp; - int64_t if_ss; + 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 { - int64_t cf_vec; - int64_t cf_r15; - int64_t cf_r14; - int64_t cf_r13; - int64_t cf_r12; - int64_t cf_r11; - int64_t cf_r10; - int64_t cf_r9; - int64_t cf_r8; - int64_t cf_rdi; - int64_t cf_rsi; - int64_t cf_rbp; - int64_t cf_rbx; - int64_t cf_rdx; - int64_t cf_rcx; - int64_t cf_rax; - int64_t :64; /* for compat with trap frame - trapno */ - int64_t :64; /* for compat with trap frame - err */ + register_t cf_vec; + register_t cf_r15; + register_t cf_r14; + register_t cf_r13; + register_t cf_r12; + register_t cf_r11; + register_t cf_r10; + register_t cf_r9; + register_t cf_r8; + register_t cf_rdi; + register_t cf_rsi; + register_t cf_rbp; + register_t cf_rbx; + register_t cf_rdx; + register_t cf_rcx; + register_t cf_rax; + register_t :64; /* for compat with trap frame - trapno */ + register_t :64; /* for compat with trap frame - err */ /* below portion defined in 386 hardware */ - int64_t cf_rip; - int64_t cf_cs; - int64_t cf_rflags; - int64_t cf_rsp; - int64_t cf_ss; + register_t cf_rip; + register_t cf_cs; + register_t cf_rflags; + register_t cf_rsp; + register_t cf_ss; }; int kdb_trap(int, int, struct trapframe *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304242257.h3OMvhuj028792>