Commit Graph

24423 Commits

Author SHA1 Message Date
Sebastian Huber
353f0fa125 bsp/mpc55xx: Add union tags 2012-12-03 13:17:09 +01:00
Sebastian Huber
fe1a4e4bef bsp/qoriq: Set PPC_EXC_CONFIG_BOOKE_ONLY 2012-12-03 13:17:09 +01:00
Sebastian Huber
f6999e6816 bsp/qoriq: Set PPC_EXC_CONFIG_USE_FIXED_HANDLER 2012-12-03 13:17:09 +01:00
Sebastian Huber
c383372f3f bsps/powerpc: Add and use bsp_text input section 2012-12-03 13:17:08 +01:00
Sebastian Huber
d33f743795 bsps/powerpc: Move .fast_text after .text section 2012-12-03 13:17:08 +01:00
Sebastian Huber
f665f13ddd bsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLY
In combination with the PPC_EXC_CONFIG_USE_FIXED_HANDLER option this
removes all dependencies on valid read-write data.  The exception
handling must be statically configured and all components reside in
read-only sections.
2012-12-03 13:17:08 +01:00
Sebastian Huber
4bd4c9e1f9 bsps/powerpc: Add PPC_EXC_CONFIG_USE_FIXED_HANDLER
In case a BSP enables this option, then fixed high level exception
handler will be used.  For normal asynchronous exceptions this is
bsp_interrupt_dispatch() and for other exceptions this is the handler
from the read-only ppc_exc_handler_table.  The global handler is
C_exception_handler().  This avoids some dependencies on valid
read-write data.
2012-12-03 13:17:08 +01:00
Sebastian Huber
4263155e96 bsps/powerpc: Declare ppc_exc_handler_table 2012-12-03 13:17:08 +01:00
Sebastian Huber
3bf002a329 bsp/gen83xx: Workaround for USB stack 2012-12-03 13:17:07 +01:00
Sebastian Huber
7ac89a6f5f bsp/gen83xx: Add sections for USB stack 2012-12-03 13:17:07 +01:00
Sebastian Huber
fd5c1eb14e bsp/csb637: Fix memory map 2012-12-03 10:02:29 +01:00
Sebastian Huber
e168410069 bsp/csb337: Fix memory map 2012-12-03 09:57:59 +01:00
Mathew Kallada
c05d75020d score misc: Clean up Doxygen #14 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/8025204
2012-12-02 16:59:17 -06:00
Mathew Kallada
43e0599151 score misc: Clean up Doxygen #13 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/8013205
2012-12-02 15:23:57 -06:00
Alex Ivanov
52adc80842 score misc: Clean up Doxygen #12 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/8025203
2012-12-02 10:03:09 -06:00
Daniel Georgiev
5a58b1e498 score misc: Score misc: Clean up Doxygen #11 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/8013204
2012-12-01 09:53:45 -05:00
Christopher Kerl
f839bf5ae2 score misc: Score misc: Clean up Doxygen #10 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7983216
2012-12-01 09:47:07 -05:00
Ric Claus
809b726ae1 Print MCSR and ESR.
The Machine Check and Exception Syndrome Registers on Book-E and Book-E-like
processors contain useful information for decoding the cause of an exception.

NB: This patch depends on the PR 2048 patch sent earlier having been applied.
2012-12-01 09:04:33 +01:00
Ric Claus
655bd39676 Virtex5 BSP: Various updates and improvements.
This BSP now uses the MPC6xx clock driver instead of a modified PPC403 clock
driver.  Support for the MMU has been added, but is not enabled by default.
2012-12-01 09:04:20 +01:00
Ric Claus
5b822ab26a Virtex4 BSP: Various updates and improvements.
Switched to using the PPC403 clock driver.  Added support for the MMU but
didn't enable it by default.  Made some functions static to avoid compiler
warnings.  Added a README.
2012-12-01 09:04:14 +01:00
Ric Claus
22e983771f Support additional shell keystrokes.
Emacs style keystrokes Ctrl-B, F, G, P, N, T and U are now supported as they
are in bash.  Also, commands invoked from the history are moved up in the
history buffer when they are executed.  Thus, the most recently executed
command is always just one up-arrow (or Ctrl-P) keystroke away.
2012-12-01 09:03:54 +01:00
Ric Claus
8219438601 Updated mount usage line.
The mount usage line didn't mention the '-o options' handled by the code, so I
updated it.
2012-12-01 09:03:46 +01:00
Ric Claus
fcfef0eeda Updated mkdos options string.
The usage statement for the mkdos command was out of date with respect to the
code, so I have updated it.
2012-12-01 09:03:34 +01:00
Ric Claus
84b19b5405 Restored to pre PPC440 changes.
This file was originally modified by me to support the PPC440 of the virtex5
BSP.  I have since discovered that the clock driver built with the MVME3100
BSP works out of the box for the virtex5 and so have switched to using that.
This file is reverted to the way it was before I touched it, modulo whitespace,
making some functions static (to avoid compiler warnings) and changes by others.
2012-12-01 09:03:17 +01:00
Ric Claus
1a33a6c88d PR 2048: Removed use of PPC440 macro.
Retrying this patch as a stand alone patch and with fewer whitespace
differences.  Also included are additional Book-E and PPC440 SPR definitions.
2012-12-01 09:03:09 +01:00
Alex Ivanov
e0f91da505 score misc: Score misc: Clean up Doxygen #9 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

https://google-melange.appspot.com/gci/task/view/google/gci2012/7977211
2012-11-30 15:35:36 -06:00
Joel Sherrill
4a7dc83762 sparc cpu.h: Correct spacing 2012-11-30 15:35:36 -06:00
Mathew Kallada
8396c18ee6 Score misc: Clean up Doxygen #8 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
    comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7970221
2012-11-29 20:01:26 -06:00
Alex Ivanov
f2f63d1548 score misc: Score misc: Clean up Doxygen #7 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
    comments in the RTEMS source.

https://google-melange.appspot.com/gci/task/view/google/gci2012/7986214
2012-11-29 17:14:28 -06:00
Christopher Kerl
1b4758602f score misc: Score misc: Clean up Doxygen #6 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7976215
2012-11-29 13:39:17 -06:00
Alex Ivanov
e655f7e4fa score misc: Score misc: Clean up Doxygen #5 2012-11-29 13:28:46 -06:00
Ralf Kirchner
db650357f0 libblock: Documentation 2012-11-29 15:08:42 +01:00
Ralf Kirchner
f12e021c42 Filesystem: Documentation 2012-11-29 15:08:42 +01:00
Ralf Kirchner
d1c89524b2 bsps/powerpc: Do not use GCC extern inline 2012-11-29 15:08:42 +01:00
Sebastian Huber
f8ac52f21c score: Documentation 2012-11-29 15:07:12 +01:00
Alexandre Devienne
bf54252a05 Score misc: Clean up Doxygen #4 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7985215
2012-11-28 14:14:50 -06:00
Alex Ivanov
355ee7dbd5 score misc: Clean up Doxygen #3 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7982215
2012-11-28 13:57:31 -06:00
Christopher Kerl
d4d7899bb2 score misc: Clean up Doxygen #2 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

http://www.google-melange.com/gci/task/view/google/gci2012/7986213
2012-11-28 13:31:53 -06:00
Alex Ivanov
f7f1d776de score misc: Clean up Doxygen (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.
https://google-melange.appspot.com/gci/task/view/google/gci2012/7978208
2012-11-28 08:17:26 -06:00
Sebastian Huber
815994fd17 score: Add CPU_Exception_frame
Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().

The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().

Add rtems_exception_frame and rtems_exception_frame_print().

Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions.  Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.

Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().

Add test sptests/spfatal26.
2012-11-27 17:03:40 +01:00
Sebastian Huber
d2202ac56d powerpc: Add CPU_Exception_frame
The powerpc port uses now a unified CPU_Exception_frame.  This resulted
in a CPU_Exception_frame layout change for the MPC5XX.
2012-11-27 17:03:40 +01:00
Sebastian Huber
f0e3cc0a0a bsps/powerpc: Delete unused EXC_DAR field
The Data Access Register (DAR) is not saved in the exception prologue.
2012-11-27 17:03:40 +01:00
Sebastian Huber
7b02f3c6f1 bsps/powerpc: Delete unused EXC_MSR field
The MSR of the interrupted context is saved in the EXC_SRR1 field.
2012-11-27 17:03:40 +01:00
Joel Sherrill
d82a931f14 psxtmtests_plan.csv: Identify Conditional Variable Cases 2012-11-25 18:53:39 -06:00
Sebastian Huber
39aa75e745 bsps: Use RTEMS_BSP_CLEANUP_OPTIONS 2012-11-25 17:45:29 +01:00
Sebastian Huber
acec386c75 Filesystem: PR1619: Use ENOSYS for default statvfs
POSIX does not specify an error number in case the file system does not
support this call.  Use the Linux value.
2012-11-22 17:33:13 +01:00
Sebastian Huber
f1738ed619 score: PR1607: Add and use CPU_SIZEOF_POINTER
Add and use new CPU port define CPU_SIZEOF_POINTER.  It must be an
integer literal that can be used by the assembler.  This value will be
used to calculate offsets of structure members.  These offsets will be
used in assembler code.

The size of a pointer is part of the application binary interface (ABI)
and thus independent of the actual programming language.  The compiler
will provide defines to determine the current ABI.  We use these defines
to select the appropriate CPU_SIZEOF_POINTER value.

Static assertions in the new file "cpukit/score/src/percpuasm.c" will
ensure that the value of CPU_SIZEOF_POINTER is consistent with the
current compiler settings.  Also the offset values used by assembler
code are verfied.
2012-11-22 16:35:07 +01:00
Sebastian Huber
74d22fd1a9 score: Inline _API_extensions_Run_postswitch()
The _API_extensions_Run_postswitch() function is only used in
_Thread_Dispatch().   Avoid superfluous load of _Thread_Executing.
2012-11-22 16:35:07 +01:00
Sebastian Huber
32b2c83d00 score: Inline _User_extensions_Thread_switch()
The _User_extensions_Thread_switch() function is only used in
_Thread_Dispatch().
2012-11-22 16:35:07 +01:00
Sebastian Huber
3be0c9afa3 score: Add and use <rtems/score/userextimpl.h>
This file contains the parts of <rtems/score/userext.h> that are only
necessary for the RTEMS implementation.
2012-11-22 16:35:07 +01:00