summaryrefslogtreecommitdiffstats
path: root/sys/arm
Commit message (Collapse)AuthorAgeFilesLines
* Sort includes a little so that bus.h comes before cpu.h (for device_t).njl2005-02-041-2/+3
|
* Add an implementation of cpu_est_clockrate(9). This function estimates thenjl2005-02-041-0/+9
| | | | current clock frequency for the given CPU id in units of Hz.
* Sort functions.njl2005-02-011-4/+4
|
* Make sure we can boot both with and without MMU enabled.cognet2005-01-231-1/+5
|
* Define bus_dmamap_load_buffer before bus_dmamap_load to make gcc happy.cognet2005-01-231-34/+34
|
* Fix compile for !KTR.cognet2005-01-231-0/+4
|
* Remove references to non-existing symbols DO_corb and got_mmu.cognet2005-01-201-7/+0
| | | | While I'm there, remove dead code.
* Fix compile for __ARMEB__.cognet2005-01-191-5/+5
|
* MFpowerpc: Work around the problem of returning a 32 bits value fromcognet2005-01-191-1/+14
| | | | | | __syscall() on a 32 bits big-endian arch. Spotted out by: grehan
* Start to support the big endian case as well.cognet2005-01-181-0/+13
|
* Add a new sysctl, hw.sevenseg.freq, to control the update frequency.cognet2005-01-161-1/+6
|
* Erm, don't forget to store the mbuf in the dmamap in bus_dmamap_load_mbuf_sg(),cognet2005-01-161-5/+6
| | | | | so that bus_dmamap_sync() knows what to invalidate. This makes em(4) work again. While I'm there, remove the unused "first" variable.
* Add support for KTR_BUSDMA.cognet2005-01-151-6/+43
|
* Add the prototype for bus_dmamap_load_mbuf_sg().cognet2005-01-151-0/+3
| | | | Spotted out by: scottl
* MFi386: add bus_dmamap_load_mbuf_sg().cognet2005-01-151-0/+36
|
* Add the 7 seg display.cognet2005-01-151-0/+1
|
* Add support for the IQ31244 7 seg display.cognet2005-01-154-0/+390
| | | | Obtained from: NetBSD
* Start the license statement with /*-cognet2005-01-151-1/+1
|
* Use device_set_desc().cognet2005-01-151-0/+2
|
* Add the i80321 watchdog.cognet2005-01-153-0/+3
|
* Add a driver for the i80321 watchdog.cognet2005-01-151-0/+149
| | | | Obtained from: NetBSD
* Add support for ptrace() and gdb breakpoints.cognet2005-01-105-16/+80
|
* Don't assume pmap_update() will cpwait for us, pmap_update will disappear soon.cognet2005-01-101-3/+1
|
* Start all license statements with /*-imp2005-01-05116-165/+121
|
* Modify pmap_enter_quick() so that it expects the page queues to be lockedalc2004-12-231-3/+0
| | | | | | | | | | | on entry and it assumes the responsibility for releasing the page queues lock if it must sleep. Remove a bogus comment from pmap_enter_quick(). Using the first change, modify vm_map_pmap_enter() so that the page queues lock is acquired and released once, rather than each time that a page is mapped.
* - The IQ80321 has a jumper which changes the PCI device id from 4 to 8 for thecognet2004-12-211-5/+13
| | | | | | | | | GigE controller, so handle this. - Use the outbound window 0 if the PCI mem requested is in its range, instead of inconditionally use the outbound window 1. This should be enough to get FreeBSD/arm to work on the IQ80321 board as well. Reported and tested by: Jia-Shiun Li <jiashiun at gmail dot com>
* Update the StrongArm port to match the current code.cognet2004-12-183-6/+15
| | | | | | - Implement arm_mask_irqs and arm_unmask_irqs - Provide the available physical address range after pmap_bootstrap allocated things, instead or before, or bad things happen.
* Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,cognet2004-12-181-1/+1
| | | | as it has unpredictable results.
* In the common case, pmap_enter_quick() completes without sleeping.alc2004-12-151-0/+11
| | | | | | | | | | | | | | | | | | In such cases, the busying of the page and the unlocking of the containing object by vm_map_pmap_enter() and vm_fault_prefault() is unnecessary overhead. To eliminate this overhead, this change modifies pmap_enter_quick() so that it expects the object to be locked on entry and it assumes the responsibility for busying the page and unlocking the object if it must sleep. Note: alpha, amd64, i386 and ia64 are the only implementations optimized by this change; arm, powerpc, and sparc64 still conservatively busy the page and unlock the object within every pmap_enter_quick() call. Additionally, this change is the first case where we synchronize access to the page's PG_BUSY flag and busy field using the containing object's lock rather than the global page queues lock. (Modifications to the page's PG_BUSY flag and busy field have asserted both locks for several weeks, enabling an incremental transition.)
* Enable interrupts once the active ones have been masked.cognet2004-12-141-3/+2
|
* Update the sp after popping the regs.cognet2004-12-141-1/+1
| | | | This is a good candidate for the golden pointy hat awards.
* Save a few more cycles in cpu_switch() and cpu_throw().cognet2004-12-121-29/+24
|
* Fix style.cognet2004-12-111-34/+34
|
* Add entries to trace syscalls with KTR.cognet2004-12-111-0/+6
|
* Fix compilation with INVARIANTS.cognet2004-12-111-2/+2
|
* s/RETEQ/RETeq/.cognet2004-12-101-1/+1
|
* Include <sys/signalvar.h> for trapsignal().cognet2004-12-071-0/+1
|
* Make sure to map the whole kernel into 1MB pages. Try to use the remainingcognet2004-12-051-27/+67
| | | | memory for things such as the kernel stack.
* Reactivate the use of the minidata cache.cognet2004-12-051-1/+0
|
* Do not change the page directory and do not flush the TLB when switching tocognet2004-12-051-26/+6
| | | | a kernel thread.
* Remove an unused field from the struct pv_entry.cognet2004-12-051-4/+3
| | | | While I'm there, fix style.
* Include <sys/signalvar.h> for trapsignal().cognet2004-12-021-0/+1
|
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-274-4/+2
| | | | including other headers.
* Enable interrupts as soon as the pending interrupts have been masked.cognet2004-11-231-4/+3
|
* Use ns8250.cognet2004-11-232-3/+2
|
* Cleanup.cognet2004-11-211-41/+3
|
* Set the frame pointer to 0 in fork_trampoline().cognet2004-11-211-0/+1
|
* Implement breakpoints and single stepping on arm.cognet2004-11-214-21/+109
| | | | Obtained from: NetBSD
* Remove useless code.cognet2004-11-201-120/+0
|
* Implement enough to be able to enter and leave DDB.cognet2004-11-203-5/+43
|
OpenPOWER on IntegriCloud