Cleans up sysenter_init
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 25 Jun 2013 20:15:33 +0000 (13:15 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 26 Jun 2013 05:20:24 +0000 (22:20 -0700)
commit59cfbd874b7f9db4724d901d11f77c4f399960d5
tree7b3a1e0707716bfbf29c8af46c2616194caa5fe0
parent64c8ca652729f0ba1f902ebf611bc025e3fce872
Cleans up sysenter_init

It's existence is arch specific, so we don't really want it in kernel_init (or
riscv) and within x86, each subarch has different ways to set it up.
kern/arch/riscv/trap.c
kern/arch/x86/smp_boot.c
kern/arch/x86/trap.c
kern/arch/x86/trap.h
kern/arch/x86/trap32.h
kern/arch/x86/trap64.h
kern/include/trap.h
kern/src/init.c