Commit Graph

11801 Commits

Author SHA1 Message Date
Sebastian Huber
51c85da2ce libchip/ata: Fix pre-processor symbol evaluation 2012-06-12 15:31:37 +02:00
Joel Sherrill
2d7ae960bb v850 port: Initial addition with BSP for simulator in GDB
Port
  + v850 does not have appear to have any optimized bit scan instructions
  + v850 does have single instructions for wap u16 and u32
  + Code path optimization preferences set
  + Add BSP variants for each GCC CPU model flag and a README
    - v850e1 variant does not work (fails during BSP initialization)
BSP for GDB v850 Simulator
  + linkcmds matches defaults in GDB simulator with RTEMS mods
  + crt1.c added from v850 newlib port for __main()
  + BSP exits cleanly
  + printk and console I/O work
  + uses clock tick from IDLE task
  + Tests not requiring real clock ISR work
Documentation
  + CPU Supplment chapter for v850 added
2012-06-11 13:37:29 -05:00
Sebastian Huber
eb1951a2d1 powerpc/mpc55xx: BSP variant changes for MPC5643L 2012-06-05 17:45:00 +02:00
Sebastian Huber
5bd7bd5ab1 bsp/t32mppc: Fix Trace32 configuration file 2012-06-04 17:30:20 +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
Jennifer Averett
bb08c0c8fb pc386: Added sections for rtems-libbsd support. 2012-05-30 13:10:43 -05:00
Ralf Corsépius
daffa606cc Add bspopts.h.in. 2012-05-24 07:16:50 +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
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
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
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
Joel Sherrill
1364701915 mvme5500 and cpukit pci.h - Eliminate mvme5500 specific pci.h
All constants that should have been in cpukit pci.h were moved there.
One naming style was corrected. This impacted if_wm.c.

All other contents were the same as powerpc/shared/pci.h so BSP
specific pci.h could be eliminated.
2012-05-16 16:11:44 -05:00
Daniel Hellstrom
226d48d826 LEON: moved register definitions into grlib header file
Some register layout definitions for LEON3 reside in ambapp.h which
does not really has anything to do with device registers. The
register structures has been incorrectly named LEON3_*, the cores
are not only used on LEON3 but on LEON4 and perhaps on LEON5 when
that day comes. Some structures has been renamed according to the
GRLIB core name instead, which CPU that actually use it is not
relevant. Drivers has been updated with the new names.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-05-16 13:29:13 -04:00
Sebastian Huber
da154e14f6 Filesystem: Move operations to mount table entry
The scope of the file system operations is the file system instance.
The scope of the file system node handlers is the file location.  The
benefit of moving the operations to the mount table entry is a size
reduction of the file location (rtems_filesystem_location_info_t).  The
code size is slightly increased due to additional load instructions.

Restructure rtems_filesystem_mount_table_entry_t to improve cache
efficiency.
2012-05-15 10:01:43 +02:00
Joel Sherrill
65c6425de9 Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
2012-05-11 08:44:14 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Joel Sherrill
183af893d1 Miscellaneous - Clean up file headers so patterns followed
XXX
2012-05-11 08:43:50 -05:00
Joel Sherrill
9ee5b9750b librtems++ - Remove junk line accidentally committed 2012-05-11 08:33:58 -05:00
Joel Sherrill
eb7c6a84b6 pc386 - Clock driver compiles again plus clean up
The clock drivers were very inconsistent about prototyping
the ISR handlers. This broke with the recent clean up.

Tested on qemu.
2012-05-10 11:17:59 -05:00
Joel Sherrill
79fee34132 clockdrv_shell.h - Fix commment 2012-05-10 08:02:31 -05:00
Joel Sherrill
153ef545e8 clockdrv_shell.c - Remove unreferenced and obsolete file 2012-05-10 08:02:26 -05:00
Joel Sherrill
314fab552d Clock Driver Shell - ISR handler prototype should follow port interrupt model
The prototype for the clock driver tick isr varies based upon
the interrupt model used by the port. This driver was checking
solely upon a flag set by the BSP.
2012-05-10 08:01:38 -05:00
Joel Sherrill
42547e07cb nds - Clock driver compiles again 2012-05-10 08:01:28 -05:00
Joel Sherrill
4523829abf nds/libnds - Fix missing prototype warning and formatting 2012-05-10 08:01:13 -05:00
Joel Sherrill
890c55c73c hurricane - Remove unused file setvec.c 2012-05-10 08:01:08 -05:00
Joel Sherrill
883a02c6f9 score603e - Eliminate any set_vector() remnants 2012-05-09 16:56:39 -05:00
Joel Sherrill
16f0a50ac6 virtex4 - Eliminate any set_vector() remnants 2012-05-09 16:56:39 -05:00
Joel Sherrill
71d7e02f1d virtex - Eliminate any set_vector() remnants 2012-05-09 16:56:39 -05:00
Joel Sherrill
1290a66fd3 mbx8xx - Eliminate any set_vector() remnants 2012-05-09 16:56:38 -05:00
Joel Sherrill
e7afbaa32e haleakala - Eliminate commented out code 2012-05-09 16:56:38 -05:00
Joel Sherrill
42dea0c851 mpc8260ads - Eliminate commented out code 2012-05-09 16:56:38 -05:00
Joel Sherrill
96ec7264f0 mpc8260ads - Eliminate any set_vector() remnants 2012-05-09 16:56:37 -05:00
Joel Sherrill
6620a8a8d1 malta - Eliminate any set_vector() remnants 2012-05-09 16:56:37 -05:00
Joel Sherrill
4302c08a30 jmr3904 - Eliminate any set_vector() remnants 2012-05-09 16:56:37 -05:00
Joel Sherrill
878566094b hurricane - Eliminate any set_vector() remnants 2012-05-09 16:56:36 -05:00
Joel Sherrill
aeb6a586c0 genmongoosev - Eliminate any set_vector() remnants 2012-05-09 16:56:36 -05:00
Joel Sherrill
498b9e7dfc rbtx4925 - Eliminate any set_vector() remnants 2012-05-09 16:56:36 -05:00
Joel Sherrill
959a701955 rbtx4938 - Eliminate any set_vector() remnants 2012-05-09 16:56:35 -05:00
Joel Sherrill
541c5ddcb0 csb350 - Eliminate any set_vector() remnants 2012-05-09 16:56:35 -05:00
Joel Sherrill
a29909cb87 libchip/serial - Only use set_vector() on Simple Vectored Architectures 2012-05-09 16:56:33 -05:00
Joel Sherrill
c424bb544e librtems++ - Disable Interrupt Class When Not Simple Vectored
This class only works on Simple Vectored Architectures. Even worse,
it is not guaranteed to compile on a Programmable Interrupt Vector
architecture.
2012-05-09 16:56:05 -05:00
Joel Sherrill
19a3f501bb jmr3904 - Correct tm27.h to use PIC Interrupt Model 2012-05-07 17:02:07 -05:00
Joel Sherrill
dac3a52617 genmongoosev - Correct tm27.h to use PIC Interrupt Model 2012-05-07 16:58:39 -05:00
Joel Sherrill
c3e73138b8 csb350 - Correct tm27.h to use PIC Interrupt Model 2012-05-07 16:58:20 -05:00