Commit Graph

165 Commits

Author SHA1 Message Date
Sebastian Huber
241fc046a7 zlib: Do not generate zconf.h
Update #3254.
2017-12-13 09:25:55 +01:00
Sebastian Huber
3f575da2f2 Remove obsolete network header files
Update #3254.
2017-12-07 07:23:59 +01:00
Sebastian Huber
5e05fa0f7b ada: Fix user extension support 2017-12-01 15:21:34 +01:00
Martin Erik Werner
ab304f4def rtems/inttypes: Clarify hexadecimal in comments
Update comments to reflect that PRIxblksize_t PRIxblkcnt_t is
hexadecimal, not decimal.

Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
2017-11-29 09:28:59 -06:00
Sebastian Huber
642ef003ec bsps: Provide <tm27.h> in each BSP
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP.  Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.
2017-11-27 09:36:56 +01:00
Sebastian Huber
0d5c795afa Move Ada includes
Update #3254.
2017-11-27 07:32:53 +01:00
Sebastian Huber
ac28f1588d Add simple console driver
Update #3170.
Update #3199.
2017-11-06 07:25:51 +01:00
Sebastian Huber
7bec7f2715 rtems: Add rtems_print_printer_fprintf_putc()
Update #3170.
Update #3199.
2017-10-28 13:33:55 +02:00
Sebastian Huber
f703e7f5c7 tests: Move rtems_test_printer definition
Statically initialize it to use printk().

Update #3170.
Update #3199.
2017-10-28 13:33:55 +02:00
Sebastian Huber
1bc0ad2e12 Simplify and unify BSP_output_char
The BSP_output_char should output a char and not mingle with high level
processing, e.g. '\n' to '\r\n' translation.  Move this translation to
rtems_putc().  Remove it from all the BSP_output_char implementations.

Close #3122.
2017-09-12 09:57:53 +02:00
Sebastian Huber
b2ed712d26 Include missing <string.h>
Update #2133.
2017-08-25 10:58:58 +02:00
Joel Sherrill
0238e316ad cpukit/include/rtems/inttypes.h: Correct PRIdioctl_command_t 2017-07-28 11:24:34 -05:00
Sebastian Huber
af207fa9f6 Add interrupt vector set/get affinity
Close #3071.
2017-07-12 08:00:13 +02:00
Sebastian Huber
ccc87c8b9e Add interrupt server move
Update #3071.
2017-07-12 07:46:55 +02:00
Sebastian Huber
d1841406b3 Add interrupt server set affinity
Update #3071.
2017-07-12 07:46:52 +02:00
Sebastian Huber
a961e1980c Add interrupt server suspend/resume
This mechanism can be used to safely move the interrupt server from one
scheduler instance to another for example.

Update #3071.
2017-07-12 07:46:49 +02:00
Sebastian Huber
e7ee719f79 Create one interrupt server per processor
This allows load balancing of interrupt processing in SMP
configurations.

Update #3071.
2017-07-12 07:46:40 +02:00
Sebastian Huber
5bfeab951c Add rtems_interrupt_server_handler_iterate() 2017-06-26 08:23:33 +02:00
Joel Sherrill
20775247de rtems/inttypes.h: Add PRIdrtems_vector_number. Missed in previous commit 2017-04-28 11:11:14 -05:00
Joel Sherrill
9e6ef361cf rtems/inttypes.h, block08: Add and use PRIdrtems_blkdev_bnum 2017-04-25 20:14:28 -05:00
Joel Sherrill
7db09923fb rtems/inttypes.h epiphany_sim/irq/irq.c: Add PRIdrtems_vector_number and use it 2017-04-25 11:42:18 -05:00
Joel Sherrill
473a3cd007 rtems/inttypes.h: Add PRIdioctl_command_t 2017-04-23 12:53:44 -05:00
Joel Sherrill
438ca2f594 rtems/inttypes.h: Add blksize_t and blkcnt_t 2017-04-22 14:15:22 -05:00
Joel Sherrill
d420b679af Merge tmacros.h PRIxxx constants from testsuites/ into <rtems/inttypes.h>
This completes the initial creation of rtems/inttypes.h based on all
existing PRIxxx definitions contained in RTEMS Project owned code.

closes #2983.
2017-04-18 11:24:46 -05:00
Joel Sherrill
54bdf0c7e5 rtems/inttypes.h: New file. Uses contents from cpukit
Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types.
Start with existing definitions found in RTEMS Project owned code
in cpukit/.

updates #2983.
2017-04-18 11:24:44 -05:00
Sebastian Huber
33986022af Add rtems_interrupt_server_request_submit()
This function may be used to do a two-step interrupt processing.  The
first step is done in interrupt context which calls this function.  The
second step is then done in the context of the interrupt server.
2017-02-23 07:27:39 +01:00
Sebastian Huber
dc9b704450 Provide <endian.h> for glibc compatibility
Update #2803.
2017-01-24 08:39:21 +01:00
Sebastian Huber
1157cb598f sys/endian.h: Document FreeBSD origin 2017-01-23 07:57:07 +01:00
Sebastian Huber
505eb557f0 sys/uio.h: Update to FreeBSD head 2015-12-03 2016-10-26 14:05:49 +02:00
Pavel Pisa
4745650797 pci.h add PCI_COMMAND_INTX_DISABLE definition. 2016-10-11 22:16:58 +02:00
Sebastian Huber
22c3a54b8b Add printer task 2016-06-22 07:45:49 +02:00
Sebastian Huber
506bfc8580 Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer
implementation.  In particular get rid of the <stdio.h> include which
would be visible via <rtems.h>.
2016-06-22 07:29:26 +02:00
Sebastian Huber
ede1a4182d Make rtems/print.h independent of rtems/bspIo.h 2016-06-22 07:29:26 +02:00
Sebastian Huber
e8020d1914 Rename and move RTEMS_PRINTF_ATTRIBUTE()
Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to
<sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
2016-06-22 07:29:26 +02:00
Sebastian Huber
5c370a5df4 Make rtems_fprintf_plugin() static 2016-06-22 07:29:26 +02:00
Sebastian Huber
1ce8fc32c3 Make rtems_printf_plugin() static 2016-06-22 07:29:26 +02:00
Sebastian Huber
97fd93c23e Make printk_plugin() static 2016-06-22 07:29:25 +02:00
Sebastian Huber
214156d98c mghttpd: Add RTEMS printer support 2016-06-06 12:57:07 +02:00
Sebastian Huber
3242614d92 Fix rtems_print_printer_fprintf()
We must use vfprintf().
2016-05-31 10:10:36 +02:00
Sebastian Huber
868cd24dcd score: Use Newlib provided <machine/endian.h> 2016-05-30 08:11:39 +02:00
Chris Johns
24d0ee57a4 cpukit, testsuite: Add rtems_printf and rtems_printer support.
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.
2016-05-25 15:47:34 +10:00
Joel Sherrill
92b6f6e9c9 Move various driver interface definition headers file libcsupport/ to include/
These were in libcsupport for historical reasons and the placement
no longer made sense.

As part of this move, some of the files were placed under subdirectories
which reflect their installed location.

Thank you git for allowing us to move files. Years of CVS resulted
in files being somewhere they no longer belonged.
2016-03-30 09:32:33 -05:00
Sebastian Huber
d9bd59daac bsp/irq-server: Support shared interrupts 2016-01-20 10:15:56 +01:00
Sebastian Huber
8708900e53 Provide dummy <sys/priority.h>
Required by new network stack.
2015-11-18 09:22:48 +01:00
Sebastian Huber
1cfae28722 rtems/endian.h: Reduce header dependencies 2015-05-22 08:20:41 +02:00
Joel Sherrill
6b38b72f1a cpukit/include/rtems/btimer.h: Improve brief 2015-03-17 10:05:08 -05:00
Joel Sherrill
a2fe43b102 cpukit/include/rtems/btimer.h: Add DOxygen comments 2015-03-11 16:18:29 -05:00
Joel Sherrill
a575af82e0 cpukit/include/rtems/bspIo.h: Add Doxygen comments 2015-03-11 16:18:29 -05:00
Sebastian Huber
b2ee119f7a sys/endian.h: Fix 16-bit int problems 2014-12-15 08:27:32 +01:00
Sebastian Huber
b8bd90f68f Add supplementary groups to user environment 2014-11-20 10:30:23 +01:00