[xtensa-cvscommit] linux/arch/xtensa/kernel handlers.S,1.13,1.14 setup.c,1.6,1.7 traps.c,1.8,1.9
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-02-13 18:20:08
|
Update of /cvsroot/xtensa/linux/arch/xtensa/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv6671/arch/xtensa/kernel Modified Files: handlers.S setup.c traps.c Log Message: Documentation updates only, focused on removing many XTFIXME comments that no longer apply, are already resolved, were erroneous, etc. Index: handlers.S =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/handlers.S,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** handlers.S 13 Feb 2003 00:17:21 -0000 1.13 --- handlers.S 13 Feb 2003 18:19:20 -0000 1.14 *************** *** 66,71 **** */ - /* XTFIXME: There are several "#if 0" statements in this file. - Most of them, we should either enable or delete. */ #define _ASMLANGUAGE --- 66,69 ---- *************** *** 161,166 **** addi a0, a1, -(16+PT_SIZE) - /* XTFIXME: Should we do any stack ptr checking here? */ - doubleram_common: --- 159,162 ---- *************** *** 1177,1209 **** s32i a3, a1, PT_EXCVADDR ! /* XTFIXME: The following documentation is outdated. Need to update. */ ! ! // (Misc notes:) ! // PS combinations: ! // WINM EXCM WOE What ! // 0 0 0 non-windowed ABI context (task or handler ...) ! // 0 0 1 windowed ABI context (task or handler ...) ! // 0 1 0 exception occurred in non-windowed context ! // 0 1 1 exception occurred in windowed context ! // 1 0 0 (should never occur) ! // 1 0 1 window exception occurred ! // 1 1 0 (should never occur) ! // 1 1 1 exception in window exception handler ! ! // Okay, exception state is saved, stack frame is ready, a1 is valid, ! // we can set PS to exit the exception critical section (potentially ! // enabling level-1 interrupts) and allow window exceptions to occur. ! // ! // Set PS as follows: ! // INTLEVEL = max(INTLEVEL,1) ! // EXCM = 0 ! // PROGSTACK (UM) = 0 (we'd have to preserve it if staying on user stack!) ! // RING = 0 ! // OWB = 0 (don't care) ! // CALLINC = 0 (don't care) ! // WOE = 1 ! // WINM = 0 ! // Unless the cause is an interrupt, then we also set intlevel to 1. ! // rsr a3, PS movi a2, 1 --- 1173,1191 ---- s32i a3, a1, PT_EXCVADDR ! /* Okay, exception state is saved, stack frame is ready, a1 is valid, ! * we can set PS to exit the exception critical section (potentially ! * enabling level-1 interrupts) and allow window exceptions to occur. ! * ! * Set PS as follows: ! * INTLEVEL = max(INTLEVEL,1) ! * EXCM = 0 ! * UM = 0 (we'd have to preserve it if staying on user stack!) ! * RING = 0 ! * OWB = 0 (don't care) ! * CALLINC = 0 (don't care) ! * WOE = 1 ! * ! * Unless the cause is an interrupt, then we also set intlevel to 1. ! */ rsr a3, PS movi a2, 1 *************** *** 1626,1630 **** l32i a3, a1, PT_AREG3 // restore a3 - .global excdone // XTFIXME: label for development excdone: --- 1608,1611 ---- Index: setup.c =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/setup.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** setup.c 11 Feb 2003 07:20:50 -0000 1.6 --- setup.c 13 Feb 2003 18:19:21 -0000 1.7 *************** *** 119,123 **** meminfo_t *mi = (meminfo_t*)(tag->data); - /* XTFIXME: only CONVENTIONAL (SDRAM) supported? */ if (mi->type != MEMORY_TYPE_CONVENTIONAL) return -1; --- 119,122 ---- Index: traps.c =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/traps.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** traps.c 11 Feb 2003 07:22:25 -0000 1.8 --- traps.c 13 Feb 2003 18:19:21 -0000 1.9 *************** *** 284,288 **** regs->excvaddr, regs->pc, - /* XTFIXME: Shouldn't the 0xC0000000 value come from the CHAL? */ (regs->aregs[0] & 0x3FFFFFFF) | (regs->pc & 0xC0000000) ); #endif --- 284,287 ---- |