Uclinux-2008r1-rc8 (bf561) to VDSP5 Transplant (MR): Problems with CACHE.S

Source: Internet
Author: User

In Arch/blackfin/mach-common/cache.s, there is a series of grammatical differences:

[Error ea5004] "../../arch/blackfin/mach-common/cache.S":126 Syntax Error in :
cli R3; nop; nop; CSYNC; sti R3;;
syntax error is at or near text ';'.
Attempting error recovery by ignoring text until the ';'

The corresponding statement for this error is:

Csync (R3);

One more semicolon. To

CSYNC(R3)
[Error ea5007] "../../arch/blackfin/mach-common/cache.S":128 The label "1:" is illegal because it begins with a digit. If this is GNU assembly source, rewrite to a local temporary name of your choosing. If the GNU assembly code was generated from a macro, the VisualDSP++ preprocessing label auto-generation feature ("?") can be used to generate a unique local label.
[Error ea5003] "../../arch/blackfin/mach-common/cache.S":131 Semantic Error in instruction :
IF CC JUMP 1b (bp);
Operands don't fit instruction template 'IF CC JUMP expr'.
Check for an out of range immediate value or an illegal register.
[Error ea5004] "../../arch/blackfin/mach-common/cache.S":131 Syntax Error in :
IF CC JUMP 1b (bp);
syntax error is at or near text 'b'.
Attempting error recovery by ignoring text until the ';'

The corresponding statement is:

1:

IFLUSH [P0++];
CC = P0 < P1 (iu);
IF CC JUMP 1b (bp);

To

_blackfin_icache_flush_range_1:
IFLUSH [P0++];
CC = P0 < P1 (iu);
IF CC JUMP _blackfin_icache_flush_range_1 (bp);
[Error ea5004] "../../arch/blackfin/mach-common/cache.S":133 Syntax Error in :
cli R3; nop; nop; SSYNC; sti R3;;
syntax error is at or near text ';'.
Attempting error recovery by ignoring text until the ';'

The corresponding statement is:

Ssync (R3);

To

Ssync (R3)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.