aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
Commit message (Collapse)AuthorAgeFilesLines
* Don't include sys/user.h merely for its side-effect of recursivelyDavid Schultz2004-11-274-4/+2
| | | | | | | including other headers. Notes: svn path=/head/; revision=138129
* Enable interrupts as soon as the pending interrupts have been masked.Olivier Houchard2004-11-231-4/+3
| | | | Notes: svn path=/head/; revision=138022
* Use ns8250.Olivier Houchard2004-11-232-3/+2
| | | | Notes: svn path=/head/; revision=138021
* Cleanup.Olivier Houchard2004-11-211-41/+3
| | | | Notes: svn path=/head/; revision=137977
* Set the frame pointer to 0 in fork_trampoline().Olivier Houchard2004-11-211-0/+1
| | | | Notes: svn path=/head/; revision=137976
* Implement breakpoints and single stepping on arm.Olivier Houchard2004-11-214-21/+109
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=137975
* Remove useless code.Olivier Houchard2004-11-201-120/+0
| | | | Notes: svn path=/head/; revision=137941
* Implement enough to be able to enter and leave DDB.Olivier Houchard2004-11-203-5/+43
| | | | Notes: svn path=/head/; revision=137940
* Get the kernel stack right now that the u-area is gone.Olivier Houchard2004-11-204-6/+7
| | | | Notes: svn path=/head/; revision=137939
* Remove UAREA_PAGES and USPACE definitions. The definitions ofDavid Schultz2004-11-201-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 breakDavid Schultz2004-11-201-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 Schultz2004-11-201-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 Schultz2004-11-202-17/+1
| | | | | | | Reviewed by: arch@ Notes: svn path=/head/; revision=137912
* Increase cnt.v_syscall and cnt.v_trap when needed.Olivier Houchard2004-11-201-0/+3
| | | | Notes: svn path=/head/; revision=137903
* Move KERNPHYSADDR and KERNVIRTADDR from std.i80321 to std.iq31244.Olivier Houchard2004-11-182-2/+2
| | | | | | | Use the correct KERNPHYSADDR. Notes: svn path=/head/; revision=137838
* Simplify a bit bus_dmamap_load_buffer by removing the "first" parameter, useOlivier Houchard2004-11-161-38/+21
| | | | | | | | | nseg == -1 instead. Obtained from: NetBSD Notes: svn path=/head/; revision=137760
* MFi386:Olivier Houchard2004-11-151-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 Houchard2004-11-131-1/+0
| | | | Notes: svn path=/head/; revision=137665
* Don't forget to clear the PG_WRITEABLE flag when appropriate.Olivier Houchard2004-11-131-0/+6
| | | | Notes: svn path=/head/; revision=137664
* Use uma_prealloc() on the l2table_zone to prevent a LOR at startup.Olivier Houchard2004-11-131-3/+5
| | | | Notes: svn path=/head/; revision=137663
* Implement interrupt counting, so that vmstat -i work.Olivier Houchard2004-11-123-9/+21
| | | | Notes: svn path=/head/; revision=137629
* Don't forget to include opt_vm.h.Olivier Houchard2004-11-101-0/+2
| | | | Notes: svn path=/head/; revision=137552
* Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT.Olivier Houchard2004-11-102-6/+16
| | | | Notes: svn path=/head/; revision=137551
* Invalidate the data cache in pmap_qremove() instead of in pmap_kenter(),Olivier Houchard2004-11-101-2/+2
| | | | | | | and in pmap_enter_quick() instead of pmap_enter(). Notes: svn path=/head/; revision=137549
* Remove __P here too.Tom Rhodes2004-11-101-3/+3
| | | | | | | Ok'ed by: cognet Notes: svn path=/head/; revision=137498
* Use the RET macro.Olivier Houchard2004-11-0925-296/+295
| | | | Notes: svn path=/head/; revision=137463
* Import a RET macro, that will use bx if the arch supports it.Olivier Houchard2004-11-091-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 Cox2004-11-081-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 Houchard2004-11-072-0/+2
| | | | Notes: svn path=/head/; revision=137363
* Import md bits for mem(4) on arm.Olivier Houchard2004-11-074-45/+202
| | | | | | | While I'm there, cleanup a bit pmap.h. Notes: svn path=/head/; revision=137362
* Remove useless code.Olivier Houchard2004-11-071-14/+0
| | | | Notes: svn path=/head/; revision=137341
* Disable interrupts for atomic_cmpset_32, this one is just not atomic.Olivier Houchard2004-11-051-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 theOlivier Houchard2004-11-051-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 Houchard2004-11-051-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 addressOlivier Houchard2004-11-052-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 Houchard2004-11-051-2/+18
| | | | Notes: svn path=/head/; revision=137272
* Implement casuptr.Olivier Houchard2004-11-052-6/+51
| | | | Notes: svn path=/head/; revision=137271
* Call pmap_pte_init_arm9 instead of pmap_pte_init_generic ifOlivier Houchard2004-11-051-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 thatOlivier Houchard2004-11-051-0/+2
| | | | | | | | | interrupts will be enabled. Spotted out by: jhb Notes: svn path=/head/; revision=137264
* Protect the function declarations with #ifdef _KERNEL.Olivier Houchard2004-11-041-0/+2
| | | | Notes: svn path=/head/; revision=137229
* Directly use __pcpu for PCPU_* instead of pcpup.Olivier Houchard2004-11-041-3/+4
| | | | Notes: svn path=/head/; revision=137228
* Decrease KSTACK_PAGES and UAREA_PAGES.Olivier Houchard2004-11-041-2/+2
| | | | Notes: svn path=/head/; revision=137227
* Use interrupts_disable() and interrupts_restore() as intr_disable() andOlivier Houchard2004-11-041-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 Houchard2004-11-041-2/+2
| | | | Notes: svn path=/head/; revision=137224
* Implement get_cyclecount().Olivier Houchard2004-11-041-1/+7
| | | | Notes: svn path=/head/; revision=137223
* Try to implement atomic operations using swp, instead of disabling interrupts.Olivier Houchard2004-11-041-76/+65
| | | | Notes: svn path=/head/; revision=137222
* Use casts to enforce the return type of bswap16() and bswap32().Olivier Houchard2004-11-041-6/+6
| | | | Notes: svn path=/head/; revision=137216
* Implement cpu_thread_siginfo() and set_mcontext().Olivier Houchard2004-11-041-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 Houchard2004-11-041-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 Houchard2004-11-041-8/+9
| | | | Notes: svn path=/head/; revision=137211