Giter VIP home page Giter VIP logo

babyos's Introduction

babyKernel

内核编写与CPU架构紧密相关,需要掌握CPU通用寄存器和特殊功能寄存器的用处用法、CPU的中断动作、特殊的汇编指令等等,除此之外,还需要了解编译链接的过程、二者如何配合工作,总之相当复杂。而本项目恰如其名,这是一个极其简陋的内核,欠缺很多功能,实际上,是针对单核Cortex-M3的练手作业,更确切来讲,是针对正点原子战舰v3。在这个深坑摸爬打滚已有一阵子了,人还在坑里,但也有不少收获,留作分享,希望对后来者有所帮助。

同时,这也是一份回忆录,距离上次push快有半年时间,已经解决的问题容易被遗忘,章节可能比较跳跃,阅读体验可能不太丝滑。

记录架构相关的事项

以及架构无关的杂谈

  • 堆区内存分配
  • 链表&队列容器
  • 缓冲区事件
  • “死成”僵尸进程
  • 中断服务程序应当无锁

特别感谢:

babyos's People

Contributors

hllknt avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.