Joel Sherrill
23a0607ef1
2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
rtems_task_self() directive.
* rtems/src/taskself.c: New file.
2007-12-20 21:51:23 +00:00
Joel Sherrill
6bd316209b
2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* malloctest/init.c: Add test cases suggested by Sergei Organov
<s.organov@javad.com >.
2007-12-20 20:58:11 +00:00
Jennifer Averett
0b78bc4d01
2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
and resolved copyright information.
* posix/src/kill_r.c: New file.
2007-12-20 19:32:03 +00:00
Jennifer Averett
c3a8293b75
2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* Makefile.am, configure.ac: Added test for ualarm
* psxualarm/Makefile.am, psxualarm/init.c, psxualarm/psxualarm.scn,
psxualarm/system.h: New files.
2007-12-20 18:19:15 +00:00
Jennifer Averett
090edf3901
2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2007-12-20 18:11:24 +00:00
Ralf Corsepius
07c40af537
New.
2007-12-20 16:14:58 +00:00
Ralf Corsepius
ab56160b4b
Regenerate.
2007-12-20 16:13:08 +00:00
Ralf Corsepius
d8536e840b
Add %{?_smp_mflags}.
2007-12-20 16:12:09 +00:00
Ralf Corsepius
c55ed1d294
Prepare upgrade to newlib-1.16.0.
2007-12-20 16:11:34 +00:00
Joel Sherrill
b1bf5a9be0
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* sapi/include/confdefs.h: Revert. Requires info not available at
preprocessing time.
2007-12-19 21:05:39 +00:00
Joel Sherrill
e287d94667
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* sapi/include/confdefs.h: Catch the error when the user lowers the
maximum number of drivers below the number of statically configured
ones.
2007-12-19 20:57:27 +00:00
Joel Sherrill
30cd539354
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* sapi/src/extension.c, sapi/src/extensioncreate.c,
sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
Manager clean up. Update object id switches to new pattern. Catch
some NULL parameter errors.
2007-12-19 20:55:55 +00:00
Joel Sherrill
79542d7a8b
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* sp07/init.c, sp07/system.h, sp07/tdelete.c, sp07/sp07.scn:
Add test cases for User Extension Manager to improve code coverage.
* sp21/task1.c: Fix spelling error.
2007-12-19 20:51:51 +00:00
Jennifer Averett
030fee5b02
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* posix/src/psignalunblockthread.c: Remove source that
2007-12-19 19:13:54 +00:00
Jennifer Averett
e63c48fc02
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* posix/src/psignalchecksignal.c: Make assert active during debug mode
only
2007-12-19 18:48:21 +00:00
Jennifer Averett
1378d39e0d
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* posix/src/psignal.c: Move source around to enable path testing
2007-12-19 18:46:12 +00:00
Jennifer Averett
7689b49ee9
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* Makefile.am, configure.ac: Added posix signal test
* psxsignal01/Makefile.am, psxsignal01/init.c,
psxsignal01/psxsignal01.scn, psxsignal01/system.h,
psxsignal01/task1.c: New files.
2007-12-19 18:41:15 +00:00
Joel Sherrill
bbd655a3d5
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* spsize/size.c: Account for previous changes in calculation of MPCI
receive server stack.
2007-12-19 16:05:56 +00:00
Joel Sherrill
e1a22c112c
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* malloctest/init.c, malloctest/task1.c: Add test for posix_memalign.
2007-12-19 16:05:32 +00:00
Joel Sherrill
8e30a269a2
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_p.h,
libcsupport/src/malloc_report_statistics_plugin.c,
libmisc/shell/shell.c, libmisc/shell/shell.h,
score/src/objectinitializeinformation.c: Add posix_memalign. Split
out management of deferred frees to subroutines.
* libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2007-12-19 16:03:54 +00:00
Joel Sherrill
543fe82061
2007-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/Makefile.am, libcsupport/preinstall.am,
libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
one function per file. Also split out statistics into a separate file
which can be plugged in dynamically. Right now, it is always in. I
suspect that splitting the file removed more code than leaving
statistics in. I tinkered with malloc information command in the
shell. I resurrected the malloc arena code as malloc boundary. This
code is now compiled all the time even though it does not appear to
work.
* libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
libcsupport/src/malloc_get_statistics.c,
libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
libcsupport/src/malloc_report_statistics.c,
libcsupport/src/malloc_report_statistics_plugin.c,
libcsupport/src/malloc_statistics_helpers.c,
libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
libmisc/shell/main_perioduse.c: New files.
2007-12-18 20:36:40 +00:00
Joel Sherrill
02c54f5ee5
2007-12-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* startup/linkcmds: Spacing.
* startup/linkcmds.brs5l: Add wildcard to .bss section.
2007-12-18 14:29:05 +00:00
Joel Sherrill
55216fafdf
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
rtems_Shell_ to rtems_shell_.
2007-12-17 22:39:29 +00:00
Joel Sherrill
e586588471
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
with info and dump as replacement for older command. Fix what looked
like a typo for mount sub-commands.
* libmisc/shell/main_mallocinfo.c: New file.
* libmisc/shell/main_mallocdump.c: Removed.
2007-12-17 22:37:29 +00:00
Joel Sherrill
ad9255bedd
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
malloc_info() routine.
* libcsupport/src/mallocinfo.c: New file.
2007-12-17 22:36:45 +00:00
Joel Sherrill
0ca6d0d938
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
2007-12-17 22:35:25 +00:00
Joel Sherrill
dbfc895efb
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/stackchk/check.c: Add print of current stack pointer and
stack info even if stack checker is not initialized.
2007-12-17 22:34:28 +00:00
Joel Sherrill
c5a742efc3
2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/printk.c: Style.
2007-12-17 21:02:09 +00:00
Joel Sherrill
d38494c8f8
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* clock/clock.c, include/bsp.h: Correct prototype of idle thread. Eric
Norum pointed out this was wrong.
2007-12-17 18:18:17 +00:00
Joel Sherrill
fac3e5ee29
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* score/src/threadqextractwithproxy.c: Conditionalize code that is only
required in multiprocessing configuration.
2007-12-17 18:13:50 +00:00
Joel Sherrill
901a913b70
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: Add test for sysconf().
* psxsysconf/.cvsignore, psxsysconf/Makefile.am, psxsysconf/init.c,
psxsysconf/psxsysconf.scn, psxsysconf/system.h: New files.
2007-12-17 17:57:47 +00:00
Joel Sherrill
dcb6efbd86
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psx01/init.c, psx01/psx01.scn: Add more test cases for
sched_rr_get_interval() and sched_get_priority_max().
2007-12-17 17:39:34 +00:00
Joel Sherrill
2209eecd36
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxenosys/init.c: Fix typo.
2007-12-17 17:16:14 +00:00
Joel Sherrill
0f2aefde75
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* score/src/objectget.c: Revert.
2007-12-17 17:15:50 +00:00
Joel Sherrill
a387dd6208
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* posix/src/timergettime.c: Include rtems/score/timespec.h
2007-12-17 16:20:00 +00:00
Joel Sherrill
feaa007839
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
posix/include/mqueue.h, posix/include/sched.h,
posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
posix/include/rtems/posix/priority.h,
posix/include/rtems/posix/psignal.h,
posix/include/rtems/posix/threadsup.h,
posix/include/rtems/posix/timer.h,
posix/inline/rtems/posix/priority.inl,
posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
posix/src/cleanuppush.c, posix/src/cond.c,
posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
posix/src/conddestroy.c, posix/src/condinit.c,
posix/src/condsignal.c, posix/src/condsignalsupp.c,
posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
posix/src/keycreate.c, posix/src/keydelete.c,
posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
posix/src/keysetspecific.c, posix/src/mqueue.c,
posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
posix/src/mqueueunlink.c, posix/src/mutex.c,
posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
posix/src/mutextrylock.c, posix/src/mutexunlock.c,
posix/src/psignal.c, posix/src/psignalchecksignal.c,
posix/src/psignalclearprocesssignals.c,
posix/src/psignalclearsignals.c,
posix/src/psignalsetprocesssignals.c,
posix/src/psignalunblockthread.c, posix/src/ptimer.c,
posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
posix/src/semclose.c, posix/src/semdestroy.c,
posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
posix/src/semwait.c, posix/src/setcancelstate.c,
posix/src/setcanceltype.c, posix/src/sysconf.c,
posix/src/testcancel.c: Add missing copyright statements.
2007-12-17 16:19:14 +00:00
Joel Sherrill
0d78cfdba3
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:56 +00:00
Joel Sherrill
52ca6498e0
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/asm.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:47 +00:00
Joel Sherrill
43b4c7aa51
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/powerpc/registers.h, rtems/score/cpu.h: Sweep to make sure grep
for COPYRIGHT passes.
2007-12-17 16:12:45 +00:00
Joel Sherrill
a0da07d090
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* irq.c: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:43 +00:00
Joel Sherrill
7ccdfbb1c3
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/m68k/m68302.h, rtems/m68k/m68360.h: Sweep to make sure grep for
COPYRIGHT passes.
2007-12-17 16:12:41 +00:00
Joel Sherrill
3575d0c8f3
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/idtr.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:39 +00:00
Joel Sherrill
899b4f62ef
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/tic4x/c4xio.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:38 +00:00
Joel Sherrill
fe8343911c
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpu.c, irq.c, rtems/score/cpu_asm.h: Sweep to make sure grep for
COPYRIGHT passes.
2007-12-17 16:12:37 +00:00
Joel Sherrill
9804c40d4e
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/avr.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:35 +00:00
Joel Sherrill
5ce8a0d4d5
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* rtems/score/cpu_asm.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:34 +00:00
Joel Sherrill
81be799340
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* support/include/tmacros.h: Add new helper for POSIX tests.
2007-12-17 16:08:17 +00:00
Joel Sherrill
eed0b96d20
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: Rename psxtimer to psxtimer01 to indicate
addition of second POSIX Timer test. Add initial version of
psxtimer02 to cover some conditions missed in psxtimer01. More cases
left to add.
* psxtimer01/.cvsignore, psxtimer01/Makefile.am, psxtimer01/psxtimer.c,
psxtimer01/psxtimer01.scn, psxtimer01/system.h,
psxtimer02/.cvsignore, psxtimer02/Makefile.am, psxtimer02/psxtimer.c,
psxtimer02/psxtimer02.scn, psxtimer02/system.h: New files.
* psxtimer/.cvsignore, psxtimer/Makefile.am, psxtimer/psxtimer.c,
psxtimer/psxtimer.scn, psxtimer/system.h: Removed.
2007-12-17 16:04:40 +00:00
Joel Sherrill
a6cbc9b869
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* posix/Makefile.am, posix/preinstall.am,
posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
Timer implementation into multiple files. Add obvious error checks
for NULL parameters. Attempt to reduce include files.
* posix/src/timercreate.c, posix/src/timerdelete.c,
posix/src/timergetoverrun.c, posix/src/timergettime.c,
posix/src/timerinserthelper.c, posix/src/timersettime.c,
posix/src/timertsr.c: New files.
* posix/src/ptimer1.c: Removed.
2007-12-17 16:01:42 +00:00
Joel Sherrill
646f6a34f4
Formatting.
2007-12-17 14:00:34 +00:00