summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/i80321/i80321_timer.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Remove support for xscale i80219 and i80321 CPUs. We haven't singlemmel2016-02-031-485/+0
| | | | supported config/board with these CPUs.
* Unify interrupts bit definition and usage. While here remove PSR_C_bit.andrew2014-09-101-1/+2
| | | | | | Submitted by: Svatopluk Kraus <onwahe at gmail.com>, Michal Meloun <meloun at miracle.cz> Differential Revision: https://reviews.freebsd.org/D754
* trim trailing spaces that have accumulated over the years (these filesimp2012-06-131-5/+5
| | | | served as the basis for too many other platforms).
* Remove remaining bits of performance counter support.rpaulo2009-10-031-2/+0
| | | | Submitted by: Tom Judge <tom at tomjudge.com>
* Share the timer and watchdog drivers with the i81342. It's the same,cognet2007-07-271-7/+66
| | | | | | except it uses different registers. Approved by: re (blanket)
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-5/+5
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* Remove prototype for the undefined function counterhandler().cognet2006-07-141-1/+0
| | | | Submitted by: kevlo
* Add a new option, XSCALE_DISABLE_CCNT, to not use the xscale ccnt as acognet2006-04-061-0/+26
| | | | timecounter (because gxemul doesn't emule it yet).
* Tweak how the MD code calls the fooclock() methods some. Instead ofjhb2005-12-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passing a pointer to an opaque clockframe structure and requiring the MD code to supply CLKF_FOO() macros to extract needed values out of the opaque structure, just pass the needed values directly. In practice this means passing the pair (usermode, pc) to hardclock() and profclock() and passing the boolean (usermode) to hardclock_cpu() and hardclock_process(). Other details: - Axe clockframe and CLKF_FOO() macros on all architectures. Basically, all the archs were taking a trapframe and converting it into a clockframe one way or another. Now they can just extract the PC and usermode values directly out of the trapframe and pass it to fooclock(). - Renamed hardclock_process() to hardclock_cpu() as the latter is more accurate. - On Alpha, we now run profclock() at hz (profhz == hz) rather than at the slower stathz. - On Alpha, for the TurboLaser machines that don't have an 8254 timecounter, call hardclock() directly. This removes an extra conditional check from every clock interrupt on Alpha on the BSP. There is probably room for even further pruning here by changing Alpha to use the simplified timecounter we use on x86 with the lapic timer since we don't get interrupts from the 8254 on Alpha anyway. - On x86, clkintr() shouldn't ever be called now unless using_lapic_timer is false, so add a KASSERT() to that affect and remove a condition to slightly optimize the non-lapic case. - Change prototypeof arm_handler_execute() so that it's first arg is a trapframe pointer rather than a void pointer for clarity. - Use KCOUNT macro in profclock() to lookup the kernel profiling bucket. Tested on: alpha, amd64, arm, i386, ia64, sparc64 Reviewed by: bde (mostly)
* The IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel optioncognet2005-12-091-0/+5
| | | | to override the frequency
* Use the clock count register as a timecounter, as it's more accurate.cognet2005-10-171-16/+13
|
* Import dummy drivers for the i80321 DMA controller and AAU.cognet2005-10-031-2/+3
| | | | | | The DMA controller driver only knows how to do memory to memory copies, and the AAU driver how to zero a chunk of memory. Use them to process big (>=1KB) copying/zeroing.
* Remove redondant includes.cognet2005-02-131-2/+0
|
* Add support for the IQ31244 7 seg display.cognet2005-01-151-0/+3
| | | | Obtained from: NetBSD
* Use device_set_desc().cognet2005-01-151-0/+2
|
* Start all license statements with /*-imp2005-01-051-1/+1
|
* Import partial support for the IQ31244 eval board (i80321 CPU). IQ80321 mightcognet2004-09-231-0/+394
work out of the box too, but I have no hardware to test. It works well enough to go multiuser. Network works, SATA does not, as I have no drive to test. Thanks to Intel for sending such a board. Obtained from: NetBSD
OpenPOWER on IntegriCloud