mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 14:23:39 +00:00
软中断处理机制
This commit is contained in:
11
kernel/driver/timers/timer.h
Normal file
11
kernel/driver/timers/timer.h
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <common/glib.h>
|
||||
#include "HPET/HPET.h"
|
||||
#include "rtc/rtc.h"
|
||||
|
||||
uint64_t volatile timer_jiffies = 0; // 系统时钟计数
|
||||
|
||||
void timer_init();
|
||||
|
||||
void do_timer_softirq(void* data);
|
Reference in New Issue
Block a user