快乐虾
http://blog.csdn.net/lights_joy/
lights@hb165.com
本文适用于
ADI bf561 DSP
uclinux-2008r1.5-rc3 (移植到vdsp5)
Visual DSP++ 5.0(update 5)
欢迎转载,但请保留作者信息
/*
* Zero out the L2 bss (where the SMP corelock slot lives).
*/
#ifdef CONFIG_L2_BOOT_MAPPED
p1.l = __sbss_l2;
p1.h = __sbss_l2;
p2.l = __ebss_l2;
p2.h = __ebss_l2;
cc = p1 == p2;
if cc jump .L_l2_done
#else
p1.l = lo(L2_START);
p1.h = hi(L2_START);
p2 = p1;
p2 += SIZEOF_CORELOCK;
#endif
r0 = 0;
p2 -= p1;
lsetup (.L_clear_l2, .L_clear_l2 ) lc0 = p2;
.L_clear_l2:
B[p1++] = r0;
.L_l2_done:
由于没有定义CONFIG_L2_BOOT_MAPPED,p1直接取L2_START的值:
#define L2_START 0xFEB00000
#define L2_LENGTH 0x20000
将整段空间清0。
head.s分析(1):保存u-boot传递过来的指针(2009-1-19)
head.s分析(2):SYSCFG配置(2009-1-19)
head.s分析(3):数据及指针寄存器清0(2009-1-19)
head.s分析(4):关闭CACHE(2009-01-19)
head.s分析(5):关闭串口(2009-01-19)
head.s分析(6):栈指针初始化(2009-01-19)
head.s分析(7):init_early_exception_vectors(2009-1-19)
head.s分析(8):配置PLL及SDRAM(2009-01-20)
head.s分析(9):EBIU配置(2009-01-20)
head.s分析(10):转入中断15(2009-01-20)
head.s分析(11):关闭WATCHDOG(2009-01-20)
head.s分析(12):bss段清0(2009-01-20)
head.s分析(13):代码段前空间清0(2009-01-20)
分享到:
相关推荐
arm-linux head.S 源代码分析 arm-linux head.S 源代码分析
关于Linux启动项bootsect、setup、head的阅读心得,和常遇的问题与解决。
[root@head-kib ~]# cd /usr/local/kibana-6.5.4-linux-x86_64/config/ [root@head-kib config]# vim kibana.yml server.port: 5601 server.host: 123.57.251.57 elasticsearch.url: ...
该文档主要是elasticsearch7.x版本的安装及集群配置,配合head,ik插件的安装。【备注,配置参数更新如下: cluster.name: es-7 node.name: t-1 network.host: 10.96.141.45 http.port: 9200 transport.tcp.port: ...
Linux 0.00 intel 汇编语法,包含boot.s,head.s,以及编译添加汇编地址的对应文件,可通过NASM进行编译,
[Head.First.Design.Patterns].Head.First.Design.Patterns.7z [Head.First.Design.Patterns].Head.First.Design.Patterns.7z [Head.First.Design.Patterns].Head.First.Design.Patterns.7z [Head.First.Design....
head.S.s
写0磁头全部磁道镜像: write L head0 image files to all reserved cylinders. 写1磁头全部磁道镜像: write L head1 image files to all reserved cylinders. 保存硬盘全部文件: Save L ALL SA backups. (ROM、...
写0磁头全部磁道镜像: write L head0 image files to all reserved cylinders. 写1磁头全部磁道镜像: write L head1 image files to all reserved cylinders. 保存硬盘全部文件: Save L ALL SA backups. (ROM、...
Head.First.JavaScript.Programming(2014.3)Head.First.JavaScript.Programming(2014.3)Head.First.JavaScript.Programming(2014.3)
如果只让ff看见用:root body .head{color:#000;} 如果只让ff、IE8看见用html>/**/body .head{color:#000;} 如果只是不让ie6看见用html>body .head{color:#000;} 即对IE 6无效 如果只是不让ff、IE8看见用*body .head{...
linux源码分析之cpu初始化 kernel/head.s
作者:Brett.D.McLaughlin 目录: Intro xxiii 1 Great Software Begins Here: well-designed apps rock 1 2 Give Them What They Want: gathering requirements 55 3 I Love You, You’re Perfect......
ElasticSearch-head(后续简称es-head)是ElasticSearch的一个插件,提供了es 的可视化操作界面.
linux-HEAD.tar.gz.7z
linux-HEAD.tar.gz