免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2027 | 回复: 6

看了一下gbios的代码~ 觉得挺有意思~ [复制链接]

论坛徽章:
0
发表于 2009-10-22 22:37 |显示全部楼层
像samsung的24x0~

上来设置sp,然后就跳转c语言执行了~

以前一直没想过~  还有这么便捷的方法~

可能看uboot和linux多了~ 被满眼的宏语句麻痹了~

这么清爽的编码太喜欢了~ 哈哈~ = 3=

论坛徽章:
0
发表于 2009-10-23 01:31 |显示全部楼层

回复 #1 superfight 的帖子

”上来设置sp,然后就跳转c语言执行了~“,必须的哈。

论坛徽章:
0
发表于 2009-10-23 09:25 |显示全部楼层
呵呵,为了便于对比学习,ATMEL系列的和硬件相关的是用存汇编写的,对学习ARM汇编也很有帮助。

论坛徽章:
0
发表于 2009-10-23 09:30 |显示全部楼层
也希望更多的人能够参与到g-bios 的开发中,以下红色部分是g-bios开发的TODO LIST

g-bios 1.0 Task List:
Module
Tasks
Status
Tophalf
Init Sequence: SoC, UART, Mem Controller, NANDDone
Kermit Protocol (re-write in C language)Done
Nand Core layer implementationDone
Boot MenuDone
S3C2410 supportDone
S3C2440 supportDone
AT91SAM9261 supportDone
AT91SAM9263 supportDone
Timeout and default bootingDone
Large page supportDone
Flash
Flash subsystem design and API specDone
NOR Flash supportSuspending
NAND core layer implementationDone
AT91SAM9261 flash driverDone
AT91SAM9263 flash driver (with HW ECC support)Ongoing
S3C2410 NAND driverDone
S3C2440 NAND driver (with HW ECC support)Ongoing
Image file type auto-detection & auto-burningOngoing
Network
TCP(UDP)/IP stackDone
TCP protocol implementationSuspending
DM9000 driver (for AT91SAM9261)Done
DM9000 driver: porting to MW2440 boardDone
AT91SAM9263 Ethernet driverDone
ICMP and ping serverDone
POSIX Socket API compatibilitySuspending
MII substract layer implementationSuspending
stdlib
Standard string libDone
Extension to standard string libDone
heap (malloc)Done
stdio (printf)Done
Shell
Command line parsingDone
Progress barDone
Ctrl-c supportDone
Graphics
S3C24x0 LCDC driverDone
AT91SAM926x LCDC driverDone
Bootup LogoDone
Font renderingSuspending
BMP renderingSuspending
JPEG decodeSuspending
Interrupt
Interrupt subsystem core layerDone
S3C24x0 interrupt supportDone
AT91SAM926x interrupt supportDone
Interrupt bottom-halfSuspending
Tick timerOngoing
DelayOngoing
configure
utility
Basic configuration windowDone
Category and tab controlSuspending


[ 本帖最后由 fleyahjj 于 2009-10-26 14:39 编辑 ]

论坛徽章:
0
发表于 2009-10-23 21:18 |显示全部楼层
2440板子现在不在手头~ 看看代码~ 顺一下模块先~

= 3= 等春节回家拿了板子就参与一份~

论坛徽章:
0
发表于 2009-10-25 19:42 |显示全部楼层
看了一下TODO LIST~

为什么gbios的中断要做成上下半层?~ gbios并没有多进程,所以程序应该可以独享中断~ 没有嵌套中断的需要

想了一下~ 是为了提供一个管理中断的统一接口么?~

PS:1 看了一下中断处理~ 下半层不是做好了么~
     2 TODO LIST里面的hottom是不是bottom?~

[ 本帖最后由 superfight 于 2009-10-25 20:06 编辑 ]

论坛徽章:
0
发表于 2009-10-26 14:42 |显示全部楼层
Interrupt hottom-halfSuspending
是bottom-half,中断下半部还没有支持
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP