| Commit message (Collapse) | Author | Files | Lines |
|
Updates #3053.
|
|
Update #3818.
|
|
Update #3170.
Update #3199.
|
|
|
|
The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error. Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.
Update #2825.
|
|
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.
|
|
|
|
|
|
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.
|
|
* devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c,
malloctest/init.c, termios03/termios_testdriver_polled.c,
termios04/termios_testdriver_intr.c: Remove warnings.
|
|
PR 1632/testing
* Makefile.am, configure.ac: Make dedicated fatal error test for
/dev/null already registered. Using code from Bharath in new test
framework.
* devnullfatal01/.cvsignore, devnullfatal01/Makefile.am,
devnullfatal01/devnullfatal01.doc, devnullfatal01/devnullfatal01.scn,
devnullfatal01/testcase.h: New files.
|
|
* Makefile.am, configure.ac: Add new tests to generate fatal errors in
rtems_termios_open().
* spfatal16/.cvsignore, spfatal16/Makefile.am, spfatal16/spfatal16.doc,
spfatal16/spfatal16.scn, spfatal16/testcase.h, spfatal17/.cvsignore,
spfatal17/Makefile.am, spfatal17/spfatal17.doc,
spfatal17/spfatal17.scn, spfatal17/testcase.h, spfatal18/.cvsignore,
spfatal18/Makefile.am, spfatal18/spfatal18.doc,
spfatal18/spfatal18.scn, spfatal18/testcase.h, spfatal19/.cvsignore,
spfatal19/Makefile.am, spfatal19/spfatal19.doc,
spfatal19/spfatal19.scn, spfatal19/testcase.h: New files.
|
|
* Makefile.am, configure.ac, spfatal_support/init.c,
spfatal_support/system.h: Add new tests to generate fatal errors in
open_dev_console().
* spfatal14/.cvsignore, spfatal14/Makefile.am, spfatal14/spfatal14.doc,
spfatal14/spfatal14.scn, spfatal14/testcase.h, spfatal15/.cvsignore,
spfatal15/Makefile.am, spfatal15/spfatal15.doc,
spfatal15/spfatal15.scn, spfatal15/testcase.h,
spfatal_support/consume_sems.c: New files.
|
|
* sp18/init.c, sp31/task1.c, sp43/init.c, sp63/init.c, sp64/init.c,
spfatal10/testcase.h, spfatal11/testcase.h, spobjgetnext/init.c,
spwkspace/init.c: Use rtems_test_assert() consistently instead of
system assert(). rtems_test_assert() is designed to integrate into
the RTEMS test suite infrastructure.
|
|
|
|
* spfatal01/spfatal01.scn, spfatal01/testcase.h,
spfatal02/spfatal02.scn, spfatal02/testcase.h,
spfatal03/spfatal03.scn, spfatal03/testcase.h,
spfatal04/spfatal04.scn, spfatal04/testcase.h,
spfatal05/spfatal05.scn, spfatal05/testcase.h,
spfatal06/spfatal06.scn, spfatal06/testcase.h,
spfatal07/spfatal07.scn, spfatal07/testcase.h,
spfatal08/spfatal08.scn, spfatal08/testcase.h,
spfatal09/spfatal09.scn, spfatal09/testcase.h, spfatal10/Makefile.am,
spfatal10/spfatal10.scn, spfatal11/Makefile.am,
spfatal11/spfatal11.scn, spfatal12/Makefile.am,
spfatal12/spfatal12.scn, spfatal_support/init.c: Make all fatal error
tests use testcase.h and spfatal_support framework. Print test name
herald in all cases.
* spfatal10/testcase.h, spfatal11/testcase.h, spfatal12/testcase.h:
New files.
* spfatal10/init.c, spfatal11/init.c, spfatal12/init.c: Removed.
|
|
* Makefile.am, configure.ac, spfatal06/testcase.h,
spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
spsize/size.c: Eliminate pointers to API configuration tables in the
main configuration table. Reference the main configuration table and
the API configuration tables directly using the confdefs.h version
rather than obtaining a pointer to it. This eliminated some
variables, a potential fatal error, some unnecessary default
configuration structures. Overall, about a 4.5% reduction in the code
size for minimum and hello on the SPARC.
* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
spfatal10/testcase.h: Removed.
|
|
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
Refactored and renamed initialization routines to
rtems_initialize_data_structures, rtems_initialize_before_drivers,
rtems_initialize_device_drivers, and
rtems_initialize_start_multitasking. This opened the sequence up so
that bootcard() could provide a more robust and flexible framework
which is easier to explain and understand. This also lays the
groundwork for sharing the division of available memory between the
RTEMS workspace and heap and the C library initialization across all
BSPs.
|
|
* Makefile.am, configure.ac: Added fatal error tests
* spfatal01/Makefile.am, spfatal01/spfatal01.scn, spfatal01/testcase.h,
spfatal02/Makefile.am, spfatal02/spfatal02.scn, spfatal02/testcase.h,
spfatal03/Makefile.am, spfatal03/spfatal03.scn, spfatal03/testcase.h,
spfatal04/Makefile.am, spfatal04/spfatal04.scn, spfatal04/testcase.h,
spfatal05/Makefile.am, spfatal05/spfatal05.scn, spfatal05/testcase.h,
spfatal06/Makefile.am, spfatal06/spfatal06.scn, spfatal06/testcase.h,
spfatal07/Makefile.am, spfatal07/spfatal07.scn, spfatal07/testcase.h,
spfatal08/Makefile.am, spfatal08/spfatal08.scn, spfatal08/testcase.h,
spfatal09/Makefile.am, spfatal09/spfatal09.scn, spfatal09/testcase.h,
spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal10/testcase.h,
spfatal_support/init.c, spfatal_support/system.h: New files.
|