fix pci_irq.c - memory leak - wrong irq_name allocated length (#367)

add function declaration to avoid compiling warning

add extra packages need for build

Co-authored-by: Yao Zhao <dragonlinux@gmail.com>
This commit is contained in:
zhaoyao73
2023-09-03 01:36:02 -04:00
committed by GitHub
parent d9113303d8
commit 607783d741
3 changed files with 15 additions and 9 deletions

View File

@ -27,6 +27,7 @@ static uint64_t test_tsc_end = 0;
extern uint64_t Cpu_tsc_freq; // 导出自cpu.c
extern struct rtc_time_t rtc_now; // 导出全局墙上时钟
extern uint64_t rs_update_timer_jiffies(uint64_t);
enum
{