Ignore:
Timestamp:
Aug 16, 2001, 9:08:28 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f30a0ca9
Parents:
ede9699c
Message:

2001-08-10 Radzislaw Galler <rgaller@…>

  • score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs.
  • sci/sci_termios.c: New file.
  • include/sci_termios.h: New file.
  • include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h.
  • score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed.
  • sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c

    rede9699c r7ae5125  
    124124     "    sts.l macl,@-r15 \n\t" \
    125125     "    mov r15,r14      \n\t" \
     126     "    mov.l "Str(name)"_v, r2 \n\t" \
    126127     "    mov.l "Str(name)"_k, r1\n\t" \
    127128     "    jsr @r1           \n\t" \
    128      "    mov #"Str(number)", r4\n\t" \
     129     "    mov   r2,r4      \n\t" \
    129130     "    mov   r14,r15    \n\t" \
    130131     "    lds.l @r15+,macl \n\t" \
     
    144145     "    .align 2         \n\t" \
    145146     #name"_k: \n\t" \
    146      ".long "Str(func));
     147     ".long "Str(func)"\n\t" \
     148     #name"_v: \n\t" \
     149     ".long "Str(number));
    147150
    148151/************************************************
Note: See TracChangeset for help on using the changeset viewer.