Skip to main content

init

Function init 

Source
pub fn init()
Expand description

初始化操作系统

§功能

  • 初始化 trap 向量
  • 保持全局中断关闭,直到调度器完成内核栈/任务上下文切换准备