summaryrefslogtreecommitdiffstats
path: root/bsps/lm32/shared/clock/ckinit.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-20bsps: Avoid unused argument in clock interruptSebastian Huber1-1/+1
Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delarations of Clock_isr(). Update #4862.
2022-07-11bsps/lm32/shared: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2018-06-27Remove Clock_driver_support_shutdown_hardware()Sebastian Huber1-7/+0
The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2017-09-18bsps: Clock_driver_support_install_isr()Sebastian Huber1-4/+2
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2017-08-04Optional Clock_driver_support_shutdown_hardware()Sebastian Huber1-7/+6
Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
2016-03-11lm32/shared/.../ckinit.c: Fix typo so fast idle on simulator is enabledJoel Sherrill1-1/+1
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-0/+2
Update #2271.
2014-10-13libbsp/lm32/shared: Fix warningsJoel Sherrill1-6/+6
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-08-14bsps: Fix clock driver definesSebastian Huber1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2009-11-29Whitespace removal.Ralf Corsepius1-4/+4
2009-02-262009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c: Run better on simulator. Timer is probably not right yet but
2009-02-252009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-117/+19
* shared/clock/ckinit.c: Use shared Clock Driver Template and support fast idle on simulator.
2008-12-042008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>Joel Sherrill1-23/+56
* ChangeLog, Makefile.am, README, acinclude.m4, configure.ac, shared/clock/ckinit.c, shared/clock/clock.h, shared/console/console.c, shared/console/uart.c, shared/console/uart.h, shared/start/start.S, shared/startup/bspstart.c, shared/startup/setvec.c, shared/timer/timer.c, shared/tsmac/dp83848phy.h, shared/tsmac/tsmac.c, shared/tsmac/tsmac.h: New files.
2008-09-162008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* clock/ckinit.c: Remove unnecessary includes of rtems/libcsupport.h and rtems/libio.h.
2008-09-052008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-31/+0
* clock/ckinit.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-2/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-8/+8
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* clock/ckinit.c, shmsupp/getcfg.c, shmsupp/lock.c, startup/bspstart.c, timer/timer.c, timer/timerisr.c: Convert to using c99 fixed size types.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* clock/ckinit.c, console/console.c, include/bsp.h, shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c, startup/bspclean.c, startup/bspstart.c, startup/linkcmds, startup/main.c, startup/setvec.c, timer/timer.c, timer/timerisr.c: URL for license changed.
2000-01-11Removed old hack of using Configuration Table entry ticks_per_timesliceJoel Sherrill1-15/+5
being set to 0 to indicate that there should be no Clock Tick. This was used by the Timing Tests to avoid clock tick overhead perturbing execution times. Now the Timing Tests simply leave the Clock Tick Driver out of the Device Driver Table.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1995-10-30SPARC port passes all testsJoel Sherrill1-26/+5
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-21/+43
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-28Added unused priority ceiling parameter to rtems_semaphore_create.Joel Sherrill1-17/+64
Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core.