#355 closed defect

SH4 patches

Reported by: dedekind Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: bsps Version: 4.6
Severity: major Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description (last modified by Chris Johns)

  1. c/src/libnetworking/rtems_telnetd/pty.c

a). 'No memory' case check added.
b). Termios initialization added. Telnet daemod don't work if termios is
not initialized but don't initiazlize it. Console driver usually do it,
but what if telnetd will be initialized first? (real situation in our
board case)

  1. c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c

Interrupt handler shitchs the prossessor to User mode in first several
instructions. But SHBIOS (ususlly used on sh3/sh4 based boards) thinks
that we in Privilegged mode when we invoke it from iph_hook. We need to
switch the processor to Privile mode.

  1. c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c

a). Port disable means "disable rx and tx" but not "disable tx" only.
b). SH7750_EVT_TO_NUM convertion is needed.

  1. c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h

No bugs here. Jusst new macro definitions fo cache controller registers
added. I think this can be useful for somebody who wants to change
the cache parameters (we use it for example).

  1. c/src/exec/score/cpu/sh/rtems/score/cpu.h

I think this is more useful if in case of Fatal error the gdbstub (if
used) will reboot automatically rather than to go to infinit loop.

Release:
RTEMS-4.6 and CVS

Attachments (1)

sh4.diff (14.8 KB) - added by dedekind on 12/03/06 at 13:31:12.
sh4.diff

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 02/15/03 at 03:29:56 by Ralf Corsepius

Status: assignedwaiting

Changed on 12/03/06 at 13:31:12 by dedekind

Attachment: sh4.diff added

sh4.diff

comment:2 Changed on 08/05/08 at 16:29:42 by Joel Sherrill

Milestone: 4.9
rep_platform: All

Ping?

comment:3 Changed on 11/20/14 at 03:51:46 by Chris Johns

Description: modified (diff)
Resolution: wontfix
Status: assignedclosed

Not for the 4.9 release branch.

Note: See TracTickets for help on using tickets.