uclinux-2008R1-RC8(bf561)到VDSP5的移植(52):cache.s的问题

 
快乐虾
http://blog.csdn.net/lights_joy/
lights@hb165.com
 
  
本文适用于
ADI bf561 DSP
uclinux-2008r1-rc8 (移植到vdsp5)
Visual DSP++ 5.0
 
欢迎转载,但请保留作者信息
  
在arch/blackfin/mach-common/cache.s中,有一系列的语法差异:
[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 ';'
这个错误对应的语句是:
       CSYNC(R3);
多了个分号。改为:
       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 ';'
对应的语句为:
1:
       IFLUSH [P0++];
       CC = P0 < P1 (iu);
       IF CC JUMP 1b (bp);
改为:
_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 ';'
对应的语句为:
       SSYNC(R3);
改为:
       SSYNC(R3)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值