| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when
we are allocating an interrupt stack.
|
|
|
|
|
|
| |
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
Previous code resulting in the interrupted immediately returning
to the caller of the routine it was inside.
|
|
|
|
|
| |
* cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here
because it has not been allocated yet.
|
|
|
|
|
|
| |
* cpu.c: Do not read or write raw interrupt vector table if
we are on a CPU that does not have a %vbr register and the
BSP is configured as having the table in ROM.
|
|
|
|
|
| |
* src/pthreadgetschedparam.c: Do not set output parameters if
the pointers are NULL.
|
|
|
|
| |
* lib/tftpDriver.c: Added write capability.
|
|
|
|
|
|
| |
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
workspace rather than explicitly declaring it. This allows
the size to be a non-constant from the perspective of score/cpu.
|
|
|
|
|
|
|
|
| |
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
* cpu_asm.S: Removed assembly language to vector ISR handler
on MIPS ISA I. Now call mips_vector_isr_handlers() in libcpu or BSP.
* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): No
longer a constant -- get the real value from libcpu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.h: Removed.
* Makefile.am: Remove cpu_asm.h.
* rtems/score/mips64orion.h: Renamed mips.h.
* rtems/score/mips.h: New file, formerly mips64orion.h.
Header rewritten.
(mips_get_sr, mips_set_sr, mips_enable_in_interrupt_mask,
mips_disable_in_interrupt_mask): New macros.
* rtems/score/Makefile.am: Reflect renaming mips64orion.h.
* asm.h: Include <mips.h> not <mips64orion.h>. Now includes the
few defines that were in <cpu_asm.h>.
* cpu.c (_CPU_ISR_Get_level): Added MIPS ISA I version of this routine.
MIPS ISA 3 is still in assembly for now.
(_CPU_Thread_Idle_body): Rewrote in C.
* cpu_asm.S: Rewrote file header.
(FRAME,ENDFRAME) now in asm.h.
(_CPU_ISR_Get_level): Removed ISA I version and rewrote in C.
(_CPU_ISR_Set_level): Removed ISA I version and rewrote in C.
(_CPU_Context_switch): MIPS ISA I now manages preserves SR_IEC and
leaves other bits in SR alone on task switch.
(mips_enable_interrupts,mips_disable_interrupts,
mips_enable_global_interrupts,mips_disable_global_interrupts,
disable_int, enable_int): Removed.
(mips_get_sr): Rewritten as C macro.
(_CPU_Thread_Idle_body): Rewritten in C.
(init_exc_vecs): Rewritten in C as mips_install_isr_entries() and
placed in libcpu.
(exc_tlb_code, exc_xtlb_code, exc_cache_code, exc_norm_code): Moved
to libcpu/mips/shared/interrupts.
(general): Cleaned up comment blocks and #if 0 areas.
* idtcpu.h: Made ifdef report an error.
* iregdef.h: Removed warning.
* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): Now a variable
number defined by libcpu.
(_CPU_ISR_Disable, _CPU_ISR_Enable): Rewritten to use new routines
to access SR.
(_CPU_ISR_Set_level): Rewritten as macro for ISA I.
(_CPU_Context_Initialize): Honor ISR level in task initialization.
(_CPU_Fatal_halt): Use new _CPU_ISR_Disable() macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files.
* src/imfs/Makefile.am, src/imfs/imfs.h,
src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c,
src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c,
src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs".
This is not really a tar filesystem. It is a way to load a tar
image into the IMFS but actually leave bulky file contents in the
original tar image. It essentially adds the linear file type and
associated support and a loader routine.
|
|
|
|
|
|
|
|
|
|
| |
* libc/linkaddr.c: Initialized variable to remove warning.
* modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations
conditional on PPP_COMPRESS and PPP_FILTER. Commented out variables
that were not used because the code using them was commented out.
Removed totally unused variables.
* modem/pppcompress.c: Added parentheses to avoid warnings.
* pppd/pppmain.c: Removed numerous warnings.
|
|
|
|
|
|
| |
* libc/mallocfreespace.c: Name of routine is
rtems_region_get_information() NOT region_get_information().
* libc/unmount.c: Removed unused variable.
|
|
|
|
| |
* cpu.c: Added include of <rtems/rtems/cache.h> to eliminate warning.
|
|
|
|
|
| |
* rtems/score/cpu.h: When mips ISA level is 1, registers in the
context should be 32 not 64 bits.
|
|
|
|
| |
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
|
|
|
|
| |
* src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to
eliminate warning.
|
|
|
|
|
|
| |
* include/rtems/posix/cond.h: #if 0'ed out prototype of
_POSIX_Condition_variables_Get to avoid conflict with macro
implementation.
|
|
|
|
|
| |
* configure.in: Removed error check for enabling macros with
either POSIX or ITRON API.
|
|
|
|
|
|
|
|
| |
* macros/rtems/score/coresem.inl: Removed comments since convention
calls for comments to be in inline versin.
* macros/rtems/score/object.inl (Objects_Get_local_object): Fixed
style to use _ prefix on variable names and use parentheses.
* macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added macro support to ITRON API. This is known to compile.
* Makefile.am: Added macros directory.
* configure.in: Removed error check for enabling macros.
* macros/.cvsignore, macros/Makefile.am,
macros/rtems/.cvsignore, macros/rtems/Makefile.am,
macros/rtems/itron/.cvsignore, macros/rtems/itron/Makefile.am,
macros/rtems/itron/eventflags.inl, macros/rtems/itron/fmempool.inl,
macros/rtems/itron/intr.inl, macros/rtems/itron/mbox.inl,
macros/rtems/itron/msgbuffer.inl, macros/rtems/itron/network.inl,
macros/rtems/itron/port.inl, macros/rtems/itron/semaphore.inl,
macros/rtems/itron/sysmgmt.inl, macros/rtems/itron/task.inl,
macros/rtems/itron/time.inl, macros/rtems/itron/vmempool.inl: New files.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
|
|
|
|
|
| |
* src/msgqsubmit.c: Modified multiprocessing conditional so
this would compile with both macros and inlines.
|
|
|
|
|
| |
* macros/rtems/rtems/sem.inl: Added macro implementation of
_Semaphore_Get_interrupt_disable().
|
|
|
|
| |
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since
that is an RTEMS specific header file.
|
|
|
|
|
| |
* sys/ttycom.h: Moved to lib/include/sys.
* Makefile.am: Modified to reflect above.
|
|
|
|
|
| |
* include/sys/ttycom.h: New file -- moved from libnetworking/sys.
* Makefile.am: Modified to reflect above.
|
|
|
|
|
| |
* src/imfs/memfile.c: Bug report from Sturniolo Jose
<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
|
|
|
|
|
| |
* libc/getcwd.c: Ensure _closedir(dir) is called even on
error exit from the routine.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libc/termiostypes.h: New file -- missed in earlier commits.
|
|
|
|
| |
* libc/res_init.c: Fix typo - adding missing # on include.
|
|
|
|
| |
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libc/res_init.c: Move include to avoid compiler dumping core.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libc/termios.c, libc/termiostypes.h: Task driver driver model
and line discipline support from Thomas Doerfler
<Thomas.Doerfler@imd-systems.de>.
|
|
|
|
| |
* cpu_asm.S: Fix for CPUs with FPU revision B or C.
|
|
|
|
|
| |
* libc/mount.c: Make sure there is space allocated for a device name
in the mount table entry.
|
|
|
|
| |
* src/imfs/imfs_eval.c: Always return imaginary node at mount points.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libc/libio.c: Special treatment of O_NDELAY for Cygwin.
|
|
|
|
| |
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|