SimpleKernel 1.17.0
Loading...
Searching...
No Matches
timer.cpp File Reference
#include <cpu_io.h>
#include "arch.h"
#include "basic_info.hpp"
#include "interrupt.h"
Include dependency graph for timer.cpp:

Go to the source code of this file.

Functions

auto TimerInitSMP () -> void
 从核的定时器初始化
 
auto TimerInit () -> void
 初始化定时器
 

Function Documentation

◆ TimerInit()

auto TimerInit ( ) -> void

初始化定时器

Precondition
InterruptInit 已完成
Postcondition
定时器中断已启用,系统 tick 开始计数

Definition at line 13 of file timer.cpp.

13{}

◆ TimerInitSMP()

auto TimerInitSMP ( ) -> void

从核的定时器初始化

Definition at line 11 of file timer.cpp.

11{}