From 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 4 May 1998 09:12:48 +0000 Subject: o New memset. Fastest in town for size > 6 bytes. o New clear_user. o Memcpy now efficiently copies the (src^dest)&3 != 0. o Memmove new correctly deals with overlaps o Rewrite csum_partial in assembler. o Rewrte csum_partial_from_user in assembler. o __copy_user is now integrated with memcpy. o get_user now returns a zero value on error. o copy_from_user now clears the destination buffer on error. o strncpy_user now has a more efficient caller routine. o strlen_user now has a more efficient caller routines and is faster. o The unaligned handler is now much cleaner. It's now also save from interrupt. Some more esotheric bugs fixed as well. o Don't export bcopy anymore, it's now a inline function. o Delete ancient junk from the first days of Linux/MIPS. o Delete dead code in indy_sc.c. o Including the IDE driver doesn't crash an Indy anymore. o Eleminate active_ds. We now use current_ds directly in the thread structure which is faster and threadsafe. Saves almost 2kb on the kernel. o Serial console should work again. --- arch/mips/kernel/entry.S | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'arch/mips/kernel/entry.S') diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S index 413eb8a2f..40624da25 100644 --- a/arch/mips/kernel/entry.S +++ b/arch/mips/kernel/entry.S @@ -7,7 +7,7 @@ * * Copyright (C) 1994, 1995 by Ralf Baechle * - * $Id: entry.S,v 1.8 1998/03/27 04:47:53 ralf Exp $ + * $Id: entry.S,v 1.9 1998/04/05 11:23:50 ralf Exp $ */ /* @@ -100,6 +100,8 @@ LEAF(spurious_interrupt) STI #define __BUILD_clear_cli(exception) \ CLI +#define __BUILD_clear_kmode(exception) \ + KMODE #define __BUILD_clear_fpe(exception) \ cfc1 a1,fcr31; \ li a2,~(0x3f<<12); \ @@ -143,8 +145,8 @@ EXPORT(exception_count_##exception); \ nop; \ END(handle_##exception) - BUILD_HANDLER(adel,ade,ade,silent) /* #4 */ - BUILD_HANDLER(ades,ade,ade,silent) /* #5 */ + BUILD_HANDLER(adel,ade,kmode,silent) /* #4 */ + BUILD_HANDLER(ades,ade,kmode,silent) /* #5 */ BUILD_HANDLER(ibe,ibe,cli,verbose) /* #6 */ BUILD_HANDLER(dbe,dbe,cli,verbose) /* #7 */ BUILD_HANDLER(bp,bp,sti,silent) /* #9 */ -- cgit v1.2.3