Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't include sys/user.h merely for its side-effect of recursively | David Schultz | 2004-11-27 | 4 | -4/+2 |
| | | | | | | | including other headers. Notes: svn path=/head/; revision=138129 | ||||
* | Enable interrupts as soon as the pending interrupts have been masked. | Olivier Houchard | 2004-11-23 | 1 | -4/+3 |
| | | | | Notes: svn path=/head/; revision=138022 | ||||
* | Use ns8250. | Olivier Houchard | 2004-11-23 | 2 | -3/+2 |
| | | | | Notes: svn path=/head/; revision=138021 | ||||
* | Cleanup. | Olivier Houchard | 2004-11-21 | 1 | -41/+3 |
| | | | | Notes: svn path=/head/; revision=137977 | ||||
* | Set the frame pointer to 0 in fork_trampoline(). | Olivier Houchard | 2004-11-21 | 1 | -0/+1 |
| | | | | Notes: svn path=/head/; revision=137976 | ||||
* | Implement breakpoints and single stepping on arm. | Olivier Houchard | 2004-11-21 | 4 | -21/+109 |
| | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=137975 | ||||
* | Remove useless code. | Olivier Houchard | 2004-11-20 | 1 | -120/+0 |
| | | | | Notes: svn path=/head/; revision=137941 | ||||
* | Implement enough to be able to enter and leave DDB. | Olivier Houchard | 2004-11-20 | 3 | -5/+43 |
| | | | | Notes: svn path=/head/; revision=137940 | ||||
* | Get the kernel stack right now that the u-area is gone. | Olivier Houchard | 2004-11-20 | 4 | -6/+7 |
| | | | | Notes: svn path=/head/; revision=137939 | ||||
* | Remove UAREA_PAGES and USPACE definitions. The definitions of | David Schultz | 2004-11-20 | 1 | -9/+1 |
| | | | | | | | | | | | USPACE_SVC_STACK_TOP, USPACE_SVC_STACK_BOTTOM, USPACE_UNDEF_STACK_TOP, and USPACE_UNDEF_STACK_BOTTOM look wrong to me, so I'm leaving them alone. Reviewed by: arch@ Notes: svn path=/head/; revision=137919 | ||||
* | Remove some references to U area here while trying not to break | David Schultz | 2004-11-20 | 1 | -4/+3 |
| | | | | | | | | | | anything. Someone with ARM hardware could do a lot more to untangle this code. Reviewed by: arch@ Notes: svn path=/head/; revision=137918 | ||||
* | Remove references to U area and garbage collect includes. | David Schultz | 2004-11-20 | 1 | -3/+1 |
| | | | | | | | Reviewed by: arch@ Notes: svn path=/head/; revision=137917 | ||||
* | U areas are going away, so don't allocate one for process 0. | David Schultz | 2004-11-20 | 2 | -17/+1 |
| | | | | | | | Reviewed by: arch@ Notes: svn path=/head/; revision=137912 | ||||
* | Increase cnt.v_syscall and cnt.v_trap when needed. | Olivier Houchard | 2004-11-20 | 1 | -0/+3 |
| | | | | Notes: svn path=/head/; revision=137903 | ||||
* | Move KERNPHYSADDR and KERNVIRTADDR from std.i80321 to std.iq31244. | Olivier Houchard | 2004-11-18 | 2 | -2/+2 |
| | | | | | | | Use the correct KERNPHYSADDR. Notes: svn path=/head/; revision=137838 | ||||
* | Simplify a bit bus_dmamap_load_buffer by removing the "first" parameter, use | Olivier Houchard | 2004-11-16 | 1 | -38/+21 |
| | | | | | | | | | nseg == -1 instead. Obtained from: NetBSD Notes: svn path=/head/; revision=137760 | ||||
* | MFi386: | Olivier Houchard | 2004-11-15 | 1 | -17/+14 |
| | | | | | | | | - inlina bus_dmamap_load_buffer - Directly pass the pmap to bus_dmamap_load_buffer, instead of the struct thread Notes: svn path=/head/; revision=137758 | ||||
* | Remove debugging printf. | Olivier Houchard | 2004-11-13 | 1 | -1/+0 |
| | | | | Notes: svn path=/head/; revision=137665 | ||||
* | Don't forget to clear the PG_WRITEABLE flag when appropriate. | Olivier Houchard | 2004-11-13 | 1 | -0/+6 |
| | | | | Notes: svn path=/head/; revision=137664 | ||||
* | Use uma_prealloc() on the l2table_zone to prevent a LOR at startup. | Olivier Houchard | 2004-11-13 | 1 | -3/+5 |
| | | | | Notes: svn path=/head/; revision=137663 | ||||
* | Implement interrupt counting, so that vmstat -i work. | Olivier Houchard | 2004-11-12 | 3 | -9/+21 |
| | | | | Notes: svn path=/head/; revision=137629 | ||||
* | Don't forget to include opt_vm.h. | Olivier Houchard | 2004-11-10 | 1 | -0/+2 |
| | | | | Notes: svn path=/head/; revision=137552 | ||||
* | Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT. | Olivier Houchard | 2004-11-10 | 2 | -6/+16 |
| | | | | Notes: svn path=/head/; revision=137551 | ||||
* | Invalidate the data cache in pmap_qremove() instead of in pmap_kenter(), | Olivier Houchard | 2004-11-10 | 1 | -2/+2 |
| | | | | | | | and in pmap_enter_quick() instead of pmap_enter(). Notes: svn path=/head/; revision=137549 | ||||
* | Remove __P here too. | Tom Rhodes | 2004-11-10 | 1 | -3/+3 |
| | | | | | | | Ok'ed by: cognet Notes: svn path=/head/; revision=137498 | ||||
* | Use the RET macro. | Olivier Houchard | 2004-11-09 | 25 | -296/+295 |
| | | | | Notes: svn path=/head/; revision=137463 | ||||
* | Import a RET macro, that will use bx if the arch supports it. | Olivier Houchard | 2004-11-09 | 1 | -0/+36 |
| | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=137462 | ||||
* | Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc(). | Alan Cox | 2004-11-08 | 1 | -3/+5 |
| | | | | | | | | | Change the spelling of the "catch" option to be consistent with the new options. Implement the "no wait" option. An implementation of the "CPU private" for i386 will be committed at a later date. Notes: svn path=/head/; revision=137372 | ||||
* | Add device mem in config files. | Olivier Houchard | 2004-11-07 | 2 | -0/+2 |
| | | | | Notes: svn path=/head/; revision=137363 | ||||
* | Import md bits for mem(4) on arm. | Olivier Houchard | 2004-11-07 | 4 | -45/+202 |
| | | | | | | | While I'm there, cleanup a bit pmap.h. Notes: svn path=/head/; revision=137362 | ||||
* | Remove useless code. | Olivier Houchard | 2004-11-07 | 1 | -14/+0 |
| | | | | Notes: svn path=/head/; revision=137341 | ||||
* | Disable interrupts for atomic_cmpset_32, this one is just not atomic. | Olivier Houchard | 2004-11-05 | 1 | -10/+13 |
| | | | | | | | Don't export it to userland. Notes: svn path=/head/; revision=137282 | ||||
* | Copy the syscall args in a tmp variable instead of directly using the | Olivier Houchard | 2004-11-05 | 1 | -23/+55 |
| | | | | | | | | trapframe, as it can be modified in the syscall. Call thread_user_enter() when appropriate. Notes: svn path=/head/; revision=137275 | ||||
* | Save a few cycles in context switch. | Olivier Houchard | 2004-11-05 | 1 | -90/+36 |
| | | | | | | | Update comments to reflect reality. Notes: svn path=/head/; revision=137274 | ||||
* | If we're still running at the physical address, jump to the virtual address | Olivier Houchard | 2004-11-05 | 2 | -33/+20 |
| | | | | | | | | instead before calling initarm(). This removes the need to map virtual == physical in initarm(). Notes: svn path=/head/; revision=137273 | ||||
* | Be more verbose about cache capacities. | Olivier Houchard | 2004-11-05 | 1 | -2/+18 |
| | | | | Notes: svn path=/head/; revision=137272 | ||||
* | Implement casuptr. | Olivier Houchard | 2004-11-05 | 2 | -6/+51 |
| | | | | Notes: svn path=/head/; revision=137271 | ||||
* | Call pmap_pte_init_arm9 instead of pmap_pte_init_generic if | Olivier Houchard | 2004-11-05 | 1 | -0/+4 |
| | | | | | | | ARM9_CACHE_WRITE_THROUGH is defined. Notes: svn path=/head/; revision=137270 | ||||
* | In cpu_critical_fork_exit(), make sure to set td_md.md_critnest so that | Olivier Houchard | 2004-11-05 | 1 | -0/+2 |
| | | | | | | | | | interrupts will be enabled. Spotted out by: jhb Notes: svn path=/head/; revision=137264 | ||||
* | Protect the function declarations with #ifdef _KERNEL. | Olivier Houchard | 2004-11-04 | 1 | -0/+2 |
| | | | | Notes: svn path=/head/; revision=137229 | ||||
* | Directly use __pcpu for PCPU_* instead of pcpup. | Olivier Houchard | 2004-11-04 | 1 | -3/+4 |
| | | | | Notes: svn path=/head/; revision=137228 | ||||
* | Decrease KSTACK_PAGES and UAREA_PAGES. | Olivier Houchard | 2004-11-04 | 1 | -2/+2 |
| | | | | Notes: svn path=/head/; revision=137227 | ||||
* | Use interrupts_disable() and interrupts_restore() as intr_disable() and | Olivier Houchard | 2004-11-04 | 1 | -24/+6 |
| | | | | | | | intr_restore() instead of re-implement it. Notes: svn path=/head/; revision=137226 | ||||
* | Don't barf if no CPU type is defined while compiling kernel modules. | Olivier Houchard | 2004-11-04 | 1 | -2/+2 |
| | | | | Notes: svn path=/head/; revision=137224 | ||||
* | Implement get_cyclecount(). | Olivier Houchard | 2004-11-04 | 1 | -1/+7 |
| | | | | Notes: svn path=/head/; revision=137223 | ||||
* | Try to implement atomic operations using swp, instead of disabling interrupts. | Olivier Houchard | 2004-11-04 | 1 | -76/+65 |
| | | | | Notes: svn path=/head/; revision=137222 | ||||
* | Use casts to enforce the return type of bswap16() and bswap32(). | Olivier Houchard | 2004-11-04 | 1 | -6/+6 |
| | | | | Notes: svn path=/head/; revision=137216 | ||||
* | Implement cpu_thread_siginfo() and set_mcontext(). | Olivier Houchard | 2004-11-04 | 1 | -53/+46 |
| | | | | | | | Nuke getframe(), and choose which stack to use directly in sendsig(). Notes: svn path=/head/; revision=137215 | ||||
* | Implement cpu_set_upcall and cpu_set_upcall_kse. | Olivier Houchard | 2004-11-04 | 1 | -4/+29 |
| | | | | | | | Calculate td_frame and td_pcb the right way in cpu_thread_setup. Notes: svn path=/head/; revision=137214 | ||||
* | Get kernel modules to work. | Olivier Houchard | 2004-11-04 | 1 | -8/+9 |
| | | | | Notes: svn path=/head/; revision=137211 |