summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-243-78/+4
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-243-0/+50
|
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-182-4/+13
| | | | | | | | | PR 356/bsps * sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant. Declare all linker-script defined addresses as variables of unknown size and not as short objects like 'int', 'void*' etc. Since only addresses are used and never those variable's values, the type used in a declaration is not important.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-182-1/+7
| | | | | | PR 356/bsps * custom/mvme2307.cfg: This patch makes RTEMS/PowerPC eabi compliant. Enable EABI by adding -meabi -msdata=eabi CFLAGS.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-182-2/+10
| | | | | | | | PR 356/bsps * src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant. Let Thread_Handler verify that _init/_main are non-NULL before calling them (gives the linker script/user more freedom to handle special cases).
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-184-0/+52
| | | | | PR 356/bsps * cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-189-22/+84
| | | | | | | | | | | | | | | PR 356/bsps This patch makes RTEMS/powerpc/shared EABI compliant. * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c, startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c: zero_bss() should clear not only bss but sbss and sbss2 also (this is probably a bugfix, as sbss/sbss2 are probably used even if -msdata=eabi is not specified). * start/rtems_crti.S: New file which must be linked immediately after ecrti.o. rtems_crti.o contains a code snippet who lets __init() return immediately. Also, a new entry point '_init' to the C++ Ctors is generated for use by the RTEMS Thread_Handler.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-184-9/+28
| | | | | | | | | | | | | PR 356/bsps * bsp_specs, start/Makefile.am, startup/linkcmds This patch makes RTEMS/powerpc/shared EABI compliant. Declare all linker-script defined addresses as variables of unknown size and not as short objects like 'int', 'void*' etc. This prevents the compiler from generating a relocation who assumes the existence of an __rtems_end object in one of the short data areas (which would result in a linker error).
* 2003-03-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-03-182-125/+46
| | | | * comm/GDB.HOWTO: Updated.
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-118-40/+47
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1112-7/+35
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-114-5/+1501
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-112-1/+4
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1110-137/+43
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1184-41/+172
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1176-38/+152
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1192-59/+198
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1115-9/+42
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-1143-35/+156
|
* Fix CVS-IdsRalf Corsepius2003-03-113-3/+3
|
* Merger from rtems-4-6-branchRalf Corsepius2003-03-107-12/+17
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-043-9/+20
|
* 2003-02-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-282-0/+7
| | | | * .cvsignore: Add newly generated .texi files.
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-282-1/+28
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-282-1/+7
|
* Remove corrupted ChangeLog entry.Ralf Corsepius2003-02-281-66/+0
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-282-33/+102
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-286-6/+26
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-282-22/+9
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-285-28/+34
|
* 2003-02-26 RTEMSJoel Sherrill2003-02-264-23/+44
| | | | | | | | * setup.def: Updated gdb revision to -2 so arm will build and to fix psim build problem on NetBSD. * gcc3newlib/gccnewlib.add: Ignore dependency on GNAT RPM since RedHat 7.3 doesn't have it available. Maybe later. * gdb/Makefile.am: Cleanup way the RPM_SPECS_DATA variable is built.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-0/+7
| | | | | PR 349/bsps * rtems/powerpc/registers.h: Add definitions for HID1 and DABR SPRs.
* Patch against RTEMS-ss-20030128Joel Sherrill2003-02-203-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Till Straumann <strauman@slac.stanford.edu> 2003/2/11 This patch addresses the following issues: 2003-02-20 Till Straumann <strauman@slac.stanford.edu> PR 349/bsps * src/mount.c, src/privateenv.c: - mount() bugfix: allocated 'loc' node must be released if mount fails due to missing node_type_h - silence compiler warning about improper pointer type Index: cpukit/libcsupport/src/mount.c =================================================================== RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/mount.c,v retrieving revision 1.1.1.2 diff -c -r1.1.1.2 mount.c *** cpukit/libcsupport/src/mount.c 29 Jan 2003 22:57:19 -0000 1.1.1.2 --- cpukit/libcsupport/src/mount.c 7 Feb 2003 20:47:49 -0000 *************** *** 142,147 **** --- 142,149 ---- mount_point, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE ) == -1 ) goto cleanup_and_bail; + loc_to_free = &loc; + /* * Test for node_type_h */ *************** *** 155,161 **** * Test to see if it is a directory */ - loc_to_free = &loc; if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) { errno = ENOTDIR; goto cleanup_and_bail; --- 157,162 ---- Index: cpukit/libcsupport/src/privateenv.c =================================================================== RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/privateenv.c,v retrieving revision 1.1.1.3 diff -c -r1.1.1.3 privateenv.c *** cpukit/libcsupport/src/privateenv.c 29 Jan 2003 22:57:20 -0000 1.1.1.3 --- cpukit/libcsupport/src/privateenv.c 30 Jan 2003 18:01:40 -0000 *************** *** 65,71 **** tmp->refcnt = 1; #endif ! sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env); if (sc != RTEMS_SUCCESSFUL) { /* don't use free_user_env because the pathlocs are * not initialized yet --- 65,71 ---- tmp->refcnt = 1; #endif ! sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env); if (sc != RTEMS_SUCCESSFUL) { /* don't use free_user_env because the pathlocs are * not initialized yet
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-209-13/+107
| | | | | | | | | | | | | | | PR 349/bsps * mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c, shared/src/stackTrace.h, powerpc/registers.h: - undo improper 'fix' who broke mpc604r identification - fix: 7400 identification PVR value was wrong - enhance 'setdbat()' to switch OFF a given BAT if called with 0 size - fix: page table support bugfix - enhancement: provide routines to take and print stack trace snapshots - add definitions for HID1 and DABR SPRs
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-1/+8
| | | | | | PR 349/bsps * configure.ac: Add glue to the powerpc/shared BSP to use the vmeUniverse VME-PCI bridge driver.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-203-6/+23
| | | | | | | | PR 349/bsps * startup/Makefile.am, startup/linkcmds startup/Makefile.am, startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c: Let the powerpc/shared (+derived) BSPs use pagetable support from libcpu.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-206-2/+60
| | | | | | | PR 349/bsps * Makefile.am, configure.ac: Add glue to the powerpc/shared BSP to use the vmeUniverse VME-PCI bridge driver. * vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-203-0/+25
| | | | | | | | | | | | | | | | | | | PR 349/bsps * openpic/Makefile.am, pci/Makefile.am: - install the 'openpic.h' and 'pci.h' headers - avoid a name clash by renaming 'vsprintf' & friends to 'k_vsprintf' etc. - let 'rtemsReboot' print a stack trace (in case an 'assert' failed) - irq.c: * fix: remove implicit assumption that ISA interrupt vectors start at 0 * add BSP hook to let a VME interrupt acknowledge the PCI/openpic IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch) - fix: EABI compliance; isr/exception lowlevel handlers must not clobber R2 or R13 - fix: openpic_init was called with the polarity/senses tables swapped (fixed wrong order of arguments) - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-203-0/+135
| | | | | | | | PR 349/bsps * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files * startup/Makefile.am, startup/bspstart.c, startup/linkcmds: Let the powerpc/shared (+derived) BSPs use pagetable support from libcpu.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-206-0/+258
| | | | | | | PR 349/bsps * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h, vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use the vmeUniverse VME-PCI bridge driver.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-204-78/+340
| | | | | | | PR 349/bsps * shared/README.universe, shared/vmeUniverse/README.porting shared/vmeUniverse/README.universe, shared/vmeUniverse/vmeUniverse.c, shared/vmeUniverse/vmeUniverse.h: Update of the VME universe driver.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-2016-80/+257
| | | | | | | | | | | PR 349/bsps * console/console.c, console/uart.c, console/uart.h: implement IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ callback. The callback routine (if installed) is invoked from the UART ISR when a BREAK interrupt is detected. This can be used e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we use the serial line break condition) NOTE: The callback runs in ISR context.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-0/+11
| | | | | | PR 353/bsps * include/bsp.h: Let the application override the network driver and attach routine.
* Fixed typo in PR category.Joel Sherrill2003-02-201-1/+1
|
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-3/+14
| | | | | | PR 351/networking * nfs/bootp_subr.c: Fix ridiculous leak in bootp and use strdup_bootp_realloc() everywhere for sake of consistency.
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-202-5/+28
| | | | | | | PR 354/networkign * network/if_fxp.c (Intel eepro network driver): re-enabled the chip against a table of supported chips. The untested ones are still commented out, however.
* 2003-02-20 Wolfram Wadepohl <W.Wadepohl@indumat.de>Joel Sherrill2003-02-202-1/+7
| | | | | | PR 357/rtems_misc * src/termios.c (rtems_termios_open): Fixed code the incorrectly checked that the wrong pointer during allocation was NULL.
* 2003-02-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-184-3/+8
| | | | | | * Makefile.am, configure.ac: Remove src2html references. * index.html.in: Update to reflect partial update of Development Environment Guide.
* 2003-02-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-186-414/+288
| | | | | | | | * Makefile.am, develenv.texi: Relect generating .texi from .t's. * direct.t, sample.t, utils.t: New files. * direct.texi, sample.texi, utils.texi: Removed. Now generated from corresponding .t files which are in the process of being updated. This commit is a anspshot of the update effort.
* 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-02-152-2/+7
| | | | | * Makefile.am: Remove references to obsoleted files aclocal/enable-gcc28.m4, aclocal/enable-libcdir.m4.