Commit Graph

24066 Commits

Author SHA1 Message Date
Sebastian Huber
eb1951a2d1 powerpc/mpc55xx: BSP variant changes for MPC5643L 2012-06-05 17:45:00 +02:00
Sebastian Huber
b2cb8d6fb4 libcsupport: Add rtems_printf_plugin() 2012-06-04 17:30:21 +02:00
Sebastian Huber
1f7b5b0142 libtests/block13: Add const qualifier 2012-06-04 17:30:21 +02:00
Sebastian Huber
df84ca249d libblock: Rename structure 2012-06-04 17:30:20 +02:00
Sebastian Huber
5bd7bd5ab1 bsp/t32mppc: Fix Trace32 configuration file 2012-06-04 17:30:20 +02:00
Sebastian Huber
b8ed6d8037 libtests/block05: Fix warnings 2012-06-04 09:54:32 +02:00
Sebastian Huber
96b1d7fcfe dosfs: Fix for no space left on device condition
The file size was wrong in the no space left on device condition.  This
resulted in turn in a read of an invalid block which lead to an EIO
error status.
2012-06-04 09:54:32 +02:00
Sebastian Huber
39ee704e75 libblock: Add read-ahead task
Read-ahead requests were previously executed in the context of the
reading task.  This blocks the reading task until the complete read
with read-ahead transfer is finished.  A read-ahead task is introduced
to off-load the read-ahead transfer.  This allows the reading task to
work with the requested block more quickly.  The read-ahead is triggered
after two misses of ascending consecutive blocks or a read hit of a
block read by the most-recent read-ahead transfer.  The read-ahead
feature is configurable and can be disabled.
2012-06-04 09:54:31 +02:00
Sebastian Huber
6273201b14 bsps/powerpc: Add load section for .nocache 2012-06-04 09:54:31 +02:00
Sebastian Huber
105ccdd55e bsp/qoriq: New BSP option
New BSP option BSP_USE_DATA_CACHE_BLOCK_TOUCH.
2012-06-04 09:54:31 +02:00
Sebastian Huber
1869bb7101 powerpc: Simplify context switch
PowerPC cores with the SPE (Signal Processing Extension) have 64-bit
general-purpose registers.  The SPE context switch code has been merged
with the standard context switch code.  The context switch may use cache
operations to increase the performance.  It will be ensured that the
context is 32-byte aligned (PPC_DEFAULT_CACHE_LINE_SIZE).  This
increases the overall memory size of the context area in the thread
control block slightly.  The general-purpose registers GPR2 and GPR13
are no longer part of the context.  The BSP must initialize these
registers during startup (usually initialized by the __eabi() function).

The new BSP option BSP_USE_DATA_CACHE_BLOCK_TOUCH can be used to enable
the dcbt instruction in the context switch.

The new BSP option BSP_USE_SYNC_IN_CONTEXT_SWITCH can be used to enable
sync and isync instructions in the context switch.  This should be not
necessary in most cases.
2012-06-04 09:54:31 +02:00
Joel Sherrill
721fe34aae Fix C files which had two semi-colons at EOL 2012-05-31 15:34:36 -05:00
Joel Sherrill
5f0cd3499c samples - Eliminate missing prototype warnings 2012-05-31 10:06:16 -05:00
Joel Sherrill
3c8eda77b9 sptests - Eliminate missing prototype warnings 2012-05-31 10:06:16 -05:00
Ralf Corsépius
4f16ce03d2 Revert "Revert "libtests/complex: Avoid generated files""
This reverts commit 0c2d8ec48a.
2012-05-31 10:06:15 -05:00
Ralf Corsépius
61d2fb4dba Revert "Revert "libtests/math*: Avoid generated files""
This reverts commit 87c8d8aba6.
2012-05-31 10:06:15 -05:00
Ralf Corsépius
5e707bc75e Revert "libtests/math*: Avoid generated files"
This reverts commit 6a5bd1c65c.
2012-05-31 10:06:14 -05:00
Ralf Corsépius
b824fb873b Revert "libtests/complex: Avoid generated files"
This reverts commit a80a108d44.
2012-05-31 10:06:14 -05:00
Sebastian Huber
53f2ca3be6 dosfs: Fix format request with sectors per cluster 2012-05-31 13:50:08 +02:00
Sebastian Huber
f164ae751a libblock: Move rtems_bdbuf_get_media_block() call
Move rtems_bdbuf_get_media_block() call inside the bdbuf lock.
2012-05-31 11:05:48 +02:00
Sebastian Huber
73c09b3b8e libblock: Simplify disk management
Add block_count and media_blocks_per_block to rtems_disk_device.  Add
and use rtems_disk_init_phys() and rtems_disk_init_log().
2012-05-31 11:05:48 +02:00
Sebastian Huber
2c6cc3c0de libblock: Remove explicit bds_per_group parameter 2012-05-31 11:05:48 +02:00
Sebastian Huber
40284de844 libblock: Remove const qualifier from bdbuf API
This allows addtion of per disk statistics for example.
2012-05-31 11:05:48 +02:00
Sebastian Huber
b6911069d4 libblock: Add task stack size bdbuf configuration
The task stack size for the swap-out and worker tasks is now
configurable.  The bdbuf task resources are now included in the work
space size estimate.
2012-05-31 11:05:48 +02:00
Jennifer Averett
bb08c0c8fb pc386: Added sections for rtems-libbsd support. 2012-05-30 13:10:43 -05:00
Sebastian Huber
f7f2eb5799 dosfs: Fix print format string 2012-05-29 16:18:44 +02:00
Sebastian Huber
4da3fef455 ftpd: Set current directory after session close
The chroot() is an implicit chdir("/").  Set the current directory to
"/" after session close.  This helps to avoid references to mounted file
systems in dynamic media.
2012-05-29 16:18:44 +02:00
Sebastian Huber
847ad441cd Filesystem: Wait for unmount() to finish 2012-05-29 12:25:34 +02:00
Sebastian Huber
4acbff6c8e shell/lsof: Use fprintf() instead of printk() 2012-05-24 17:39:03 +02:00
Sebastian Huber
13d3a37d38 libblock: Fix read request block count calculation 2012-05-24 17:36:49 +02:00
Sebastian Huber
e7096b1fdf libblock: Fix state descriptions 2012-05-24 17:32:24 +02:00
Ralf Corsépius
cf42a6ea9d Add config.h.in. 2012-05-24 07:17:05 +02:00
Ralf Corsépius
daffa606cc Add bspopts.h.in. 2012-05-24 07:16:50 +02:00
Ralf Corsépius
2a7b823a7c Revert "Revert "libtests/complex: Avoid generated files""
This reverts commit 0c2d8ec48a.
2012-05-24 07:16:22 +02:00
Ralf Corsépius
1831fd1272 Revert "Revert "libtests/math*: Avoid generated files""
This reverts commit 87c8d8aba6.
2012-05-24 07:15:40 +02:00
Ralf Corsépius
87c8d8aba6 Revert "libtests/math*: Avoid generated files"
This reverts commit 6a5bd1c65c.
2012-05-23 16:45:01 +02:00
Ralf Corsépius
0c2d8ec48a Revert "libtests/complex: Avoid generated files"
This reverts commit a80a108d44.
2012-05-23 16:44:33 +02:00
Sebastian Huber
14811a0a3c powerpc/t32mppc: Typo 2012-05-22 15:07:48 +02:00
Sebastian Huber
e21c287cdb powerpc/t32mppc: New BSP 2012-05-22 15:05:22 +02:00
Sebastien Bourdeauducq
7aba2ea4a8 network/dhcp: PR1841: Fix DNS processing in DHCP 2012-05-22 14:47:15 +02:00
Sebastian Huber
6a5bd1c65c libtests/math*: Avoid generated files
Use C pre-processor instead of shell commands.
2012-05-22 10:52:41 +02:00
Sebastian Huber
a80a108d44 libtests/complex: Avoid generated files
Use C pre-processor instead of shell commands.
2012-05-22 10:52:41 +02:00
Sebastian Huber
1901afc5eb powerpc/qoriq: Fix due to console API changes 2012-05-21 11:02:13 +02:00
Sebastian Huber
a880c90b20 powerpc/mpc55xxevb: Fix cache define usage 2012-05-21 10:59:59 +02:00
Ralf Corsépius
e7cf65453a Add missing ) 2012-05-18 11:20:54 +02:00
Ralf Corsépius
6963854ddc Remove references to configure.in. 2012-05-18 07:47:52 +02:00
Ralf Corsépius
cf65bb0049 Remove obsolete reference to posix bsp. 2012-05-18 07:37:45 +02:00
Ralf Corsépius
bbb69abb98 Remove stray dnl. 2012-05-18 07:24:47 +02:00
Ralf Corsépius
39aab06ac4 Update from automake-1.11.5. 2012-05-18 07:11:47 +02:00
Joel Sherrill
8bbf69e6e6 pci.h cleanup - Consolidate common defines to cpukit pci.h
+ libbsp/sparc/shared/include/pci.h was largely a copy of
  an older version of the cpukit pci.h. Removed much of the
  contents and included <rtems/pci.h>.
+ sparc/*/pci*.c - Move to <rtems/pci.h> required updating
  to use uint32_t for dword accesses.
+ Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION
+ Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove
  PCI_MULTI_FUNCTION definitions in C files.
+ Move PCI_INVALID_VENDORDEVICEID definitions from various C files
  to cpukit pci.h
2012-05-16 16:11:44 -05:00