Ralf Corsepius
9b353a5013
Merger from rtems-4-6-branch.
2003-03-11 08:47:30 +00:00
Ralf Corsepius
d2c26e4bad
Merger from rtems-4-6-branch.
2003-03-11 08:10:00 +00:00
Ralf Corsepius
6c63598f9f
Fix CVS-Ids
2003-03-11 07:56:06 +00:00
Ralf Corsepius
89b51f4795
Merger from rtems-4-6-branch
2003-03-10 16:46:32 +00:00
Ralf Corsepius
5372f167a9
Merger from rtems-4-6-branch.
2003-03-04 06:55:35 +00:00
Joel Sherrill
68d4f9e203
2003-02-28 Joel Sherrill <joel@OARcorp.com>
...
* .cvsignore: Add newly generated .texi files.
2003-02-28 14:09:32 +00:00
Ralf Corsepius
490a605f28
Merger from rtems-4-6-branch.
2003-02-28 08:25:40 +00:00
Ralf Corsepius
83eda9b994
Merger from rtems-4-6-branch.
2003-02-28 08:06:58 +00:00
Ralf Corsepius
f0daa4c4eb
Remove corrupted ChangeLog entry.
2003-02-28 08:01:39 +00:00
Ralf Corsepius
769f47ae8a
Merger from rtems-4-6-branch.
2003-02-28 07:29:21 +00:00
Ralf Corsepius
9c59c2d953
Merger from rtems-4-6-branch.
2003-02-28 07:08:21 +00:00
Ralf Corsepius
b9184faa30
Merger from rtems-4-6-branch.
2003-02-28 06:57:04 +00:00
Ralf Corsepius
309a9dc8db
Merger from rtems-4-6-branch.
2003-02-28 06:50:36 +00:00
Joel Sherrill
a696c7ae9e
2003-02-26 RTEMS
...
* 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-26 18:05:17 +00:00
Joel Sherrill
cd228d76ad
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
PR 349/bsps
* rtems/powerpc/registers.h: Add definitions for HID1 and DABR SPRs.
2003-02-20 22:11:46 +00:00
Joel Sherrill
8860f103a5
Patch against RTEMS-ss-20030128
...
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 22:09:50 +00:00
Joel Sherrill
d49389adb9
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 22:07:22 +00:00
Joel Sherrill
f3ceb2bf62
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
PR 349/bsps
* configure.ac: Add glue to the powerpc/shared BSP
to use the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:59:12 +00:00
Joel Sherrill
8f8147612f
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:57:59 +00:00
Joel Sherrill
e00763df0d
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:57:26 +00:00
Joel Sherrill
8fcce4f6ae
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:52:45 +00:00
Joel Sherrill
ea29ba63ac
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:46:04 +00:00
Joel Sherrill
b95aedf3b4
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:43:02 +00:00
Joel Sherrill
20b349f15f
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:35:57 +00:00
Joel Sherrill
4f3e4f33db
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:32:07 +00:00
Joel Sherrill
d19443c71a
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
PR 353/bsps
* include/bsp.h: Let the application override the network driver
and attach routine.
2003-02-20 21:24:50 +00:00
Joel Sherrill
47cf7a754f
Fixed typo in PR category.
2003-02-20 21:22:15 +00:00
Joel Sherrill
7ac73e6ee2
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:21:28 +00:00
Joel Sherrill
9f9ba595fc
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
...
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 21:17:29 +00:00
Joel Sherrill
2932830be7
2003-02-20 Wolfram Wadepohl <W.Wadepohl@indumat.de>
...
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-20 20:45:32 +00:00
Joel Sherrill
64151bfc77
2003-02-18 Joel Sherrill <joel@OARcorp.com>
...
* Makefile.am, configure.ac: Remove src2html references.
* index.html.in: Update to reflect partial update of Development
Environment Guide.
2003-02-18 16:17:00 +00:00
Joel Sherrill
aa4142936e
2003-02-18 Joel Sherrill <joel@OARcorp.com>
...
* 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-18 16:16:12 +00:00
Ralf Corsepius
b22fa3ab19
2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* Makefile.am: Remove references to obsoleted files
aclocal/enable-gcc28.m4, aclocal/enable-libcdir.m4.
2003-02-15 04:35:41 +00:00
Ralf Corsepius
a45f7e2dc2
2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* ChangeLog: Take out bogus ppc changelog entry.
2003-02-15 04:31:56 +00:00
Ralf Corsepius
299ebb4896
Merger from rtems-4-6-branch
2003-02-15 04:04:18 +00:00
Joel Sherrill
83795347ac
2003-02-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
...
PR 348/bsps
* mpc6xx/exceptions/raw_exception.c: Add PPC_603ev as required
by MTX603e BSP.
2003-02-14 20:12:10 +00:00
Joel Sherrill
b70779ae7a
2003-02-14 Till Straumann <strauman@slac.stanford.edu>
...
PR 352/rtems_misc
* shell/shell.c: make rtems_shell main task an FP enabled task.
2003-02-14 20:08:45 +00:00
Joel Sherrill
ebea96b5df
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
AMD a29k obsolete.
* custom/portsw.cfg: Removed.
2003-02-14 19:54:33 +00:00
Joel Sherrill
4e7d2181a8
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
AMD a29k is obsolete.
* Makefile.am: Removed reference.
* a29k/.cvsignore, a29k/ChangeLog, a29k/Makefile.am, a29k/configure.ac,
a29k/clock/.cvsignore, a29k/clock/Makefile.am, a29k/clock/ckinit.c,
a29k/clock/clock.S, a29k/clock/clock.h, a29k/timer/.cvsignore,
a29k/timer/Makefile.am, a29k/timer/timer.c, a29k/timer/timerisr.c:
Removed.
2003-02-14 19:52:49 +00:00
Joel Sherrill
c4b0613f0d
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
* index.html.in: Removed a29k reference.
2003-02-14 19:50:29 +00:00
Joel Sherrill
37b30dc665
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
* cpumodels.t: Removed a29k reference and updated.
2003-02-14 19:50:11 +00:00
Joel Sherrill
53d5cf48a2
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
* preface.texi: Remove a29k references and update.
2003-02-14 19:49:44 +00:00
Joel Sherrill
52ffa3e841
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
* basic.t, entry: Remove A29k references and update.
2003-02-14 19:49:20 +00:00
Joel Sherrill
6dd184ce97
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
* README.configure, aclocal/rtems-cpu-subdirs.m4: Remove a29k
references.
2003-02-14 19:43:28 +00:00
Joel Sherrill
04040112b6
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
AMD a29k declared obsolete.
* cpu/Makefile.am: Removed reference.
* cpu/a29k/.cvsignore, cpu/a29k/ChangeLog, cpu/a29k/Makefile.am,
cpu/a29k/amd.ah, cpu/a29k/asm.h, cpu/a29k/configure.ac,
cpu/a29k/cpu.c, cpu/a29k/cpu_asm.S, cpu/a29k/pswmacro.ah,
cpu/a29k/register.ah, cpu/a29k/sig.S, cpu/a29k/rtems/.cvsignore,
cpu/a29k/rtems/score/.cvsignore, cpu/a29k/rtems/score/a29k.h,
cpu/a29k/rtems/score/cpu.h, cpu/a29k/rtems/score/cpu_asm.h,
cpu/a29k/rtems/score/types.h: Removed.
2003-02-14 19:40:49 +00:00
Joel Sherrill
a6ca1f3567
2003-02-14 Joel Sherrill <joel@OARcorp.com>
...
AMD a29k port declared obsolete.
* a29k/.cvsignore, a29k/ChangeLog, a29k/Makefile.am, a29k/acinclude.m4,
a29k/configure.ac, a29k/portsw/.cvsignore, a29k/portsw/ChangeLog,
a29k/portsw/Makefile.am, a29k/portsw/README, a29k/portsw/bsp_specs,
a29k/portsw/configure.ac, a29k/portsw/times,
a29k/portsw/console/.cvsignore, a29k/portsw/console/Makefile.am,
a29k/portsw/console/concntl.h, a29k/portsw/console/console.c,
a29k/portsw/console/serial.c, a29k/portsw/console/serial.h,
a29k/portsw/include/.cvsignore, a29k/portsw/include/Makefile.am,
a29k/portsw/include/bsp.h, a29k/portsw/start/.cvsignore,
a29k/portsw/start/Makefile.am, a29k/portsw/start/amd.ah,
a29k/portsw/start/pswmacro.ah, a29k/portsw/start/register.S,
a29k/portsw/start/register.ah, a29k/portsw/start/start.S,
a29k/portsw/startup/.cvsignore, a29k/portsw/startup/Makefile.am,
a29k/portsw/startup/bspclean.c, a29k/portsw/startup/bspstart.c,
a29k/portsw/startup/linkcmds, a29k/portsw/startup/main.c,
a29k/portsw/startup/ramlink, a29k/portsw/startup/romlink,
a29k/portsw/startup/setvec.c, a29k/portsw/wrapup/.cvsignore,
a29k/portsw/wrapup/Makefile.am: Removed.
2003-02-14 19:39:43 +00:00
Joel Sherrill
a6f8daab36
2003-02-14 Till Straumann <strauman@slac.stanford.edu>
...
PR 347/rtems
* rtems/powerpc/registers.h (PPC_Set_decrementer): Correct inline
assembly so it correctly generates on newer gcc's.
2003-02-14 19:33:56 +00:00
Ralf Corsepius
746219ad82
Fix ChangeLog.
2003-02-14 05:15:16 +00:00
Ralf Corsepius
6b2b4a367d
Merger from rtems-4-6-branch.
2003-02-14 05:15:15 +00:00
Ralf Corsepius
e84c52869b
Merger from rtems-4-6-branch.
2003-02-14 03:29:01 +00:00