summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-19Remove (Abandoned).Ralf Corsepius1-175/+0
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-10/+2
* README, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-8/+1
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
2007-12-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+0
* startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
2007-12-012007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-2/+0
* startup/bspstart.c: removed bsp_exceptions_in_RAM
2007-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-0/+2
* startup/bspstart.c: Now compiles and links.
2007-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-10/+23
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
2006-08-232006-08-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-10/+0
* startup/bspstart.c: Revert patch adding new exception support code to an old exception BSP.
2006-08-222006-08-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+10
* startup/bspstart.c: Add basic _BSP_Fatal_error.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-1/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-12/+12
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-3/+3
* startup/bspstart.c: Convert to using c99 fixed size types.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+0
* startup/bspstart.c: Removed incorrect statement about copyright assignment.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-6/+4
* startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. Header file order was cleaned up while doing this.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-10/+1
1998-12-03Removed reference to stackchk.h.Joel Sherrill1-4/+0
1998-09-30BSP submitted by Thomas Doerfler <td@imd.m.isar.de>:Joel Sherrill1-13/+80
Finally I am through: I have found the last bugs that made RTEMS- 4.0-beta3 start on my ppc403 board from ROM. So now the '403 support is up to date again. Roughly I have added the following features: - support for the on-chip interrupt controller (in a separate module) - interrupt support for the console device - termios support for the console device ============================================== Since the BSP behaivour changed in some details (console no longer is polling, other memory layout etc) I have created a new BSP "helas403" rather than changing the "papyrus" BSP. The old "polled" console driver still sticks around in "console.c.polled" To get the BSP up and running, I had to create the new BSP files (derived from papyrus). Besides that, the following source areas have been changed: - c/src/lib/libcpu/powerpc/ppc403: changes to console driver, small changes to clock driver, new "ictrl" interrupt controller driver - c/src/exec/score/cpu/powerpc/ppc.h: some small changes (added ppc403 characteristics like a exception vector prefix register, some special register definitions). I am quite sure, they are compatible with the existing sources, although I did not check - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe limitation in the exception entries: Due to the current code arrangement, the "branch absolute" to the ISR handler may only jump to the first 128MByte or the last 128MByte of the 4GByte address range. When the ppc403 is running out of ROM, the ROM functions are located in the last 128MByte (0xFFF00000 and up). These addresses were not handled correctly (sign reduced) in "install_raw_handler". The change I added should work on existing ppc BSPs aswell... - c/src/lib/libc/termios.c: During my tests, I added one change you sent me, so this patch will already be incorporated in the current source tree. There are some smaller changes, see the attached diff file. ========================================= Concerning the GNU toolchain: I tried several tool chains. Finally I almost succeeded with egcs-1.0.3a with patch egcs-1.0.3-rtems-diff-19980527 I had to add the following lines to the egcs files. Without them configure complaint that the cross compiler could not generate executable output. - additional lines needed in egcs distribution in file gcc/config/rs6000/rtems.h: +++ lines start #undef STARTFILE_DEFAULT_SPEC #define STARTFILE_DEFAULT_SPEC "ecrti.o%s" #undef ENDFILE_DEFAULT_SPEC #define ENDFILE_DEFAULT_SPEC "ecrtn.o%s" ++++ lines end As far as I have seen in the Changelog of egcs, you have recently sent two patches affecting the powerpc support, but they were added in the wrong order.... :-( egcs-19980628 with patch egcs-19980628-rtems-diff-19980707 does not work! I used binutils 2.9.1 with patch binutils-2.9.1-rtems-diff-19980515 (binutils 2.8.1 does not work, internal error in gas) and newlib-1.8.0 with patch newlib-1.8.0-rtems-diff-19980707 Finally I had to poke a line in the "bit" script, since, on my LINUX machine, the GNU make is only available as "make", not as "gmake"... For all the tools and newlib I selected configuration "powerpc- rtems". -------------------------------------------- IMD Ingenieurbuero fuer Microcomputertechnik Thomas Doerfler Herbststrasse 8 D-82178 Puchheim Germany email: td@imd.m.isar.de
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1-33/+0
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
1998-04-15Transitioned to shared bsp_libc_init() and cleaned up comments.Joel Sherrill1-52/+18
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-13/+0
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-14Stack checker extension now accounted for in confdefs.hJoel Sherrill1-8/+0
1998-04-14Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1-14/+0
by newlib.
1998-03-30Moved bsp_postdriver_hook() to a shared file and made it a commonJoel Sherrill1-26/+3
component.
1998-03-21Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1-18/+1
based on the GNU tools. This usually involved correcting the type of bsp_start(), bsp_cleanup(), adjusting the start code to call the right start routine (the shared boot_card()), and then removing code from bsp_start() which was performed in the new boot_card()/main() path.
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1997-01-29All RTEMS system call implementation renamed to be __rtems_*.Joel Sherrill1-4/+4
1996-05-28added initial posix configuration supportJoel Sherrill1-1/+1
1996-02-21Dispersal of internal thread handler resulted in the SYSI task beingJoel Sherrill1-1/+1
only required in a multiprocessor system. It was replace by the MPCI Receive Server. As a result, the CPU Table field for extra stack for the SYSI task was changed to be extra stack for the MPCI Receive Server.
1995-12-20changes remerged after lost in disk crash -- recovered from snapshot, ↵Joel Sherrill1-4/+2
partially recovered working tree, etc
1995-10-30SPARC port passes all testsJoel Sherrill1-4/+7
1995-10-06fixed missing CVS IDsJoel Sherrill1-1/+1
1995-09-19Minor bug fixes to get all targets compilable and running. TheJoel Sherrill1-8/+31
single biggest changes were the expansion of the workspace size macro to include other types of objects and the increase in the minimum stack size for most CPUs.
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-4/+62
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-23Support for variable length names added to Object Handler. This supportsJoel Sherrill1-19/+44
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
1995-06-07incorporated mc68302 supportJoel Sherrill1-5/+10