summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
Commit message (Collapse)AuthorAgeFilesLines
* this is the MIPS release (and not m68k)Thomas Bogendoerfer1998-08-281-2/+2
|
* grrr... another lost changeThomas Bogendoerfer1998-08-261-0/+5
|
* put back changes removed by merge:-(Thomas Bogendoerfer1998-08-262-5/+8
|
* this should work better nowThomas Bogendoerfer1998-08-251-3/+1
|
* workaround for gcc-2.7.2 bugThomas Bogendoerfer1998-08-251-3/+11
|
* o Merge with Linux 2.1.116.Ralf Baechle1998-08-2533-551/+1148
| | | | | o New Newport console code. o New G364 console code.
* - Reformat ptrace.c for readability.Ralf Baechle1998-07-162-1/+39
| | | | | | | | | | | | | | - Handle lazy fpu context switches correctly for ptrace(2). - Don't read $fcr31 on context switch, it's pure bloat. - New processes get $fcr31 initialized to no exceptions. - First beginnings of floating point support kernel code. For now we only can handle cvt.w.s and cvt.w.d instructions where the source register is a NaN, infinity or denorm. This is good enough to get Mozilla up. - Don't send SIGFPE on every floating point instruction we don't know how to handle, rather just complain. - Cleanup headerfile inclusions in the HPC3 code. - Fix the definition of PAGE_NONE.
* changed MAP_NR to more like the other Linux ports; this also fixesThomas Bogendoerfer1998-07-131-3/+2
| | | | fbmem (framebuffer device)
* fixed physical mappingThomas Bogendoerfer1998-07-131-1/+1
|
* added PS/2 mouse support for Jazz machinesThomas Bogendoerfer1998-07-132-6/+9
|
* o Support for the front panel on the Indy. The panel work now as aRalf Baechle1998-07-107-19/+99
| | | | | | | | | | | | | | | | | | | | | | | | | 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?
* o Merge with Linux 2.1.100.Ralf Baechle1998-06-3010-140/+176
| | | | | | | | | | | | | | | | | | o Cleanup the machine dependencies of floppy and rtc. The driver for the Dallas thingy in the Indy is still missing. o Handle allocation of zero'd pages correct for R4000SC / R4400SC. o Page colouring shit to match the virtual and physical colour of all mapped pages. This tends to produce extreme fragmentation problems, so it's deactivated for now. Users of R4000SC / R4400SC may re-enable the code in arch/mips/mm/init.c by removing the definition of CONF_GIVE_A_SHIT_ABOUT_COLOURS. Should get them somewhat further - but don't shake to hard ... o Fixed ptrace(2)-ing of syscalls, strace is now working again. o Fix the interrupt forwarding from the keyboard driver to the psaux driver, PS/2 mice are now working on the Indy. The fix is somewhat broken as it prevents generic kernels for Indy and machines which handle things different. o Things I can't remember.
* fixed baud rate for OlivettisThomas Bogendoerfer1998-06-161-0/+5
|
* Make the default configurations (RM200C / Acer PICA) compile.Ralf Baechle1998-05-072-18/+18
|
* o Merge with Linux 2.1.99.Ralf Baechle1998-05-0711-59/+230
| | | | | o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
* o New memset. Fastest in town for size > 6 bytes.Ralf Baechle1998-05-048-208/+309
| | | | | | | | | | | | | | | | | | | | | | | 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.
* o Merge with Linux 2.1.91.Ralf Baechle1998-04-054-21/+35
| | | | | | | | | 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-276-121/+234
| | | | | | | | | | 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.
* Undo accidential edits.Ralf Baechle1998-03-251-9/+1
|
* Store current in $28.Ralf Baechle1998-03-236-47/+33
|
* o Fix handling of interrupted syscalls.Ralf Baechle1998-03-225-68/+40
| | | | | | | | | | | | 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-1714-77/+109
| | | | | | | 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 ...
* Timer code rework. Done so far:Ralf Baechle1998-03-111-2/+2
| | | | | | | | | | | | | | | | | o Fix interrupt handler to not loose cycles o Warn about lost interrupts. o Fix calibration of the R4000 CPU timer. Still to do: o General cleanup of the timer code o Microsecond timers for the Indy o The calculated values for r4k_offset are still off by ~480 from the theoretical values. That means we're going to loose about 46 s per day. Are the crystals that bad or is there still a bug hidden somewhere? Maybe an option to set r4k_offset to a user supplied value might help? o Handle lost interrupts more gently so we don't loose time. o Handle 100MHz R4000 count / compare bug.
* And one final dose of tasteless hacks and everything else ...Ralf Baechle1998-03-042-2/+4
|
* Fixes, less loop unrolling. Reduces the size of the r4k cache handlingRalf Baechle1998-03-041-759/+179
| | | | | | routine by one third. I hope I fixed the problems with the second level cache of R4000SC / R4400SC - I can't test it since I only have other MIPS variants.
* Cache fixes, part #1.Ralf Baechle1998-03-033-6/+39
|
* added prototype for vdma_get_enable() the second time:-(Thomas Bogendoerfer1997-12-291-0/+1
|
* Merge with Linux 2.1.72, part 2.Ralf Baechle1997-12-164-0/+207
| | | | | | The new signal code with exception of the code for the rt signals. The definitions in <asm/siginfo.h> and <asm/ucontext.h> are currently just stolen from the Alpha and will need to be overhauled.
* Merge with Linux 2.1.72, part 1.Ralf Baechle1997-12-1615-525/+122
|
* added structure for scsi scatter/gather list needed by the jazz_esp driverThomas Bogendoerfer1997-12-151-0/+9
|
* Merge with Linux 2.1.67.Ralf Baechle1997-12-065-31/+39
|
* More chunky bits ...Ralf Baechle1997-12-021-11/+11
|
* Part #2 merging back my changes ...Ralf Baechle1997-12-0125-153/+197
|
* More bits of the shmiq code implementation.Miguel de Icaza1997-09-211-3/+31
|
* More ioctls, more structures, more more more.Miguel de Icaza1997-09-212-0/+25
|
* Miguel goes cosmetic.Miguel de Icaza1997-09-211-1/+1
|
* The IRIX prctl interfaceMiguel de Icaza1997-09-211-0/+42
|
* IRIX inventory support. Right now it has hardcoded my machine'sMiguel de Icaza1997-09-211-0/+26
| | | | | | information. This needs to be fixed at least to report the proper graphics capabilities on the machine. Optimally, we should scatter the right calls to the inventory all over the kernel source.
* - Set caching mode for KSEG0 to cached-noncoherent for all machines.Ralf Baechle1997-09-122-8/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1213-114/+120
| | | | CVS archive.
* Rename cp0_reg4 to cp0_contextMark Salter1997-09-011-3/+3
|
* Fixed unaligned access macros. gcc's builtin memcpy won't work.Mark Salter1997-09-011-9/+47
|
* Still more work on /dev/usema{,clone}.Mike Shaver1997-08-111-3/+2
| | | | | | | Code (but not necessarily working or healthy code) for all ioctls now in place. Need some syssgi support as well: SGI_FDHI, SGI_USE_FP_BCOPY.
* Added skeletal support for /dev/usema and /dev/usemaclone.Mike Shaver1997-08-102-1/+29
| | | | | | | | | | | | | | Still need to figure out how to do SVR-style clone devices with fops->open(), and I need a good poll() tutorial. =) Other than that, I think I know how to do: /dev/usemaclone open()ing, poll()ing /dev/usema ioctls: - UIOCATTACHSEMA - UIOCBLOCK - UIOCUNBLOCK Also, some minor additions to sysirix.c:syssgi().
* enabled values for TIOC?BRK from LinusThomas Bogendoerfer1997-08-071-2/+2
| | | | | disabled other TIOC?BRK values, because of the collision with TIOCMIWAIT and TIOCGICOUNT; otherwise you can't compile serial.c
* Merge to 2.1.38.Miguel de Icaza1997-08-062-1/+9
| | | | | | | | | | | 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
* Missing file.Miguel de Icaza1997-08-051-0/+88
|
* Oops missing files for compiling a working kernelMiguel de Icaza1997-08-041-0/+195
|
* shared memory input queue changes:Miguel de Icaza1997-07-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | - make keyboard forward events to the streams keyboard module for delivery to the shmiq. - Fixes to make the graphics streams driver use dentries (this is the reason Alex's compile failed). - Major/misc numbers that were assigned by HPA for the streamable devices. - keyboard streams device. - working shmiq framework for the keyboard. What needs to be done: - Fix the mouse driver, did someone ever got any information out from /dev/psaux on the SGI port? - Figure out why changes made in the kernel side to the SHMIQ are not always seen by the user space.
* Changes required to share a piece of memory between kernel inMiguel de Icaza1997-07-311-0/+4
| | | | | | | interrupt-land and a user application. Vmalloc is now an inline function that calls vmalloc_prot with the original protection bits used in vmalloc.