| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds rtems_printf and related functions and wraps the
RTEMS print plugin support into a user API. All references to the
plugin are removed and replaced with the rtems_printer interface.
Printk and related functions are made to return a valid number of
characters formatted and output.
The function attribute to check printf functions has been added
to rtems_printf and printk. No changes to remove warrnings are part
of this patch set.
The testsuite has been moved over to the rtems_printer. The testsuite
has a mix of rtems_printer access and direct print control via the
tmacros.h header file. The support for begink/endk has been removed
as it served no purpose and only confused the code base. The testsuite
has not been refactored to use rtems_printf. This is future work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
|
|
|
| |
Add locked_vprintf(). Return an int just like printf(), etc.
|
| |
|
| |
|
|
|
|
|
| |
In case the printf() blocks on a semaphore it was possible to end up in
a livelock.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* support/src/spin.c: Include "test_support.h".
|
|
|
|
|
|
| |
Replaced Allocate_majority_of_workspace() with
rtems_workspace_allocate(). Replaced Allocate_majority_of_heap() with
rtems_heap_greedy_allocate().
|
|
|
|
|
|
|
|
| |
* support/include/tmtests_empty_function.h: New.
* support/src/tmtests_empty_function.c,
support/src/tmtests_support.c:
Include "tmtests_empty_function.h".
Remove local decls (Missing prototypes).
|
|
|
|
| |
* support/src/test_support.c: Avoid magic numbers.
|
|
|
|
|
| |
* configure.ac, support/include/test_support.h:
* support/src/locked_print.c: New file.
|
|
|
|
|
| |
* support/src/tmtests_support.c:
loop_overhead and end_time are uint32_t's.
|
| |
|
|
|
|
|
| |
* support/include/test_support.h, support/src/test_support.c: Add
Allocate_majority_of_heap().
|
|
|
|
| |
* support/src/tmtests_support.c: Fix warning.
|
|
|
|
|
|
|
| |
* support/include/test_support.h, support/src/tmtests_empty_function.c:
Add helper so it is easier to write a basic repeated operation
tmtest.
* support/src/tmtests_support.c: New file.
|
|
|
|
|
|
|
| |
* support/include/test_support.h, support/include/tmacros.h,
support/src/test_support.c: Added support functions to spin for a
number of ticks and to spin until the next tick.
* support/src/spin.c: New file.
|
| |
|
|
|
|
| |
* support/src/test_support.c: Add missing prototypes.
|
|
|
|
| |
* support/src/test_support.c: Tinker with longest valid name.
|
|
|
|
| |
* support/src/tmtests_empty_function.c: Fix warnings.
|
| |
|
|
|
|
| |
* support/src/tmtests_empty_function.c: New file.
|
|
* support/include/test_support.h, support/src/test_support.c: New files.
|