| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 356/bsps
* custom/mvme2307.cfg: This patch makes RTEMS/PowerPC eabi compliant.
Enable EABI by adding -meabi -msdata=eabi CFLAGS.
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
PR 356/bsps
* cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
* comm/GDB.HOWTO: Updated.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* .cvsignore: Add newly generated .texi files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
PR 349/bsps
* rtems/powerpc/registers.h: Add definitions for HID1 and DABR SPRs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR 349/bsps
* configure.ac: Add glue to the powerpc/shared BSP
to use the vmeUniverse VME-PCI bridge driver.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 353/bsps
* include/bsp.h: Let the application override the network driver
and attach routine.
|
| |
|
|
|
|
|
|
| |
PR 351/networking
* nfs/bootp_subr.c: Fix ridiculous leak in bootp and use
strdup_bootp_realloc() everywhere for sake of consistency.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 357/rtems_misc
* src/termios.c (rtems_termios_open): Fixed code the incorrectly
checked that the wrong pointer during allocation was NULL.
|
|
|
|
|
|
| |
* Makefile.am, configure.ac: Remove src2html references.
* index.html.in: Update to reflect partial update of Development
Environment Guide.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Makefile.am: Remove references to obsoleted files
aclocal/enable-gcc28.m4, aclocal/enable-libcdir.m4.
|