summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-30Fixed group usage counting. See test "libtests/block02".Thomas Doerfler2-48/+60
2009-10-302009-10-30 Ralf Corsépius <ralf.corsepiu@rtems.org>Ralf Corsepius2-20/+7
* aclocal/gcc-sanity.m4: New. * configure.ac: Add RTEMS_CHECK_GCC_SANITY.
2009-10-30New.Ralf Corsepius1-0/+88
2009-10-292009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+16
* rtems/score/cpu.h: Define _CPU_Interrupt_stack_setup() macro which reserves space for the 'vector' arg to _C_dispatch_isr() routine and aligns the irq stack to CPU_STACK_ALIGNMENT.
2009-10-292009-10-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+13
* score/src/isr.c: Check if CPU defined _CPU_Interrupt_stack_setup() macro hook for setting up the interrupt stack (alignment, reserving space etc.) after the framework allocates it.
2009-10-29- - Reorderd AVL node fields to save spaceThomas Doerfler5-203/+188
- Fixed printf() formats. New structure for waiters synchronization. Added BDBUF_INVALID_DEV define. New error handling in rtems_bdbuf_init(). - Release disk in case of an error.
2009-10-29 Aded ramdisk_register().Thomas Doerfler3-0/+71
2009-10-292009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-7/+12
* rtems/score/cpu.h: Replaced misleading typedef of CPU_Interrupt_frame by 'void'. The i386 port does not pass any frame info to the interrupt handlers.
2009-10-292009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-21/+21
* ChangeLog, score/cpu/i386/ChangeLog: moved log messages I had erroneously written to cpukit/Changelog to cpukit/score/cpu/i386/ChangeLog.
2009-10-292009-10-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann3-10/+86
* score/cpu/i386/rtems/score/cpu.h: Added #ifdef ASM constructs so that this header can be included from assembly code. Increased CPU_STACK_ALIGNMENT to 16 bytes. Gcc maintains 16-byte alignment and it may be a advantageous to provide initial 16-byte alignment. When using SSE some gcc versions may produce code that crashes if the stack is not 16-byte aligned. Make sure _CPU_Context_Initialize() sets the thread stack up so that it is aligned to CPU_CACHE_ALIGNMENT. * score/cpu/i386/cpu_asm.S: Align stack to CPU_CACHE_ALIGNMENT before calling C-code.
2009-10-282009-10-27 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-0/+5
* score/cpu/i386/rtems/asm.h: Added definition for cr4 register.
2009-10-232009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+6
* aclocal/prog-cc.m4: Remove RTEMS_CFLAGS. Rework CFLAGS setup. * automake/compile.am: Remove RTEMS_CFLAGS.
2009-10-23Remove RTEMS_CFLAGS.Ralf Corsepius1-7/+5
Rework CFLAGS setup.
2009-10-23Remove RTEMS_CFLAGS.Ralf Corsepius1-1/+1
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+20
* score/cpu/Makefile.am: Update DIST_SUBDIRS.
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+6
* libblock/include/rtems/flashdisk.h: Use UINT32_C consts to avoid implicit int-cast overflows in RTEMS_FDISK_KBYTES.
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+13
* libcsupport/include/rtems/error.h: Use ordinal constants for RTEMS_ERROR_ERRNO, RTEMS_ERROR_PANIC, RTEMS_ERROR_ABORT to avoid implicit constant conversion overflows on 16bit-int targets.
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+9
* libmisc/uuid/uuid_time.c: Add cast to uint32_t to allow 16bit shift on 16bit-int targets. * libmisc/uuid/gen_uuid.c: Add HAVE_CONFIG_H guard. Include <limits.h>. Shift pid_t's by (sizeof(pid_t)*CHAR_BIT)>>1 instead of hard-coded 16 to permit building on non 16bit-int targets.
2009-10-22Add HAVE_CONFIG_H guard.Ralf Corsepius1-1/+4
Include <limits.h>. Shift pid_t's by (sizeof(pid_t)*CHAR_BIT)>>1 instead of hard-coded 16 to permit building on non 16bit-int targets.
2009-10-22Add cast to uint32_t to allow 16bit shift on 16bit-int targets.Ralf Corsepius1-1/+1
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+7
* libmisc/shell/extern-ls.h: Remove DAYSPERNYEAR, SECSPERDAY. * libmisc/shell/print-ls.c: Add DAYSPERNYEAR, SECSPERDAY. Add casts to time_t on constants in DAYSPERNYEAR, SECSPERDAY for 16bit-int targets.
2009-10-22Add DAYSPERNYEAR, SECSPERDAY.Ralf Corsepius1-0/+4
Add casts to time_t on constants in DAYSPERNYEAR, SECSPERDAY for 16bit-int targets.
2009-10-22Remove DAYSPERNYEAR, SECSPERDAY.Ralf Corsepius1-3/+0
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libmisc/shell/dd-args.c: Use uint_least32_t instead of u_int, force 32bit constants to make code functional on 16bit-int targets.
2009-10-22Use uint_least32_t instead of u_int, force 32bit constants to make code ↵Ralf Corsepius1-10/+10
functional on 16bit-int targets.
2009-10-222009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.ac: Remove -fasm.
2009-10-21Spacing.Joel Sherrill1-4/+2
2009-10-212009-10-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-2/+10
* sapi/include/rtems/config.h: Fixed typos (wrong case) in macro expansion for rtems_configuration_get_device_driver_table() and rtems_configuration_get_user_extension_table()
2009-10-21interrupt handler type changeThomas Doerfler2-1/+6
2009-10-21 * rtems/powerpc/registers.h: Added defines DEAR_BOOKE and DEAR_405.Thomas Doerfler4-16/+21
* rtems/score/cpu.h: Changed fpscr field to an integer type in Context_Control_fp. Fixed warnings in PPC_Set_timebase_register(). Changed _CPU_Context_Initialize_fp() to initialize all fields and avoid floating-point instructions. * rtems/score/powerpc.h: Removed PPC_INIT_FPSCR define.
2009-10-202009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann3-4/+26
* score/cpu/i386/cpu.c, score/cpu/i386/cpu.h: let the default exception handler print a stack trace.
2009-10-202009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2-1/+7
PR1424/networking * libnetworking/net/rtsock.c: (merged from BSD) copy information out to user buffer.
2009-10-20 * libblock/include/rtems/diskdevs.h: Documentation. Added field toThomas Doerfler6-398/+513
rtems_disk_device. * libblock/include/rtems/blkdev.h: New request code RTEMS_BLKIO_DELETED. * libblock/src/diskdevs.c: Major rewrite. Changed the way disks are deleted. Disks will be now deleted if they are not in use or upon last release. The IO control handler will be invoked if a physical disk is deleted with the RTEMS_BLKIO_DELETED request code. Logical disks increase now the usage count of the associated physical disk. * libblock/include/rtems/ramdisk.h: Documentation. * libblock/src/ramdisk-driver.c: Compile trace support conditionally.
2009-10-202009-10-20 Chris Johns <chrisj@rtems.org>Chris Johns2-1/+8
* libnetworking/rtems/rtems_mii_ioctl_kern.c: Added IFM_ACTIVE and IFM_AVALID to the status for a link up. These are the supported but in the BSD stack. Before IFM_LINK_OK was set and this is a spare bit.
2009-10-16restructuring of ramdisk codeThomas Doerfler7-282/+410
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-59/+3
* libcsupport/src/no_libc.c: Remove. * libcsupport/Makefile.am: Remove no_libc.c.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-4/+1
* libcsupport/src/newlibc_reent.c: Eliminate RTEMS_UNIX.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-4/+2
* libcsupport/src/newlibc_exit.c: Eliminate RTEMS_UNIX.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-3/+1
* libcsupport/src/base_fs.c: Eliminate RTEMS_UNIX.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-3/+1
* libcsupport/src/stat.c: Eliminate RTEMS_UNIX.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-18/+2
* libmisc/monitor/mon-editor.c: Eliminate RTEMS_UNIX.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-10/+6
* libcsupport/include/rtems/libcsupport.h: Remove RTEMS_UNIX, hpux. Fix extern "C" {}.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-8/+4
* libfs/src/imfs/ioman.c: Remove RTEMS_UNIX, __linux__.
2009-10-142009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-3/+4
* score/src/threadhandler.c: Remove comment mentioning unix port.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+1
* wrapup/Makefile.am: Remove UNIX.
2009-10-14Regenerate.Ralf Corsepius2-4/+1
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+1
* configure.ac: Remove UNIX AM_CONDITIONAL.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-4/+3
* libfs/Makefile.am: Unconditionally build src/pipe/fifo.c src/pipe/pipe.c src/pipe/pipe.h.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+1
* libblock/Makefile.am: Unconditionall build libblock.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+1
* Makefile.am: Unconditional build libblock.