Giter VIP home page Giter VIP logo

yos's Introduction

kernel.asm为内核入口,入口函数为_start

宏定义包含在与之相关的头文件中,
x86.h尽量少包含
全局变量定义在各自的.c文件中,在global.h中声明一下
只能在源文件中包含global.h
头文件中不要包含外部全局变量声明

x86.h中包含其他头文件中没有包含的结构与宏
lib.h中包含内核编写过程中常用的功能函数
type.h中包含了基本数据类型和函数类型的定义

task_TTY主体是一个循环,不停的读取键盘输入,放入指定键盘输入缓冲,然后读取屏幕输出,


问题:
在一个循环中不停的调用系统调用,会导致系统无法响应,可能是中断重入的问题。

yos's People

Contributors

hankyin 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.