summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace set_cp0_status / set_cp0_config by three functions, clear_cp0_*,Ralf Baechle2001-03-111-1/+1
| | | | | | | | set_cp0_* and change_cp0_* which makes the kernel code somewhat more readable. Going through the kernel code I notices some stupid abuse of the old function like set_cp0_status(ST0_BEV, 1) - this clear ST0_BEV but actually looks like attempting to set it and other abuses, so will people please look over their code again.
* Merge with Linux 2.4.1.Ralf Baechle2001-01-311-2/+0
|
* Final round of FPU emulator bits.Ralf Baechle2000-12-101-2/+3
|
* Fix the build after the previous patch.Keith M Wesolowski2000-10-291-2/+2
|
* Fix register corruption bug. Credits for forward porting this patchRalf Baechle2000-10-271-7/+7
| | | | go to Jun Sun Industries :-)
* Merge with Linux 2.4.0-test9. Please check DECstation, I had a numberRalf Baechle2000-10-051-1/+1
| | | | | | | of rejects to fixup while integrating Linus patches. I also found that this kernel will only boot SMP on Origin; the UP kernel freeze soon after bootup with SCSI timeout messages. I commit this anyway since I found that the last CVS versions had the same problem.
* Merge with Linux 2.4.0-test3-pre5. 64-bit kernel are still notRalf Baechle2000-07-081-3/+1
| | | | -Werror clean.
* Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make mergingRalf Baechle2000-06-191-2/+2
| | | | | possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
* Merge with 2.4.0-test1.Ralf Baechle2000-06-161-1/+36
|
* Call syscall_trace after finishing the sigreturn syscall but beforeRalf Baechle2000-05-191-0/+4
| | | | returning from userspace.
* Merge with Linux 2.3.38.Ralf Baechle2000-02-051-2/+2
|
* Merge with Linux 2.3.32.Ralf Baechle2000-02-041-2/+2
|
* Merge with 2.3.19.Ralf Baechle1999-10-091-6/+2
|
* Merge with 2.3.10.Ralf Baechle1999-09-281-161/+277
|
* Same fix for mainline.Ralf Baechle1999-08-241-2/+2
|
* My proposal for non-generic kernels:Harald Koerfgen1999-08-091-3/+3
| | | | | | | | | o only code for the configured CPU is compiled and linked (saves ~100k for R3000 kernels!) o removed a lot of indirect function calls o removed Ralf's "cowboy patch" o added sanity check for DECstations (print warning if the kernel is configured for the wrong CPU)
* Merge with Linux 2.3.6. Sorry, this isn't tested on silicon, I don'tRalf Baechle1999-06-171-1/+2
| | | | have a MIPS box at hand.
* Merge with Linux 2.2.1.Ralf Baechle1999-02-151-1/+3
|
* dump core on SIGBUS, tooThomas Bogendoerfer1998-08-281-1/+2
|
* o Merge with Linux 2.1.116.Ralf Baechle1998-08-251-6/+13
| | | | | o New Newport console code. o New G364 console code.
* o Support for the front panel on the Indy. The panel work now as aRalf Baechle1998-07-101-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | user would expect it to work, like under IRIX with the exception that the machine doesn't freeze solid as long as the button is pressed. o Realtime clock driver (CONFIG_SGI_DS1286) for the Indy. Includes /proc/rtc interface which tells you everything about your RTC which you never wanted to know. You have to configure this driver into your kernel or you won't be able to set your RTC. o Some cleanup of the RTC interfaces in Linux, RTC does no longer mean PC-style RTC. The userland interface definitions are now in <linux/rtc.h>. We still need some more cleanup until we can enable several RTC drivers. o Virtual aliasing fixes for ptrace(2). o Add ptrace(2) interface definitions needed to build GDB to <asm/ptrace.h>. o Revert to some older routines, the newer optimized ones are buggy. o On panic the Indy LED will be blinking fast crying to the admin passing by [music from Rocky Horror show] ``fix me, fix me, fix me''. o On panic the power button will only reboot the machine, not power it down. That's probably more what people want it to do. o Remove some old files. o Did I tell you that CVS is buggy?
* Make the shit compile again.Ralf Baechle1998-07-041-1/+2
|
* Fix for kernel bug tracked down by Thomas Bogendoerfer.Ralf Baechle1998-07-031-1/+3
|
* o Merge with Linux 2.1.91.Ralf Baechle1998-04-051-17/+42
| | | | | | | | | o First round of bugfixes for the SC/MC CPUs. o FPU context switch fixes. o Lazy context switches. o Faster syscalls. o Removed dead code. o Shitloads of other things I forgot ...
* o Speedup syscalls. Now 816ns per syscall. Yes, nanoseconds and goodbyeRalf Baechle1998-03-271-20/+12
| | | | | | | | | | Pentium :-) o Little bit smarter handling of unimplemented exceptions. o Fix FPU context switches. o Fix reboot / halt. Powerdown in software still doesn't work. o Fix the fix for handling of return values of interrupted syscalls. o Handling of the Indy second level cache now works as spec'ed. Purely cosmentic, this was not causing any problems.
* o Fix handling of interrupted syscalls.Ralf Baechle1998-03-221-12/+11
| | | | | | | | | | | | o Just count missed heartbeats on Indys but don't print a messages. This was a bug by itself. o Fix a crash in exit_mmap(). o Fix scanmem(). o Fix clear_active_bh(), a ~ was missing causing weak performance. o Remove experimental cache instructions from stackframe.h. It wasn't improving performance as I was hoping. o Shrink the size of the exception handler routines in uaccess.h. o Cleanup, remove dead code in various files.
* Look Ma' what I found on my harddisk ...Ralf Baechle1998-03-171-17/+33
| | | | | | | o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
* Merge with Linux 2.1.72, part 1.Ralf Baechle1997-12-161-175/+276
|
* Part #2 merging back my changes ...Ralf Baechle1997-12-011-2/+2
|
* - Set caching mode for KSEG0 to cached-noncoherent for all machines.Ralf Baechle1997-09-121-26/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some MIPS boxes the firmware doesn't do that for us. - We still had two unprotected loads in the sys_sigrestore(2). Use __get_user(). - Handle QED-style L1 caches != 16kb per cache correctly. - Protect the cacheflush instructions for the signal trampoline just like the loads in __get_user(). Otherwise the following code will result in a nice "Can not handle kernel paging request" message: #include <signal.h> static void hurz(void) { } main() { signal(SIGSEGV, hurz); /* Chainsaw the stack pointer ... */ asm("move $29,%0" : :"r"(0x70000000)); *(int *) 8 = 0; } With the fix applied I still get the error message. The cause of this problem is that gas produces an __ex_table section with wrong contents. Oh well, how good that I have a nice working post 2.8.1 binutils version at home in good ol' Germany ...
* Merge with Linux 2.1.55. More bugfixes and goodies from my privateRalf Baechle1997-09-121-2/+12
| | | | CVS archive.
* Merge to 2.1.38.Miguel de Icaza1997-08-061-3/+3
| | | | | | | | | | | IMPORTANT NOTE: I could not figure out what information is the one that should be used for the following files (ie, those that were in our tree, or those that came from Linus' patch), please, check these: include/asm-mips/jazz.h include/asm-mips/jazzdma.h include/asm-mips/ioctls.h
* Fix the handling of 32/64 bit processes. Disable the 64 bit case forRalf Baechle1997-06-251-8/+22
| | | | now because we're not 64 bit yet ...
* Fix misscomputation of signal stackframe address in setup_frame().Ralf Baechle1997-06-121-3/+4
| | | | | Add missing return that was causing all processes receiving a signal to be terminated with a SIGSEGV.
* Initial revisionRalf Baechle1997-06-011-2/+9
|
* Import of Linux/MIPS 2.1.36Ralf Baechle1997-04-291-82/+43
|
* Import of Linux/MIPS 2.1.14.2Ralf Baechle1997-03-251-113/+103
|
* Import of Linux/MIPS 2.1.14Ralf Baechle1997-01-071-158/+284
|
* Import of Linux/MIPS 1.3.0Ralf Baechle1995-11-141-0/+295