| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* include/sys/utsname.h: Remove.
* include/Makefile.am: Reflect changes above.
* src/utsname.c: Remove.
* src/Makefile.am: Reflect changes above.
|
|
|
|
| |
* rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
|
|
|
|
|
| |
* include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
|
|
|
|
|
|
|
|
| |
* include/sys/ioctl.h: Relocated from libnetworking/sys.
* include/sys/filio.h: Relocated from libnetworking/sys.
* include/sys/sockio.h: Relocated from libnetworking/sys.
* include/Makefile.am: Reflect changes above.
* configure.ac: Take out *NETWORKING*.
|
|
|
|
|
|
|
| |
* sys/ioctl.h: Remove.
* sys/sockio.h: Remove.
* sys/filio.h: Remove.
* sys/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/new-exceptions/cpu.h: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
saving/restoring floating point context. The fpsave and fprestore
routines are only used in a executing context which _is_ fp and hence
has the FPU enabled. The current behavior required the FPU always to
be on which is very dangerous if lazy context switching is used.
[Joel Note: Some ports explicitly enabled the FPU in the FP save and
restore routines to avoid this.]
The patch also makes sure (on powerpc only) that the FPU is disabled
for integer tasks. Note that this is crucial if deferred fp context
switching is used. Otherwise, fp context corruption may go undetected!
Also note that even tasks which merely push/pop FP registers to/from
the stack without modifying them still MUST be FP tasks - otherwise
(if lazy FP context switching is used), FP register corruption (of
other, FP, tasks may occur)!
Furthermore, (on PPC) by default, lazy FP context save/restore
is _disabled_.
|
|
|
|
| |
* ChangeLog: Corrected -- entry should have been in libchip.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* network/dec21140.c: Per PR215 address the following issues:
- _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
are no longer defined by libcpu (powerpc/shared/include/io.h)
but by the BSP (who is the only one to know the values)
- the affected BSP (shared/motorola) headers have been fixed
in a separate "libbsp/powerpc/shared" patch.
- the DEC 21140 driver (libchip/network/dec21140.c) has been
fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
is to be defined by the BSP who is using this driver.
- the DEC driver also has been fixed to use the newer
rtems_bsp_delay_in_bus_cycles() instead of the obsolete
delay_in_bus_cycles().
|
|
|
|
|
|
| |
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add
support for the MPC74000 (AKA G4); there is no AltiVec support yet,
however.
|
|
|
|
|
|
|
| |
* src/exinit.c: Slightly rework initialization so there
is a valid thread as _Thread_Executing when the pre_tasking
hook is called. This allows one directives and malloc
to potentially use mutex protection.
|
|
|
|
|
| |
* machine/in_cksum.h: Per PR200 fix multi-line inline assembly
to satisfy gcc 3.1 and newer.
|
|
|
|
|
|
|
| |
* rtems/score/ppc.h: Remove rtems_multilib.
Add mpc555 (Based on comments from Sergei Organov <osv@javad.ru>).
* rtems/old-exceptions/cpu.h: Remove _CPU_Data_Cache_Block_Flush.
Remove _CPU_Data_Cache_Block_Invalidate.
|
|
|
|
| |
* src/objectcomparenamestring.c: Fix typos.
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/score/object.h, inline/rtems/score/object.inl,
src/objectcomparenamestring.c: Address PR81 that
reworked POSIX message queues to add a descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue. As part of debugging this
it became clear that _Objects_Compare_name_string was broken
and a simple version using strncmp() was substituted.
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl,
src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c,
src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c,
src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c:
Per PR81 reworked to add a message queue descriptor separate from
the underlying message queue. This allows non-blocking to follow
the "open" not the underlying queue.
|
|
|
|
|
| |
* libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and
remove warning.
|
|
|
|
|
| |
* netinet/in_cksum_i386.c: Add volatile so the more agressive
optimization in gcc 3.1 does not reorder things.
|
|
|
|
|
| |
* src/task.c (_ITRON_Task_User_extensions): Add new fields to
be correct in respect to newly added fields for separate switch list.
|
|
|
|
| |
* asm.h: Use cpuopts.h instead of targopts.h.
|
|
|
|
| |
* rtems/score/hppa.h: Remove rtems/score/targopts.h.
|
|
|
|
| |
* pppd/utils.c: Adapt to gcc-3.x.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* asm.h: Include cpuopts.h instead of targopts.h.
* rtems/new-exceptions/cpu.h: Relocated from
libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h
* rtems/old-exceptions/cpu.h: Relocated from
c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h
* rtems/powerpc/registers.h: Relocated and renamed from
libcpu/powerpc/shared/include/cpu.h.
* rtems/score/cpu.h: New.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
| |
* rtems/score/cpu.h (CPU_ISR_Disable and CPU_ISR_Enable): Correct them
where they correctly inform the compiler about the register they
are modifying.
|
|
|
|
| |
* include/rtems/system.h: Remove targopts.h.
|
|
|
|
| |
* libc/scandir.c: Initialize nitems = 0.
|
|
|
|
|
| |
* include/rtems/system.h: Add the sparc to the target supporting
multlibs.
|
|
|
|
| |
* configure.ac: Remove ENABLE_GCC28.
|
|
|
|
|
|
|
| |
* src/threadinitialize.c: Per PR181, clear the array of user extension
pointers. This lets user extensions that have hooked the switch handler
know if a task has been processed by the user extension before. If a
user extension is created after a task is started it may not know it.
|
|
|
|
|
|
|
| |
* include/Makefile.am: Add stdint.h and inttypes.h.
(reported by Mike Siers <mikes@poliac.com>)
* include/stdint.h: New file.
* include/inttypes.h: New file.
|
|
|
|
|
|
|
| |
* c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added
the drv_ctrl driver control block field to the ifconfig network driver
structure. This field is needed by the i82586 driver which was ported
from NetBSD as it had better hardware abstraction.
|
|
|
|
| |
* include/rtems/system.h: Add i386 to multilib-able targets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/score/idtr.h: New file, extracted from libcpu/cpu.h.
* rtems/score/interrupts.h: New file, extracted from libcpu/cpu.h.
* rtems/score/registers.h: New file, moved from libcpu.
* Makefile.am: Reflect changes above.
* cpu.c: Don't include cpuModel.h,
#include <rtems.h>,
#include <rtems/score/i386types.h>,
#include <rtems/score/idtr.h>.
* rtems/score/cpu.h: Don't include libcpu/cpu.h.
#include <rtems/score/interrupts.h>,
#include <rtems/score/registers.h>.
|
|
|
|
|
|
|
| |
* macros/rtems/score/userext.inl: Now works after merging patch for
functionality requested in PR174.
* inline/rtems/score/userext.inl: Added a comment explaining the
order in which routines appear since it is not the obvious order.
|
|
|
|
|
|
| |
* Per PR141 and PR174, make task switch extension its own list and
fix all odd problems introduced by providing macro version.
* inline/rtems/score/userext.inl: Fix.
|
|
|
|
|
| |
* libc/stat.c: include <string.h>.
* libc/printk.c: Remove libcpu/cpu.h.
|
|
|
|
|
| |
* src/ramdisk.c: include <string.h>.
* src/blkdev.c: include <string.h>.
|
|
|
|
|
|
|
|
| |
* src/imfs/imfs_getchild.c: include <string.h>.
* src/imfs/imfs_gtkn.c: Include <string.h>.
* src/imfs/ioman.c: Include <string.h>.
* src/imfs/linearfile.c: Include <string.h>.
* src/imfs/memfile.c: Include <string.h>.
|
|
|
|
| |
* include/rtems/bspIo.h: Fix cpp-guards, remove references to i386.
|
|
|
|
| |
* rtems.c: Adaptation to gcc-3.0.x.
|
|
|
|
| |
* src/psignal.c: Include <stdlib.h>.
|
|
|
|
| |
* ChangeLog: Fix dates.
|
|
|
|
| |
* src/tasks.c: Pre-initialized switch extension for list.
|
|
|
|
| |
* macros/rtems/score/timer.inl: Corrected typo on end of line.
|
|
|
|
| |
* macros/rtems/score/object.inl: Corrected arguments.
|
|
|
|
|
|
| |
* macros/rtems/score/userext.inl: Updated to reflect modifications
to inline version from PR142.
* inline/rtems/score/userext.inl: Cleanup as side-effect of above.
|
|
|
|
|
|
|
|
| |
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
|
|
|
|
|
|
|
|
| |
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
|
|
|
|
|
|
|
|
| |
* Per PR142, make task switch extension its own list.
* include/rtems/score/userext.h: Reflect above by adding
User_extensions_Switch_control and adding it to User_extenions_Control.
* inline/rtems/score/userext.inl: Allocate all memory in one chunk
to minimize overhead. Address processing dedicated switch chain.
|