| 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
* 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 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 351/networking
* nfs/bootp_subr.c: Fix ridiculous leak in bootp and use
strdup_bootp_realloc() everywhere for sake of consistency.
|
|
|
|
|
|
| |
PR 357/rtems_misc
* src/termios.c (rtems_termios_open): Fixed code the incorrectly
checked that the wrong pointer during allocation was NULL.
|
|
|
|
|
| |
PR 352/rtems_misc
* shell/shell.c: make rtems_shell main task an FP enabled task.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 347/rtems
* rtems/powerpc/registers.h (PPC_Set_decrementer): Correct inline
assembly so it correctly generates on newer gcc's.
|
| |
|
|
|
|
|
|
|
| |
* cpu_asm.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
|
|
|
|
|
|
|
| |
* irq.c: Rework logic that decides when to call
_Thread_Dispatch. Analysis by Sergei Organov <osv@javad.ru>
determined that _ISR_Signals_to_thread_executing was not being
honored and/or cleared properly.
|
|
|
|
|
|
|
|
|
|
| |
* rtems/rtems_glue.c: A small patch to the network daemon task
code. I just added code to check the return value of
the rtems_bsdnet_event_receive function. Only when
this function returns a SUCCESSFUL status, will the
event flags be checked. This is more of a code cleanup issue
than a bug. The patch will just ensure the ipintr() and
arpintr() functions are only called when a event is signaled.
|
|
|
|
| |
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
|
|
| |
* configure.ac: AC_PREREQ(2.57).
|
| |
|
|
|
|
|
| |
* pppd/chat.c: Convert routines with common names to static. This
included get_char(), put_char(), and character() among others.
|
|
|
|
|
| |
* m68360.h: Correct the order of fields in the ethernet structure
to account for the typo in MC68360UM (page 7-248).
|
|
|
|
|
|
|
|
|
|
| |
PR 342/networking
* kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
the m_len value of the mbuf. I looked into the source from another
BSD system and the mbuf length is not changed inside this function.
The m_copyback function is only being used in the net/rtsock.c file.
So I think this problem is only visable under certain routing table
conditions.
|
|
|
|
|
| |
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
Linux port builds.
|
|
|
|
|
|
| |
PR 341/networking
* lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing
memory.
|
|
|
|
|
| |
PR 340/filesystem
* src/fcntl.c: Add missing _fcntl_r assumed to exist by newlib.
|
|
|
|
|
| |
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
code.
|
|
|
|
|
|
| |
PR 338/filesystem
* include/rtems/io.h, src/io.c: Side-effect of fixing reentrancy
problem with rtems_io_lookup_name() (API change).
|
|
|
|
|
|
| |
PR 338/filesystem
* src/unixlibc.c: Side-effect of fixing reentrancy problem with
rtems_io_lookup_name() (API change).
|
|
|
|
|
|
| |
PR 338/filesystem
* rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with
rtems_io_lookup_name() (API change).
|
|
|
|
|
|
| |
PR 338/filesystem
* src/imfs/ioman.c: Fix reentrancy problem with
rtems_io_lookup_name() (API change).
|
|
|
|
|
| |
PR 339/filesystem
* src/chroot.c: Fix violation of FS node object copy semantics.
|
|
|
|
| |
* aclocal/version.m4: Updated to rtems-ss-20030128.
|
|
|
|
|
|
| |
* Makefile.am: Add kern/kern_sysctl.c to Makefile.am so networking
tests build. This was subsequently reported as PR337 before I
committed the fix.
|
|
|
|
|
| |
* libc/getproto.c, libc/getprotoname.c: modification to call
getprotoent_static() if fopen() on /etc/protocols fails.
|
|
|
|
|
|
| |
* stackchk/check.c: Fix problem where _Objects_Get_information()
will dereference a null pointer when checking the interrupt stack.
If there's something at 0, you may be ok at run time but it is wrong.
|
|
|
|
| |
* monitor/mon-command.c: Correct two potential NULL references.
|
|
|
|
|
| |
* src/ptimer1.c: Correct problem which could lead to overflow in time
math.
|
|
|
|
|
| |
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
blocks to 512 byte aligned positions.
|
|
|
|
|
|
| |
* src/blkdev.c: Per PR331 fix bug which is tripped by writing 512 byte
blocks to 512 byte aligned positions.
|
|
|
|
| |
* configure.ac: Fix tests for GCC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add check for weak function attribute.
Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
* capture/Makefile.am: Use *.a instead of *-tmp.a.
* cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
* devnull/Makefile.am: Use *.a instead of *-tmp.a.
* dummy/Makefile.am: Use *.a instead of *-tmp.a.
* dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
* monitor/Makefile.am: Use *.a instead of *-tmp.a.
* mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
* rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
* serdbg/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSERDBG is true.
* shell/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSHELL is true.
* stackchk/Makefile.am: Use *.a instead of *-tmp.a.
* untar/Makefile.am: Use *.a instead of *-tmp.a.
* wrapup/Makefile.am: Reflect changes above.
|