Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1767 → Rev 1769

/kernel/trunk/arch/sparc64/src/console.c
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup sparc64
/** @addtogroup sparc64
* @{
*/
/** @file
183,6 → 183,5
}
}
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/sparc64/src/sparc64.c
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup sparc64
/** @addtogroup sparc64
* @{
*/
/** @file
95,6 → 95,5
{
}
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/context_offset.h
50,7 → 50,3
#define EOFFSET_EPC 0x80
#define EOFFSET_K1 0x84
#define REGISTER_SPACE 136
 
/** @}
*/
 
/kernel/trunk/arch/mips32/include/asm/regname.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
94,6 → 94,5
 
#endif /* _REGNAME_H_ */
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/asm/boot.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
41,6 → 41,6
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/interrupt.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32interrupt
/** @addtogroup mips32interrupt
* @{
*/
/** @file
53,6 → 53,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/exception.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
123,6 → 123,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/fpu_context.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
46,6 → 46,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/byteorder.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
56,6 → 56,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/console.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
40,6 → 40,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/cache.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
35,10 → 35,11
#ifndef __mips32_CACHE_H__
#define __mips32_CACHE_H__
 
extern void cache_error(void);
#include <typedefs.h>
 
extern void cache_error(istate_t *istate);
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/types.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
62,6 → 62,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/stack.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
40,6 → 40,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/elf.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
47,6 → 47,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/memstr.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
44,6 → 44,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/arg.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
56,6 → 56,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/atomic.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
62,7 → 62,7
" move %2, %0\n"
" sc %0, %1\n"
" beq %0, %4, 1b\n" /* if the atomic operation failed, try again */
/* nop */ /* nop is inserted automatically by compiler */
" nop\n"
: "=r" (tmp), "=m" (val->count), "=r" (v)
: "i" (i), "i" (0)
);
72,6 → 72,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/arch.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
37,6 → 37,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/asm.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
68,6 → 68,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/faddr.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
41,6 → 41,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/mm/tlb.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32mm
/** @addtogroup mips32mm
* @{
*/
/** @file
181,6 → 181,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/debugger.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32debug
/** @addtogroup mips32debug
* @{
*/
/** @file
65,6 → 65,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/context.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
76,6 → 76,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/debug.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32debug
/** @addtogroup mips32debug
* @{
*/
/** @file
51,6 → 51,5
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/include/barrier.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
47,6 → 47,6
 
#endif
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/src/exception.c
48,23 → 48,26
#include <arch/debugger.h>
 
static char * exctable[] = {
"Interrupt","TLB Modified","TLB Invalid","TLB Invalid Store",
"Address Error - load/instr. fetch",
"Address Error - store",
"Bus Error - fetch instruction",
"Bus Error - data reference",
"Syscall",
"BreakPoint",
"Reserved Instruction",
"Coprocessor Unusable",
"Arithmetic Overflow",
"Trap",
"Virtual Coherency - instruction",
"Floating Point",
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"WatchHi/WatchLo", /* 23 */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"Virtual Coherency - data",
"Interrupt",
"TLB Modified",
"TLB Invalid",
"TLB Invalid Store",
"Address Error - load/instr. fetch",
"Address Error - store",
"Bus Error - fetch instruction",
"Bus Error - data reference",
"Syscall",
"BreakPoint",
"Reserved Instruction",
"Coprocessor Unusable",
"Arithmetic Overflow",
"Trap",
"Virtual Coherency - instruction",
"Floating Point",
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"WatchHi/WatchLo", /* 23 */
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
"Virtual Coherency - data",
};
 
static void print_regdump(istate_t *istate)
174,4 → 177,3
 
/** @}
*/
 
/kernel/trunk/arch/mips32/src/cache.c
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup mips32
/** @addtogroup mips32
* @{
*/
/** @file
33,13 → 33,15
*/
 
#include <arch/cache.h>
#include <arch/exception.h>
#include <typedefs.h>
#include <panic.h>
 
void cache_error(void)
void cache_error(istate_t *istate)
{
panic("cache_error exception\n");
panic("cache_error exception (epc=%p)\n", istate->epc);
}
 
/** @}
/** @}
*/
 
/kernel/trunk/arch/mips32/src/start.S
309,7 → 309,7
sw $sp,EOFFSET_SP($k0)
add $sp, $k0, 0
 
jal tlb_refill /* tlb_refill(register_space) */
jal tlb_refill
add $a0, $sp, 0
 
REGISTERS_LOAD $sp
324,7 → 324,7
add $sp, $k0, 0
 
jal cache_error
nop
add $a0, $sp, 0
 
REGISTERS_LOAD $sp