From: Andy P. <at...@us...> - 2001-01-20 22:00:13
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv21285/include/asm-vax Modified Files: processor.h Log Message: integrate 2.2 tree with 2.4. Different task layouts, interrupts and bh handling. bh_active and bh_mask are no more, in_softirq() instead. Header file and C code prototypes differed. Index: processor.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/processor.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** processor.h 2001/01/18 18:49:49 1.3 --- processor.h 2001/01/20 22:00:20 1.4 *************** *** 49,53 **** } mm_segment_t; ! struct thread_struct { struct vax_pcb pcb; --- 49,54 ---- } mm_segment_t; ! /* From alpha port: FIXME: this needs sorting. */ ! /* I doubt we need flags ?(alpha specific) or fs */ struct thread_struct { struct vax_pcb pcb; *************** *** 70,73 **** --- 71,86 ---- int bpt_nsaved; }; + + /* FIXME: */ + #define INIT_THREAD { (struct pt_regs *) 0, \ + { 0,{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}, \ + {0},{0},{0},{0},{0},{0}}}, \ + 0, 0, \ + sizeof(init_stack) + (__u32) &init_stack, \ + (__pa((__u32) &swapper_pg_dir[0]) + _SEGMENT_TABLE),\ + 0,0,0, \ + (mm_segment_t) { 0,1}, \ + (per_struct) {{{{0,}}},0,0,0,0,{{0,}}} \ + } /* FIXME: tune this to the VAX memory map */ |