| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
* clock/ckinit.c: Do not just set the IMR, OR the enable bit in.
|
|
|
|
| |
* 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.
|
|
|
|
| |
* shared/include/cache.h: Improved file header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
* page.c: Replaced prototype of printk() with include of <bspIo.h>.
|
|
|
|
| |
* ChangeLog: Corrected comment.
|
|
|
|
| |
* clock/ckinit.c: Removed commented out include of bsp.h.
|
|
|
|
|
|
|
| |
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
handler. Most fcntl() operations can be performed with no
filesystem support.
* ChangeLog: Corrected comment.
|
|
|
|
|
| |
* Makefile.am: Corrected condition CPU model selection so
multilib'ing and bare BSP works.
|
|
|
|
|
|
|
| |
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
handler. Most fcntl() operations can be performed with no
filesystem support.
* ChangeLog: Corrected comment.
|
|
|
|
|
| |
* irq/Makefile.am, irq/idt.c: Added idt.c since it has been moved
libcpu/i386 to libbsp/i386/shared/irq.
|
|
|
|
|
| |
* startup/Makefile.am: Added idt.c since it has been moved libcpu/i386
to libbsp/i386/shared/irq.
|
|
|
|
|
| |
* idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so
i386 RTEMS can be multilib'ed.
|
|
|
|
|
| |
* shared/src/cache_manager.c: Minor bug fix -- changed > to >= so the
last address is invalidated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* start/start.c: Modified to support generation of ram_init.
* start/ram_init.ld, BSP/start/ram_init.sed: New files.
These changes enable RTEMS to automatically generate
the ram_init file used by gdb with the BDM patches. The 332 has
on-board chip select lines (for RAM and FLASH) that must be
configured before use of these peripherals. These patches parse
data from start.c where the chip select lines are configured in
the runtime executable and automatically generates the gdb
initialization file using the same settings. A great time saver.
A similar file, ram_init_FW (flash writable), is also generated
that the flash programming tool uses.
* start/Makefile.am: Modified to support above.
* CPU/sim.h: Modified to support above.
* startup/except_vect_332_ROM.S: Moved to start so it would not
be included in libbsp.a. Moving it to start ensures it is
available as a single object file.
* start/except_vect_332_ROM.S: Moved from startup.
* startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
shown in the comments.
|
|
|
|
|
|
| |
* startup/linkcmds: Added lines so DWARF debug information
would be available. Otherwise gdb complains that the offsets
for the debug info are incorrect and doesn't load the files.
|
|
|
|
|
|
| |
* startup/linkcmds: Added lines so DWARF debug information
would be available. Otherwise gdb complains that the offsets
for the debug info are incorrect and doesn't load the files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libc/libio.h (rtems_filesystem_file_handlers_r,
rtems_filesystem_operations_table): Added _h to all structure
fields to indicate they are "handlers".
* libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
Modified to reflect above name change.
|
|
|
|
|
|
|
| |
* clock/ckinit.c: Removed include of <bsp.h>. Also switch to
macros to get configuration data.
* timer/timer.c: Removed include of <bsp.h>. Fixed comment
that said 4650 (a mips part).
|
|
|
|
| |
* shmdr/shm_driver.h: Added _AM29K entry. May not be correct.
|
|
|
|
|
|
|
| |
* include/bsp.h: tty_* renamed to console_*.
* tty/tty.c: Ditto.
* shmsupp/addrconv.c: Typo fixed.
* wrapup/Makefile.am: Merge startup not start directory.
|
|
|
|
| |
* ChangeLog: Entry added to wrong file and moved.
|
|
|
|
|
|
|
|
| |
* bsp_specs: Formatting more like other bsp_specs.
* include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to
elimate need for including bsp.h in libcpu.
* startup/bspstart.c: Ditto.
* wrapup/Makefile.am: Did not list shmdr.
|
|
|
|
|
| |
* startup/linkcmds: Use default object format to avoid name
changes in object format due to tool version changes.
|
|
|
|
| |
* clock/clock.S: Commented out non-GNU assembly.
|
|
|
|
| |
* libc/newlibc.c: Removed _A29K specific ifdef.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* start/crt0.S: Renamed to start/start.S.
* start/start.S: Formerly start/crt0.S.
* startup/linkcmds: New file. GNU linker script that is not
correct for the target board but links programs.
* bsp_specs: Use linkcmds.
* include/Makefile.am, start/Makefile.am startup/Makefile.am:
Now work.
* startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references
to reoutines in assembly that are in turn "#if 0"'ed out.
|
|
|
|
|
| |
* include/mvme16x_hw.h: Include rtems/score/targopts.h so we
can check which BSP this is being used with.
|
|
|
|
| |
* bsp_specs, console/Makefile.am, include/Makefile.am: Clean up.
|
|
|
|
|
|
|
|
| |
* Makefile.am, bsp_specs, configure.in, console/Makefile.am,
include/Makefile.am, irq/Makefile.am, irq/irq.c, start/Makefile.am,
startup/Makefile.am, startup/exit.c, wrapup/Makefile.am:
Made to conform to current practice concerning automake and
autoconf. Corrected minor warnings.
|
|
|
|
|
|
|
|
|
|
|
| |
* vegaplus BSP submitted by Emmanuel Raguet <raguet@crf.canon.fr> and
Eric Valette <valette@crf.canon.fr>.
* vegaplus/bsp_specs, configure.in, console/Makefile.am,
include/Makefile.am, include/bsp.h, include/registers.h,
irq/Makefile.am, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c,
irq/irq.h, start/Makefile.am, start/start.S, startup/Makefile.am,
startup/bspstart.c, startup/exit.c, startup/linkcmds,
wrapup/Makefile.am: New files.
|