Commit Graph
32189 Commits
Author SHA1 Message Date
Sebastian Huber 4a7be22b5a posix: Fix build with POSIX API disabled
Update #2514.
2018-10-25 10:03:46 +02:00
Sebastian Huber 24b58072ff config: Modify CONFIGURE_INTERRUPT_STACK_SIZE
Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE
to set the default value.

Close #3480.
2018-10-24 10:19:14 +02:00
Sebastian Huber 4b801acc20 posix: Provide simple thread functions by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber c1ce9a20f3 posix: Provide get thread attributes by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber 522d4b9186 malloctest: Hide NULL pointer from compiler
Disabling a warning does not prevent the compiler from reasoning what it
is supposed to do with a somewhat undefined function call.
2018-10-24 10:19:14 +02:00
Sebastian Huber 01595a4f32 bsp/imx: Adjust workspace according to device tree 2018-10-24 10:19:14 +02:00
Sebastian Huber 8ba76b9e28 tmonetoone: Add yield test case 2018-10-22 08:08:10 +02:00
Sebastian Huber 8d816221c1 posix: Provide non-thread functions by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber 0b2808ce0b posix: Provide scheduler support by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber dd804bb16f posix: Provide cancel state/type by default
Sort POSIX sources lexicographically in Makefile.am

Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber 6da1bb046d Remove superfluous configure checks
The results of these checks are unused, covered by other checks or check
obvious things.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 167654e7f0 Remove checks for flockfile(), etc. declarations
Declarations provided by Newlib since 2002.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber f59edebf7e Remove getcwd()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 79d145a7a2 Remove optional getrusage() declaration
Declaration provided by Newlib since 2014.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber e161767e51 Remove ttyname()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 658ec757cf Remove __assert()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 87a9900f30 Remove isatty()
These functions are provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 3cf12c9c6a Remove strlcat(), strlcpy(), strsep(), readdir_r()
These functions are provided by Newlib since 2002.

Update #3409.
2018-10-22 08:06:05 +02:00
Sebastian Huber 1ad26cdcf7 Support O_NOFOLLOW open() flag
Close #3546.
2018-10-22 08:06:05 +02:00
Sebastian Huber 3825926601 Support O_CLOEXEC open() flag
Make sure this flag is ignored and does not prevent a successful open.

Close #3547.
2018-10-22 08:06:05 +02:00
Sebastian Huber 92e0eedc0a psxreaddir: Adjust test due to opendir() changes
Update #3545.
2018-10-22 08:06:05 +02:00
Joel Sherrill b4043ead0b check-networking.m4: Disable legacy stack for x86_64 and epiphany
x86_64 is 64-bits and too new for the legacy stack to support.
epiphany is a small target and cannot compile the legacy (or new) stack.
2018-10-18 12:05:41 -05:00
Joel Sherrill 28fb5b71f8 mpc8260ads/start/bspstart.c: Fix unused function warning 2018-10-18 12:05:41 -05:00
Joel Sherrill c1233a334b qemuppc/start/cmain.c: Cast args to memcpy and bzero to fix warnings 2018-10-18 12:05:41 -05:00
Joel Sherrill 156b77a064 gen5200/mscan/mscan.c: Fix printf() format warning 2018-10-18 12:05:40 -05:00
Joel Sherrill 023bd1d431 or1k/shared/cache/cache.c: Remove unused methods 2018-10-18 12:05:40 -05:00
Joel Sherrill 35eab84294 gdbarmsim/include/bsp.h: Include <sys/stat.h> to fix warning 2018-10-18 12:05:40 -05:00
Sebastian Huber 4af18b34f4 Support O_DIRECTORY open() flag
Close #3545.
2018-10-18 11:11:24 +02:00
Sebastian Huber 68799dac67 bsp/atsam: Add const qualifier to AES_SetInput() 2018-10-18 07:23:29 +02:00
Sebastian Huber c980eaff1d console: Be fair in simple console read
Wait for one tick in case no character is available after a call to
getchark().  Otherwise the system is constantly busy within an input
loop (for example in the RTEMS shell).  The polled Termios driver uses
the same approach.
2018-10-18 07:23:29 +02:00
Sebastian Huber 143c8d0d94 serial/ns16550: Fix precision clock synthesizer
The precision clock synthesizer support broke the driver on the QorIQ
P1020.  On this device the Alternate Function Register is accessed with
DLAB == 1 instead of the FIFO Control Register (FCR).  Restructure the
code to account for this.
2018-10-17 09:58:14 +02:00
Sebastian Huber d7c13c8772 bsp/imx7: Add getchark() support 2018-10-17 09:58:14 +02:00
Sebastian Huber 186a0b1dc0 bsps/arm: Recognize .tm_clone_table input section 2018-10-15 10:40:31 +02:00
Pavel Pisa 1822649ced bsp/tms570: Simple fix to resolve macro redefinitions.
closes #3347
2018-10-15 08:44:52 +02:00
Sebastian Huber fb12215c29 build: Remove specialized CPPFLAGS
Close #3375.
2018-10-15 07:28:29 +02:00
Joel Sherrill 632bb17556 libtests/Makefile.am: Add CPU_CFLAGS to rtems-ld invocation
closes #3401, #3402.
2018-10-14 16:55:38 -05:00
Sebastian Huber cca7c40865 tmtests: Fix unused variable warnings 2018-10-12 14:48:45 +02:00
Sebastian Huber 47b32a01a4 fsclose01: Fix uninitialized variable warning 2018-10-12 14:45:24 +02:00
Sebastian Huber c6023b75bb posix: Fix unused result warning 2018-10-12 14:40:52 +02:00
Sebastian Huber 9d1f17a9ca build: Fix build on Windows
Avoid a long argument list while creating the librtemscpu.a library
archive.
2018-10-12 09:19:34 +02:00
Sebastian Huber ca056e3fe7 tmtests/tmonetoone: New test program 2018-10-11 09:08:10 +02:00
Sebastian Huber 26b58b7e4a telnetd: Add server port to configuration
Close #3543.
2018-10-11 09:08:10 +02:00
Sebastian Huber 0dc303f09d telnetd: Create sessions at start
Update #3543.
2018-10-11 09:08:06 +02:00
Sebastian Huber 0f0e130051 telnetd: Allocate the server context
Update #3543.
2018-10-10 14:06:28 +02:00
Sebastian Huber bf4c7ff6ab telnetd: Create server socket at start
Update #3543.
2018-10-10 14:06:28 +02:00
Sebastian Huber 1c567c56c0 telnetd: Rename shell_args to telnetd_session
Update #3543.
2018-10-10 14:06:28 +02:00
Sebastian Huber 6d3ec58a52 telnetd: Simplify task spawn function
Use the minimum task size for the telnet server task since it has to
deal only with simple socket operations.

Update #3543.
2018-10-10 14:06:28 +02:00
Sebastian Huber 2548d14b82 build: Include header.am in cpukit/Makefile.am
Include all cpukit/*/header.am files in cpukit/Makefile.am.  This gets
rid of all subtree Makefile.am and the sudirs hack.
2018-10-10 14:06:28 +02:00
Sebastian Huber 629faf9504 telnetd: Remove keep stdio feature
The Telnet service started via rtems_telnetd_start() had a keep stdio
feature.  This just created a task and executed the command function in
a loop.  For this kind of service we do not library support.  This can
be done by an application task on its own.  Remove this feature and
provide only the real Telnet server functionality.

Use syslog() for error and status messages.

Add test program for the Telnet server.

Close #3542.
2018-10-10 14:06:27 +02:00
Sebastian Huber 477bca2d61 build: Remove local.am 2018-10-10 07:57:47 +02:00