From: Richard B. <rb...@us...> - 2001-11-15 00:27:03
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel In directory usw-pr-cvs1:/tmp/cvs-serv21012 Modified Files: Makefile Added Files: cpu_vxt.c Log Message: Added "support" for VXT cpu from VXT2000 workstation - probably won't work yet --- NEW FILE --- /* * This file contains machine vector handlers for the * VXT CPU in the VXT2000 machines. * * From mailing list messages the SID is 14000006 but NetBSD uses 14000008. */ #include <linux/types.h> /* For NULL */ #include <linux/kernel.h> /* For printk */ #include <asm/mtpr.h> #include <asm/mv.h> #include <asm/simple_io.h> #include <asm/vaxcpu.h> void vxt_pre_vm_init(void); void vxt_post_vm_init(void); const char *vxt_cpu_type_str(void); struct vxt_machine_vector { struct vax_mv mv; unsigned int sidex; }; struct vxt_machine_vector mv_vxt = { { vxt_pre_vm_init, vxt_post_vm_init, mtpr_putchar, /* pre_vm_putchar */ mtpr_getchar, /* pre_vm_getchar */ mtpr_putchar, /* post_vm_putchar */ mtpr_getchar, /* post_vm_getchar */ NULL, /* console_init */ NULL, /* reboot */ NULL, /* halt */ NULL, /* mcheck - machine check */ NULL, /* init_devices */ vxt_cpu_type_str } }; void vxt_pre_vm_init(void) { mv_vxt.sidex = *(unsigned int *)SOC_SIDEX_ADDR; } void vxt_post_vm_init(void) { register_console(&vax_console); } const char *vxt_cpu_type_str(void) { return "VXT2000"; } Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/kernel/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Makefile 2001/10/28 23:54:18 1.8 +++ Makefile 2001/11/15 00:27:00 1.9 @@ -17,7 +17,8 @@ syscall.o signal.o semaphore.o vax_dev_init.o\ init_task.o reboot.o cpu_generic.o \ cpu_ka630.o cpu_ka640.o cpu_ka650.o cpu_ka660.o \ - cpu_ka410.o cpu_ka42.o cpu_ka43.o cpu_ka46.o cpu_ka55.o + cpu_ka410.o cpu_ka42.o cpu_ka43.o cpu_ka46.o cpu_ka55.o \ + cpu_vxt.o OX_OBJS := MX_OBJS := |