mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
🆕 测量local apic定时器频率
This commit is contained in:
14
kernel/driver/interrupt/Makefile
Normal file
14
kernel/driver/interrupt/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
all: pic.o
|
||||
|
||||
# 中断处理芯片的驱动程序
|
||||
ifeq ($(PIC), _INTR_8259A_)
|
||||
pic.o: 8259A/8259A.c
|
||||
gcc $(CFLAGS) -c 8259A/8259A.c -o pic.o
|
||||
else
|
||||
pic.o: apic/apic.c apic_timer.o
|
||||
gcc $(CFLAGS) -c apic/apic.c -o pic.o
|
||||
|
||||
apic_timer.o: apic/apic_timer.c
|
||||
gcc $(CFLAGS) -c apic/apic_timer.c -o apic/apic_timer.o
|
||||
endif
|
Reference in New Issue
Block a user