mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 04:56:30 +00:00
O1能跑的代码
This commit is contained in:
@ -10,6 +10,8 @@ extern uint64_t apic_timer_ticks_result;
|
||||
|
||||
#define APIC_TIMER_IRQ_NUM 151
|
||||
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize("O0")
|
||||
/**
|
||||
* @brief 设置apic定时器的分频计数
|
||||
*
|
||||
@ -78,4 +80,6 @@ extern uint64_t apic_timer_ticks_result;
|
||||
* @brief 初始化local APIC定时器
|
||||
*
|
||||
*/
|
||||
void apic_timer_init();
|
||||
void apic_timer_init();
|
||||
|
||||
#pragma GCC optimize("O0")
|
Reference in New Issue
Block a user