| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* psxmount/test.c, psxstat/test.c: Include <imfs.h> to get IMFS_ops.
It was formerly incorrectly prototyped in <libio.h>.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, acinclude.m4, 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Made clock and timer subdirectories conditional.
* configure.in: Ditto.
* clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
* clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
* console/led.S: Switch from using <idtmon.h> to <asm.h>.
* console/start.S: Switch from using <idtmon.h> to <asm.h>. Added
define of PMON stacksize.
* console/idtmem.S: Switch from using <idtmon.h> to <asm.h>. Also
reworked conditionals to use gcc predefines.
* console/idttlb.S: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* console/serial_mouse.c: Fixed typos introduced by removal of CR/LF.
|
|
|
|
| |
* console/serial_mouse.c: Added support for changing serial parameters.
|
|
|
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c: Avoid use of
BSP definitions and rely on the new routine
mbx8xx_console_get_configuration() to get information. This
routine was formerly incorrectly called
mbx8xx_console_use_maximum_buffer_size().
binding to the exception code.
|
|
|
|
|
|
|
|
|
| |
* configure.in, Makefile.am: Explicitly specify whether an
RTEMS_CPU_MODEL is using old or new exception processing. This
is important because when building multilib, you do not know
the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS
must be independent of the exception model and allow for late
binding to the exception code.
|
|
|
|
|
| |
* console/console.c: Add mbx8xx_console_get_configuration() which
returns either nvram configuration or a static equivalent.
|
|
|
|
|
| |
* console/console.c: Invoke BSP_uart_init() with enough arguments
now that more communication parameters are settable.
|
|
|
|
| |
* shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
|
|
|
|
|
| |
* network/dec21140.c: Corrected attach to include "int attach"
parameter.
|
|
|
|
|
|
| |
* include/wd80x3.h: Added file header and logic to prevent multiple
inclusions of this file.
* wd8003/wd8003.c: Corrected attach to include "int attach" parameter.
|
|
|
|
| |
* include/bsp.h: Cleaned up network driver name and attach defines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ne2000/ne2000.c: Fix some errors in the driver.
1. There was no sufficient check of data in ethernet header.
The code in ne_rx_daemon() was:
inport_word (dport, len);
...
len -= 4;
...
if (len > 0)
ne_read_data (sc, startaddr, len, p);
Unfortunately, sometimes my NIC gave me too big len value,
the result was memory override. To fix this, I added ethernet
header data checking.
2. The way overrides were serviced was not good. It was complex
but sometimes did not provide reliable continuing of NIC working.
I had the situation of an endless loop in ne_check_status()
after override processing.
3. There was conceptual error of porting. The old method of
overrides curing was ported from the OS-s, where override-processing
did start immediately. But RTEMS-version uses events, and cleaning
of the overrides can start later.
I selected the way of ne2000 programming that is used
in freebsd kernel (v4.0).
Because of both problems, incorrect data in header of raw packet
and receiver override, it went through ne_reset() and fully
reset the ne2000.
So, in summary
- added detecting of the incorrect data in ethernet header;
- replaced handling of receiver overrides with new scheme,
via resetting of NIC, this method is used also in case of
invalid header detecting.
|
|
|
|
| |
* page.c: Readd deleted comment lines.
|
|
|
|
|
| |
* console/console.c: Invoke BSP_uart_init() with all arguments
now that it takes more parameters.
|
|
|
|
| |
* common/uart.h: Added prototype for BSP_uart_set_baud().
|
|
|
|
|
| |
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore:
New files.
|
|
|
|
| |
* clock/ckinit.c: Do not just set the IMR, OR the enable bit in.
|
|
|
|
|
| |
* src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
src/m68k/any/remdeb_svc.c: New files missed in merger.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Add m68k support.
* include/rdbg/m68k, src/m68k, src/m68k/any: New subdirectory.
* src/_servtgt.c: add status text to prinf upon task creation failure.
* src/rdbg.c: reconnect rdbg exception handlers upon RPC calls.
* src/m68k/Makefile.am, src/m68k/any/Makefile.am,
src/m68k/any/remdeb_f.x, src/m68k/any/.cvsignore,
src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
src/m68k/any/remdeb_svc.c, src/m68k/excep_f.c, src/m68k/rdbg_cpu_asm.S,
src/m68k/rdbg_f.c, src/m68k/.cvsignore: New files.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/score/cpu.h: define CPU_Exception_frame for rdbg.
* m68302.h: Make buffer pointer in m302_SCC_bd volatile.
|
|
|
|
| |
* comm/uart.c (BSP_uart_init): Save more line state parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
|
|
|
|
| |
* wrapup/Makefile.am: Added libfs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs created.
* src, src/imfs, wrapup: New directories.
* ChangeLog, Makefile.am, README, configure.in, src/Makefile.am,
wrapup/Makefile.am: New files.
* src/imfs/deviceio.c, src/imfs/imfs_getchild.c,
src/imfs/imfs_readlink.c, src/imfs/imfs.h, src/imfs/imfs_gtkn.c,
src/imfs/imfs_rmnod.c, src/imfs/imfs_chown.c,
src/imfs/imfs_handlers_device.c, src/imfs/imfs_stat.c,
src/imfs/imfs_creat.c, src/imfs/imfs_handlers_directory.c,
src/imfs/imfs_symlink.c, src/imfs/imfs_debug.c,
src/imfs/imfs_handlers_link.c, src/imfs/imfs_unixstub.c,
src/imfs/imfs_directory.c, src/imfs/imfs_handlers_memfile.c,
src/imfs/imfs_unlink.c, src/imfs/imfs_eval.c, src/imfs/imfs_init.c,
src/imfs/imfs_unmount.c, src/imfs/imfs_fchmod.c,
src/imfs/imfs_initsupp.c, src/imfs/imfs_utime.c, src/imfs/imfs_fcntl.c,
src/imfs/imfs_link.c, src/imfs/memfile.c, src/imfs/imfs_fdatasync.c,
src/imfs/imfs_mknod.c, src/imfs/miniimfs_init.c, src/imfs/imfs_free.c,
src/imfs/imfs_mount.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_ntype.c:
New files. Moved from libc.
|
|
|
|
|
| |
* include/confdefs.h: Set CONFIGURE_INIT_TASK_STACK_SIZE to 0
if there is no Classic API Initialization Tasks Table defined.
|
|
|
|
| |
* shared/include/cache.h: Improved file header.
|
|
|
|
|
| |
* libfs created.
* configure.in: Added libfs subdirectory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs created.
* libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
Moved to libfs/src/imfs.
* Makefile.am: Modified to reflect above.
|
|
|
|
| |
* pppd/ipxcp.c: Fixed a typo.
|
|
|
|
|
|
| |
* comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, comm/uart.h:
Add the ability to set parity, number of data bits and
number of stop bits to the existing i386 serial drivers.
|
|
|
|
|
|
| |
* console/console.c, console/serial_mouse.c, include/bsp.h:
Add the ability to set parity, number of data bits and
number of stop bits to the existing i386 serial drivers.
|
|
|
|
|
|
| |
* console/console.c: Added BSP dependent routine
mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
console-generic code. This avoids libcpu use of bsp.h.
|
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c: Removed include of
<bsp.h> by adding BSP dependent routine
mbx8xx_console_use_maximum_buffer_size() which can be hard coded
or check non-volatile memory for configuration.
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c: Removed warnings.
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>.
* mpc6xx/timer/timer.c: Ditto.
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>.
* mpc6xx/timer/timer.c: Ditto.
|
|
|
|
|
|
|
| |
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h: Removed use of
bsp.h and replaced it with use of proper interfaces or explicit
externs of required functions and data.
* mpc6xx/timer/timer.c: Ditto.
|
|
|
|
|
|
|
| |
* libc/Makefile.am: Added mallocfreespace.c.
* libc/mallocfreespace.c: New file based on work by Nick Simon
<Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c.
* libc/libcsupport.h: Added prototype for malloc_free_space().
|
|
|
|
|
|
|
| |
* src/regiongetinfo.c, include/rtems/rtems/region.h,
include/rtems/rtems/types.h, src/Makefile.am: Added
region_get_information() and information control block.
* src/regiongetinfo.c: New file.
|
|
|
|
|
|
| |
* src/heapgetinfo.c, include/rtems/score/heap.h, src/Makefile.am:
Added _Heap_Get_information() and information control block.
* src/heapgetinfo.c: New file.
|
|
|
|
| |
* page.c: Replaced prototype of printk() with include of <bspIo.h>.
|