解决了debian上编译后,kernel_thread_func被优化掉的问题

This commit is contained in:
fslongjin
2022-04-26 00:25:15 +08:00
parent 4a41e734a5
commit 4473ff594c
11 changed files with 111 additions and 33 deletions

View File

@ -51,7 +51,7 @@ hardware_intr_controller HPET_intr_controller =
void HPET_handler(uint64_t number, uint64_t param, struct pt_regs *regs)
{
// printk("(HPET)");
printk("(HPET)");
switch (param)
{
case 0: // 定时器0中断