summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-0111-0/+566
| | | | | | | | | | | | | * Added macro support to POSIX API. This is known to compile. * macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl, macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl, macros/rtems/posix/mutex.inl, macros/rtems/posix/priority.inl, macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl, macros/rtems/posix/timer.inl: New files. * configure.in: Removed error check for enabling macros. * rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines since you cannot have prototypes for macros. * macros/rtems/posix/Makefile.am: Added files.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-1/+11
| | | | * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-10/+13
| | | | | * src/msgqsubmit.c: Modified multiprocessing conditional so this would compile with both macros and inlines.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-0/+10
| | | | | * macros/rtems/rtems/sem.inl: Added macro implementation of _Semaphore_Get_interrupt_disable().
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-1/+6
| | | | * inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-307-4/+143
| | | | | | | | | | | | | | | | | | * General effort to make things compile with macros not inlines * inline/rtems/score/coremutex.inl: Added comment indicating for macros there is another copy of _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. * src/coremutexseize.c: Added body of _CORE_mutex_Seize_interrupt_trylock() for macro case. * macros/rtems/score/coremutex.inl: Added prototype for _CORE_mutex_Seize_interrupt_trylock() since there is a real body when macros are enabled. * macros/rtems/score/coresem.inl: Added macro implementation of _CORE_semaphore_Seize_isr_disable. * macros/score/Makefile.am: Fixed typos. * rtems/score/address.inl: Correct macro implementation of _Addresses_Is_aligned() so it would compile. * macros/rtems/score/coremsg.inl: Added closing parentheses.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-2/+14
| | | | | | * cpu_asm.S: Changed "_CPU_Ccontext_switch_restore: typo to correct name of _CPU_Context_switch_restore. Added dummy version of exc_utlb_code() so applications would link.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-301-1/+1
| | | | | | | * include/rtems/Makefile.am: Added termiostypes.h. * libc/Makefile.am: Removed termiostypes.h. * libc/termios.c: Changed include of "termiostypes.h" to <rtems/termiostypes.h> since that is an RTEMS specific header file.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-301-0/+5
| | | | | * modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since that is an RTEMS specific header file.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-2/+7
| | | | | * sys/ttycom.h: Moved to lib/include/sys. * Makefile.am: Modified to reflect above.
* 2000-11-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-301-0/+141
| | | | | * include/sys/ttycom.h: New file -- moved from libnetworking/sys. * Makefile.am: Modified to reflect above.
* 2000-11-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-282-0/+7
| | | | | * src/imfs/memfile.c: Bug report from Sturniolo Jose <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
* 2000-11-28 Sergei Organov <osv@javad.ru>Joel Sherrill2000-11-281-1/+4
| | | | | * libc/getcwd.c: Ensure _closedir(dir) is called even on error exit from the routine.
* 2000-11-28 Chris Johns <ccj@acm.org>Joel Sherrill2000-11-282-1/+18
| | | | | | | | | * src/heapallocate.c: Do not allow the size to overflow when adjusting it. A test allocated a stack of -1 (~0). This actually resulted in a stack being allocated but with a size of 0xb. The allocator did not test the size to see if it rolled through 0 and so allowed the allocation to happen, the thread to get created. The task crashed as you would expect.
* 2000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-271-0/+163
| | | | * libc/termiostypes.h: New file -- missed in earlier commits.
* 2000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-272-1/+5
| | | | * libc/res_init.c: Fix typo - adding missing # on include.
* 2000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-272-0/+19
| | | | * src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
* 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2000-11-252-0/+275
| | | | | | | | | | | | * wrapup/Makefile.am: Added modem subdir. * configure.in, Makefile.am: Added modem subdir. * net/Makefile.am: Added if_pppvar.h, pppcompress.h. * pppd/Makefile.am: Added pppmain.c (which needs work). * pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@imd-systems.de> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
* 2000-11-25 Eric Norum <eric.norum@usask.ca>Joel Sherrill2000-11-252-1/+9
| | | | * libc/res_init.c: Move include to avoid compiler dumping core.
* 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2000-11-259-12/+30
| | | | | | | | | | | | * wrapup/Makefile.am: Added modem subdir. * configure.in, Makefile.am: Added modem subdir. * net/Makefile.am: Added if_pppvar.h, pppcompress.h. * pppd/Makefile.am: Added pppmain.c (which needs work). * pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@imd-systems.de> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
* 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2000-11-251-155/+439
| | | | | | * libc/termios.c, libc/termiostypes.h: Task driver driver model and line discipline support from Thomas Doerfler <Thomas.Doerfler@imd-systems.de>.
* 2000-11-21 Jiri Gaisler <jgais@ws.estec.esa.nl>Joel Sherrill2000-11-212-3/+14
| | | | * cpu_asm.S: Fix for CPUs with FPU revision B or C.
* 2000-11-20 Dmitry Kargapolov <dk@gentex.ru>Joel Sherrill2000-11-201-3/+9
| | | | | * libc/mount.c: Make sure there is space allocated for a device name in the mount table entry.
* 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>Jennifer Averett2000-11-172-16/+20
| | | | * src/imfs/imfs_eval.c: Always return imaginary node at mount points.
* 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>Jennifer Averett2000-11-172-78/+53
| | | | | | | | | | | * libc/mount.c (search_mt_for_mount_point): Deleted routine. * libc/mount.c (Is_node_fs_root): Replacement for above that accounts for the imaginary root node being returned by the filesystem evaluation routine. * libc/unmount.c (unmount): Account for imaginary root node being returned and improved variable names to clarify code. * libc/unmount.c (file_systems_below_this_mountpoint): Body of routine replaced to account for imaginary root node being returned.
* 2000-11-14 Jiri Gaisler <jgais@ws.estec.esa.nl>Joel Sherrill2000-11-153-1/+20
| | | | | | * cpu.c, rtems/cpu/sparc.h: Make floating point optional based on gcc arguments. Do not initialize FP context if there is no FPU. Flush instruction cache after installing RTEMS trap handler.
* 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-101-0/+2
| | | | * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
* 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-0949-25/+121
| | | | * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
* 2000-11-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-032-1/+7
| | | | | | * include/rtems/system.h: Use proper conditional (RTEMS_POSIX_API) so prototypes for POSIX_MP_NOT_IMPLEMENTED(), POSIX_NOT_IMPLEMENTED(), POSIX_BOTTOM_REACHED() are actually included.
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-022-1/+16
| | | | | | * aclocal/canonicalize-tools.m4, aclocal/check-tool.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4: Replace AC_CHECK_TOOL with an RTEMS specific but more restrictive autoconf macro.
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-0249-25/+121
| | | | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-0151-52/+54
| | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am, libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c, libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c, libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c, libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c, libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.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>. * include/rtems/Makefile.am, include/rtems/.cvsignore: New file. * include/rtems/assoc.h, include/rtems/error.h, include/rtems/libcsupport.h, include/rtems/libio.h, include/rtems/libio_.h: New/moved files.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-0129-28/+45
| | | | | | | | | | | | | | | | | * src/imfs/Makefile.am, src/imfs/deviceio.c, src/imfs/imfs_chown.c, src/imfs/imfs_config.c, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_directory.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c, src/imfs/imfs_free.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_gtkn.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_link.c, src/imfs/imfs_mknod.c, src/imfs/imfs_mount.c, src/imfs/imfs_readlink.c, src/imfs/imfs_rmnod.c, src/imfs/imfs_stat.c, src/imfs/imfs_symlink.c, src/imfs/imfs_unixstub.c, src/imfs/imfs_unlink.c, src/imfs/imfs_unmount.c, src/imfs/imfs_utime.c, src/imfs/ioman.c, src/imfs/memfile.c, src/imfs/miniimfs_init.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>. Now we do not have to reach up and over to libc to pick them up.
* 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-311-1/+5
| | | | | * configure.in: Cleanup comments. * bsp_specs: Add qnolinkcmds.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-3116-36/+50
| | | | | | | | | | | | | | * POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * src/rpc/Makefile.am, src/rpc/auth_time.c, src/rpc/clnt_simple.c, src/rpc/clnt_tcp.c, src/rpc/clnt_udp.c, src/rpc/clnt_unix.c, src/rpc/get_myaddress.c, src/rpc/pmap_clnt.c, src/rpc/pmap_getmaps.c, src/rpc/pmap_getport.c, src/rpc/pmap_rmt.c, src/rpc/rtime.c, src/rpc/svc_tcp.c, src/rpc/svc_udp.c, src/rpc/svc_unix.c: Use of _read, _write, and _close as macros conflicted with newlib's use of these as routine names. They were renamed to include "_RPC_" prefix.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-313-0/+14
| | | | | | | | | | * POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync with newlib's <machine/types.h>. * rtems/rtems_bsdnet_internal.h: newlib now includes definition of struct itimerval in <sys/time.h>.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-312-1/+9
| | | | | | | | * POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * include/confdefs.h: Replaced include of <sys/siginfo.h> with <signal.h> since that file no longer exists.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-3111-10/+28
| | | | | | | | | | | | | | | | | | | * include/Makefile.am: Updated to reflect files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * include/unistd.h: Removed. Now use newlib's. * include/rtems/posix/mqueue.h: Add include of <signal.h>. * include/rtems/posix/threadsup.h: Add include of <sys/signal.h> * src/execv.c: Corrected prototype to agree with newlib. * src/execve.c: Corrected prototype to agree with newlib. * src/execvp.c: Corrected prototype to agree with newlib. * src/psignal.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. * src/pthreadkill.c: Added include of <signal.h>. * src/sigaction.c: Added include of <signal.h>. * src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. *
* 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-261-1/+1
| | | | | | * configure.in: Remove bogus cfg_subdirs. * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-2540-20/+120
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-254-2/+12
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-252-1/+6
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-254-33/+5
| | | | | | | | | | | | * libc/ioman.c: Moved to libfs. * libc/Makefile.am: Removed ioman.c as part of moving it to libfs. * libc/base_fs.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific. * libc/libio.h: Removed prototype of IMFS_ops since it should not be in this file. * libc/mount.c: Removed IMFS specific configuration information. * libc/unmount.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific.
* 2000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-253-8/+48
| | | | | | | * src/imfs/imfs_config.c: New file containing IMFS configuration information split from libc/base_fs.c. * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously. * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
* 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-242-1/+9
| | | | | | | | * Makefile.am, configure.in: Introduce GNU canonicalization to libfs/. The approach is currently a bit of a hack as GNU canonicalization does not support the per-BSP build some of the other directories require. As more of the tree is converted, this will become less of an issue.
* 2000-10-24 Alan Cudmore <alanc@linuxstart.com> andJoel Sherrill2000-10-2412-194/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | Joel Sherrill <joel@OARcorp.com> * This is a major reworking of the mips64orion port to use gcc predefines as much as possible and a big push to multilib the mips port. The mips64orion port was copied/renamed to mips to be more like other GNU tools. Alan did most of the technical work of determining how to map old macro names used by the mips64orion port to standard compiler macro definitions. Joel did the merge with CVS magic to keep individual file history and did the BSP modifications. Details follow: * Makefile.am: idtmon.h in mips64orion port not present. * asm.h: MIPS64ORION replaced with MIPS. Frame setup macros added. * cpu.c: Comments added. * cpu_asm.S: Conditionals changed. MIPS ISA level 1 support added. First attempt at exception/interrupt processing for ISA level 1 and minus any use of IDT/MON added. * idtcpu.h: Conditionals changed to use gcc predefines. * iregdef.h: Ditto. * cpu_asm.h: No real change. Merger required commit. * rtems/Makefile.am: Ditto. * rtems/score/Makefile.am: Ditto. * rtems/score/cpu.h: Change MIPS64ORION to MIPS. * rtems/score/mips64orion.h: Change MIPS64ORION to MIPS. Convert from using RTEMS_CPU_MODEL to gcc predefines to figre things out.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-202-0/+9
| | | | * shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
* 2000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-195-0/+35
| | | | | * .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore: New files.
* 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>Joel Sherrill2000-10-193-13/+21
| | | | | | * lib/tftpDriver.c: add comments to handlers struct function pointers. * rtems/rtems_glue.c: move pointer arithmetic to be _after_ pointer has been checked against NULL.
* 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>Joel Sherrill2000-10-194-9/+24
| | | | | * rtems/score/cpu.h: define CPU_Exception_frame for rdbg. * m68302.h: Make buffer pointer in m302_SCC_bd volatile.