Commit Graph

24243 Commits

Author SHA1 Message Date
Ralf Corsépius
61af4b0b98 Include <rtems/framebuffer.h>. 2012-10-15 17:58:24 +02:00
Ralf Corsépius
364e891836 Include libchip/z85c30.h. 2012-10-15 17:58:10 +02:00
Ralf Corsépius
4c3d4fd5d4 Include stdint.h, libchip/serial.h. 2012-10-15 17:57:59 +02:00
Ralf Corsépius
e693b9ed56 Remove unused var "sc". 2012-10-15 17:57:47 +02:00
Ralf Corsépius
b9e9dab9ef Remove unused var "service". Move #include "test-http-client.h" after std-header inclusion. 2012-10-15 17:57:27 +02:00
Ralf Corsépius
2d72c19843 Move extern "C" after std-header inclusions. 2012-10-15 17:56:55 +02:00
Ralf Corsépius
3532072934 Use %zd instead of %d to print size_t's 2012-10-15 17:55:49 +02:00
Sebastian Huber
8d4faf90e8 score: Use _Workspace_Allocate_or_fatal_error()
Use _Workspace_Allocate_or_fatal_error() consistently in case auto
extend is turned off.  This helps to avoid undefined behaviour in
_API_Mutex_Allocate() in case _API_Mutex_Information() fails.
2012-10-15 14:58:08 +02:00
Sebastian Huber
178a7bb95b sptests/sp39: Increase clock tick interval
Not every BSP supports a 250 micro seconds clock tick interval.  For
example PSIM.
2012-10-15 14:58:08 +02:00
Sebastian Huber
f7513a0486 bsps: Remove unused bsp_libc_init() prototype 2012-10-15 14:58:08 +02:00
Sebastian Huber
ca9f2e639e libcsupport: Spelling 2012-10-15 14:58:08 +02:00
Sebastian Huber
2eb5d54ca8 bsps/arm: Add BSP_USB_OTG_TRANSCEIVER_I2C_ADDR 2012-10-12 15:37:09 +02:00
Sebastian Huber
f72b2de10a bsp/lpc24xx: Fix PCLK clock divider calculation 2012-10-12 15:37:09 +02:00
Sebastian Huber
34d12d97f9 bsp/lpc24xx: Use 96MHz CCLK for LPC17XX EA BSP
This enables USB support by PLL0.
2012-10-12 15:37:09 +02:00
Sebastian Huber
e9e5b92d36 bsp/lpc24xx: Evaluate LPC17XX pin type
New pin type LPC17XX_PIN_TYPE_OPEN_DRAIN.
2012-10-12 15:37:08 +02:00
Sebastian Huber
4275124e9b bsp/lpc24xx: Enable USB clock by PLL0 for LPC17XX 2012-10-12 15:37:08 +02:00
Sebastian Huber
6671ddd048 bsp/lpc24xx: Fix warnings 2012-10-12 15:37:08 +02:00
Joel Sherrill
0e27119f80 Use proper 3 line form of license text 2012-10-11 15:52:51 -05:00
Joel Sherrill
b8fa5013fd threadqextractwithproxy.c: Doxygen header and spacing 2012-10-11 15:52:51 -05:00
Ralf Corsépius
c1412db5c3 Use %zu instead of %lu to print size_t's. 2012-10-11 18:27:34 +02:00
Ralf Corsépius
d498e5c3d5 Import from automake-1.12.4. 2012-10-11 18:26:40 +02:00
Ralf Corsépius
fd7161017b Cleanup Krzysztof's copyright notices. 2012-10-11 18:25:03 +02:00
Ralf Corsépius
22fb90e491 Misc. cosmetic changes. 2012-10-09 19:26:51 +02:00
Ralf Corsépius
06e1086ae6 Import from automake-1.12.4. 2012-10-09 19:26:51 +02:00
Ralf Corsépius
34a8f36998 Remove stray '/'. 2012-10-09 18:43:46 +02:00
Sebastian Huber
d880d40afe bsp/qoriq: Fix maximum packet size 2012-10-08 16:25:07 +02:00
Sebastian Huber
75025a6e96 rtems: PR1844: Fix MP process packet size 2012-10-08 16:24:26 +02:00
Sebastian Huber
78f417f897 Filesystem: Rename function
Rename rtems_filesystem_location_exists_in_same_fs_instance_as() into
rtems_filesystem_location_exists_in_same_instance_as() for consistency
with other file system instance related functions.
2012-10-07 17:17:27 +02:00
Sebastian Huber
8b65f389aa Filesystem: Rename function
Rename rtems_filesystem_location_is_root() into
rtems_filesystem_location_is_instance_root() to distinguish this from
the file system root directory of the current task environment.
2012-10-07 17:12:49 +02:00
Sebastian Huber
39d7d51fe3 fstests/fsimfsgeneric01: Avoid global state 2012-10-07 17:11:30 +02:00
Sebastian Huber
c17d0b315b Filesystem: Reject removal of root nodes
Reject the removal of file system instance root nodes in rmdir() and
unlink() and return the EBUSY error status.  File system instances can
be removed with unmount().  Remove root node special cases in IMFS,
DOSFS, and RFS.
2012-10-07 17:03:20 +02:00
Sebastian Huber
9b83a66546 score: Critical fix for thread dispatching
The changes in _Thread_Dispatch() of commits
dad36c52b8 and
d4dc7c8196 introduced a severe bug which
destroys the real-time properties of RTEMS completely.

Consider the following scenario.  We have three tasks L (lowest
priority), M (middle priority), and H (highest priority).  Now let a
thread dispatch from M to L happen.  An interrupt occurs in
_Thread_Dispatch() here:

void _Thread_Dispatch( void )
{
  [...]

post_switch:

  _ISR_Enable( level );

  <-- INTERRUPT
  <-- AFTER INTERRUPT

  _Thread_Unnest_dispatch();

  _API_extensions_Run_postswitch();
}

The interrupt event makes task H ready.  The interrupt code will see
_Thread_Dispatch_disable_level > 0 and thus doesn't perform a
_Thread_Dispatch().  Now we return to position "AFTER INTERRUPT".  This
means task L executes now although task H is ready!  Task H will execute
once someone calls _Thread_Dispatch().
2012-10-07 14:40:49 +02:00
Joel Sherrill
cb7b57e174 mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being
enabled. It uses on pthread and must also be conditional
on POSIX threads support being enabled.
2012-10-03 11:09:32 -05:00
Joel Sherrill
8896c97621 threaddispatch.c: Fix typo 2012-10-02 13:28:08 -05:00
Joel Sherrill
196fe5964f score/thread.h: Move Thread_CPU_usage_t definition down
At the previous location, uint32_t was not available.
2012-10-02 13:27:04 -05:00
Joel Sherrill
9e73596610 score/percpu.h: _Thread_Time_of_last_context_switch always available
This field is used whether ticks are used for statistics or not.
2012-10-02 13:24:20 -05:00
Joel Sherrill
b249d7f6a6 score/tod.h: Fix formatting 2012-10-02 13:23:23 -05:00
Joel Sherrill
880e2f370f User's Guide: Correct typos in return status bullets 2012-10-02 11:45:09 -05:00
Sebastian Huber
5633c54cdf nfsclient: Format changes 2012-10-02 15:38:51 +02:00
Sebastian Huber
c69ef3b6a5 nfsclient: Add and use nfsEvaluateStatus()
The NFS status codes do not map directly to the corresponding errno
values.
2012-10-02 15:27:35 +02:00
Sebastian Huber
3becac2ca3 nfsclient: Fix for short enums
The XDR library has a problem on architectures with short enums like the
default ARM EABI.  Short enums means that the size of the enum type is
variable and the smallest integer type to hold all enum values will be
selected.  For many enums this is char.  The XDR library uses int32_t
for enum_t.  There are several evil casts from an enum type to enum_t
which leads to invalid memory accesses on short enum architectures.  A
workaround is to add appropriate dummy enum values.
2012-10-02 15:27:35 +02:00
Sebastian Huber
86f6e8b73b nfsclient: PR2075: Fix node initialization 2012-10-02 15:27:34 +02:00
Peter Dufault
52c8df84ca bsp/mpc55xx: PR2077: Add BSP_DEFAULT_BAUD_RATE 2012-10-02 15:27:34 +02:00
Peter Dufault
6527d879b7 bsp/mpc55xx: PR2077: Avoid PPC_USE_SPE 2012-10-02 15:27:34 +02:00
Peter Dufault
2a6ec3179b bsp/mpc55xx: PR2077: Mapping for external flash 2012-10-02 15:27:34 +02:00
Peter Dufault
967481a09a bsps: PR2076: SMC91111 fixes for mpc55xxevb BSP
- A typo prevents if_smc.c from being built when configured;
- The argument passed to the interrupt handler was incorrect and the
  addition of support for RTEMS_INTERRUPT_SHARED exposed it;
- A "#ifdef DEBUG" is supposed to be "#if DEBUG" since 0 is supposed to
  make it quiet.
2012-10-02 15:27:34 +02:00
Sebastian Huber
245cad54f2 bsp/mpc55xx: Fix bsp_idle_thread() 2012-10-02 15:27:33 +02:00
Sebastian Huber
94102775e0 bsp/mpc55xx: Add and use MPC55XX_CHIP_FAMILY 2012-10-02 15:27:33 +02:00
Joel Sherrill
29b1bbfdb6 fsrfsbitmap01/test.c: Remove tabs 2012-10-01 15:40:20 -05:00
Joel Sherrill
35c58a5662 misc fstests: Remove spaces at EOL 2012-10-01 15:40:20 -05:00