Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge with 2.4.0-test4-pre2. | Ralf Baechle | 2000-07-12 | 1 | -0/+1 |
| | |||||
* | Don't include config.h. | Ralf Baechle | 2000-07-12 | 1 | -3/+2 |
| | |||||
* | This one relies on config.h. | Ralf Baechle | 2000-07-12 | 1 | -2/+2 |
| | |||||
* | We don't need config.h. | Ralf Baechle | 2000-07-12 | 1 | -5/+3 |
| | |||||
* | $28 has to be setup before prom_init because smp_processor_id() | Ulf Carlsson | 2000-07-11 | 1 | -4/+4 |
| | | | | is used in __wake_up. | ||||
* | Merge with Linux 2.4.0-test3. | Ralf Baechle | 2000-07-11 | 1 | -1/+1 |
| | |||||
* | Remove bogusity. | Ulf Carlsson | 2000-07-10 | 1 | -3/+2 |
| | |||||
* | Same for 64-bit kernel. | Ralf Baechle | 2000-07-09 | 1 | -8/+7 |
| | |||||
* | Kill warnings in the 64-bit kernel. | Ralf Baechle | 2000-07-09 | 8 | -70/+68 |
| | |||||
* | We have to enable interrupts *AFTER* we read CP0_BADVADDR. | Ulf Carlsson | 2000-07-08 | 1 | -2/+3 |
| | | | | We should not do ret_from_irq after a page fault. | ||||
* | Merge with Linux 2.4.0-test3-pre5. 64-bit kernel are still not | Ralf Baechle | 2000-07-08 | 3 | -16/+5 |
| | | | | -Werror clean. | ||||
* | Merge with 2.4.0-test3-pre4. | Ralf Baechle | 2000-07-08 | 3 | -145/+60 |
| | |||||
* | Vmalloc/vfree fixes: use swapper_pg_dir[0] for the vmalloc range | Kanoj Sarcar | 2000-07-06 | 2 | -1/+10 |
| | | | | | | translations, use a kernel pmd table that points into the kptbl[]. This is to make the generic part of vmalloc()/vfree() find pgd/pmd/pte that it expects. | ||||
* | Truncate sign extension in oops. | Ulf Carlsson | 2000-07-01 | 1 | -1/+5 |
| | |||||
* | Fix the oops messages. | Ulf Carlsson | 2000-07-01 | 1 | -11/+11 |
| | |||||
* | Implement a functional vmalloc(). THe vmalloc range address translations | Kanoj Sarcar | 2000-06-30 | 3 | -5/+59 |
| | | | | | | | | are stashed in an array of page tables, starting from kptbl[]. The fast tlbmiss handler quickly checks to see if the faulting address is in the vmalloc range, and if so, it uses the translations in the kptbl to update the tlbs. Still to do: tlb invalid faults in the vmalloc range needs to be handled properly. | ||||
* | Explain pgd/pmd allocation failure strategies. Create a global bad-pmd-table, | Kanoj Sarcar | 2000-06-27 | 1 | -1/+0 |
| | | | | | | | distinct from invalid-pmd-table for use during pmd allocation failure (so as to differentiate pgd_bad and pgd_none). The bad page table must have invalid pte entries to catch any user references to the range of virtual addresses it covers. | ||||
* | Fix another minor typo - get the global/special page symbols to point | Kanoj Sarcar | 2000-06-27 | 1 | -1/+1 |
| | | | | to their rightful locations. | ||||
* | Delete pmd_present/pgd_present. Explain pgd/pmd/pte allocation and | Kanoj Sarcar | 2000-06-26 | 1 | -2/+3 |
| | | | | | initialization. Make sure to allocate only one page for the page table (prevent memory leaks), since only one page is freed up. | ||||
* | Fix typo to make sure the page directory/tables get aligned on to page | Kanoj Sarcar | 2000-06-24 | 1 | -1/+1 |
| | | | | boundaries. | ||||
* | Sys32_fcntl from sparc to prevent procmail from confusing the kernel. | Kanoj Sarcar | 2000-06-23 | 2 | -1/+62 |
| | |||||
* | Fix struct stat64 in the 32-bit kernel and struct stat in the 64-bit | Ralf Baechle | 2000-06-20 | 2 | -30/+7 |
| | | | | | kernel to match each other and the the glibc definition. The glibc part of this change has been sent to Andreas. | ||||
* | Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging | Ralf Baechle | 2000-06-19 | 4 | -30/+25 |
| | | | | | possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown. | ||||
* | Merge with 2.4.0-test1. | Ralf Baechle | 2000-06-16 | 1 | -1/+36 |
| | |||||
* | One more 32bit call. | Kanoj Sarcar | 2000-06-14 | 2 | -1/+45 |
| | |||||
* | The tlb mod/load/store exception handlers _have_ to go to do_page_fault, | Kanoj Sarcar | 2000-06-13 | 3 | -159/+15 |
| | | | | | and can not do with pte bit twiddling without grabbing page_table_lock. Reinstate most of the old code, after disposing of an extra jump. | ||||
* | Fix the code that puts in (possibly different) tlblo0/tlblo1 entries | Kanoj Sarcar | 2000-06-12 | 1 | -3/+5 |
| | | | | for the mapped kernel. Compute the "pfn" field properly. | ||||
* | Have the slave bootstrap code actually look at the text and data server | Kanoj Sarcar | 2000-06-09 | 1 | -2/+7 |
| | | | | | nasids that the master nasid found for it. Sanitize the replication procedures. | ||||
* | Each node needs to have a structure that the master nasid fills up to | Kanoj Sarcar | 2000-06-09 | 1 | -1/+0 |
| | | | | | tell it where to get the kernel data from (ie, which nasid holds the kernel data). Remove debug cruft from head.S. | ||||
* | Step one of trying to remove the assumption that nasid 0 is present | Kanoj Sarcar | 2000-06-08 | 1 | -3/+33 |
| | | | | from the mapped kernel code. | ||||
* | Mapped kernel changes: create elf sections as close as possible to | Kanoj Sarcar | 2000-06-08 | 1 | -31/+27 |
| | | | | | IRIX, to get the same kind of loader behavior. Read comments in mapped_kernel.h for more details. | ||||
* | *** empty log message *** | Ralf Baechle | 2000-06-06 | 1 | -12/+13 |
| | |||||
* | MAke sure the mapped kernel does not loose its prom command line. | Kanoj Sarcar | 2000-06-06 | 1 | -1/+0 |
| | |||||
* | Entrylo1 must at least be marked global for the tlb entry mapping the | Kanoj Sarcar | 2000-06-06 | 1 | -1/+2 |
| | | | | mapped kernel text/data for tlb translation to work properly. | ||||
* | The tlbwired register is now set up in the head.S code. | Kanoj Sarcar | 2000-06-06 | 1 | -363/+115 |
| | |||||
* | Initial rudimentary support for mapped kernel. The kernel text and data | Kanoj Sarcar | 2000-06-06 | 1 | -87/+368 |
| | | | | | | are placed in the cksseg area, and such behavior is tuned thru a make option (off by default). Basis for future kernel text replication and partitioning work/study. | ||||
* | Fix the address twiddling. For some reason, the code that I was expecting | Kanoj Sarcar | 2000-06-05 | 1 | -11/+10 |
| | | | | | was not getting generated (coding problem or cpp/as problem, no point tracking this down). | ||||
* | Set smp_num_cpus in the IP27 specific code. Getting ready to handle | Kanoj Sarcar | 2000-06-02 | 1 | -2/+0 |
| | | | | PROM-disabled cpus. | ||||
* | Now that __kernel_clock_t is 64 bits, we need to make sure we have a | Kanoj Sarcar | 2000-06-01 | 2 | -1/+30 |
| | | | | | | 32 bit version of the sys_times() call (like sparc64, ia64), else the kernel overwrites user space it is not supposed to. Compilations could not be done because of this. | ||||
* | Forgot.. | Ulf Carlsson | 2000-05-30 | 1 | -2/+3 |
| | |||||
* | First cut of TLB handlers in assembler. I'm not using | Ulf Carlsson | 2000-05-25 | 2 | -10/+227 |
| | | | | | | | | | the context register as it should be used, but let's look into that later. If there is a problem with the code it will crash after right after freeing unused kernel memery. I have this code tested on both UP and SMP though. | ||||
* | We have to check for pending signals when we return from do_page_fault to | Ulf Carlsson | 2000-05-20 | 1 | -1/+1 |
| | | | | handle sigbus and sigsegv within a reasonable amount of time. | ||||
* | Call syscall_trace after finishing the sigreturn syscall but before | Ralf Baechle | 2000-05-19 | 2 | -0/+8 |
| | | | | returning from userspace. | ||||
* | Less intrusive workaround for the gas ``-P'' bug. | Ralf Baechle | 2000-05-18 | 1 | -1/+4 |
| | |||||
* | sigset_t fixes and a few new functions.. | Ulf Carlsson | 2000-05-13 | 2 | -26/+206 |
| | |||||
* | sigset_t is only 2 words nowadays | Ulf Carlsson | 2000-05-13 | 1 | -3/+1 |
| | |||||
* | Merge with Linux 2.3.99-pre7 and various other bits. | Ralf Baechle | 2000-05-12 | 1 | -32/+44 |
| | |||||
* | Add sys32_writev and sys32_readv. | Ulf Carlsson | 2000-05-12 | 2 | -3/+154 |
| | |||||
* | SMP FPU management: similar to what sparc does, no lazy fpu context | Kanoj Sarcar | 2000-05-11 | 5 | -15/+36 |
| | | | | | | switching in SMP mode, use PF_USEDFPU to determine whether a program used the fpu in the last time quantum and so needs the fpu context to be saved during context switch. | ||||
* | When last_task_used_math gets the cpu, ST0_CU1 is set during context | Kanoj Sarcar | 2000-05-11 | 3 | -23/+90 |
| | | | | | | | | | | | switch. All other FP programs have ST0_CU1 cleared in their thread_struct, so that they incur faults on first touching the FPU, and are made the FPU owner, aka last_task_used_math. used_math determines whether a thread has used the FPU before; if not, the FPU needs to be initialized before it can own the FPU. Note: a FP program that has already been using the fpu (not neccesarily the owner), must reinit the fpu if it uses the fpu in a signal handler; a sigreturn restores the original context, discarding the context of the handler. |