Home
last modified time | relevance | path

Searched refs:number (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/interrupt/8259A/
D8259A.c45 void do_IRQ(struct pt_regs *regs, ul number) in do_IRQ() argument
48 switch (number) in do_IRQ()
61 if(number!=0x20) in do_IRQ()
62 printk_color(ORANGE, BLACK, "Received irq:%#018x\n", number); in do_IRQ()
D8259A.h30 void do_IRQ(struct pt_regs* rsp, ul number);
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.c397 void do_IRQ(struct pt_regs *rsp, ul number) in do_IRQ() argument
400 if (number < 0x80 && number >= 32) // 以0x80为界限,低于0x80的是外部中断控制器,高于0x80的是Local APIC in do_IRQ()
403 irq_desc_t *irq = &interrupt_desc[number - 32]; in do_IRQ()
407 irq->handler(number, irq->parameter, rsp); in do_IRQ()
412 irq->controller->ack(number); in do_IRQ()
416 else if (number >= 200) in do_IRQ()
418 apic_local_apic_edge_ack(number); in do_IRQ()
421 irq_desc_t *irq = &SMP_IPI_desc[number - 200]; in do_IRQ()
423 irq->handler(number, irq->parameter, rsp); in do_IRQ()
426 else if (number >= 150 && number < 200) in do_IRQ()
[all …]
Dapic_timer.c74 void apic_timer_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in apic_timer_handler() argument
Dapic.h265 void do_IRQ(struct pt_regs *rsp, ul number);
/DragonOS-0.1.2/kernel/src/exception/
Dirq.c50 #define IRQ_NAME(number) IRQ_NAME2(IRQ##number) argument
55 #define Build_IRQ(number) … argument
56 …void IRQ_NAME(number); …
57 …__asm__(SYMBOL_NAME_STR(IRQ) #number "interrupt: \n\t" …
61 … "movq $" #number ", %rsi \n\t" \
Dirq.h24 extern void do_IRQ(struct pt_regs *regs, ul number);
/DragonOS-0.1.2/docs/kernel/boot/
Dbootloader.md9 &emsp;&emsp;在DragonOS的启动初期,会存储由GRUB2传来的magic number以及multiboot2_boot_info_addr。当系统进入`Start_Kernel`函…
/DragonOS-0.1.2/kernel/src/driver/timers/HPET/
DHPET.c64 void HPET_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in HPET_handler() argument
96 kwarn("Unsupported HPET irq: %d.", number); in HPET_handler()
105 void HPET_measure_handler(uint64_t number, uint64_t param, struct pt_regs *regs) in HPET_measure_handler() argument
/DragonOS-0.1.2/docs/kernel/core_api/
Dmm-api.md108 ### `void free_pages(struct Page *page, int number)`
120 **number**
/DragonOS-0.1.2/kernel/src/mm/
Dmm.c437 void free_pages(struct Page *page, int number) in free_pages() argument
445 if (number >= 64 || number <= 0) in free_pages()
447 kerror("free_pages(): number %d is invalid.", number); in free_pages()
452 for (int i = 0; i < number; ++i, ++page) in free_pages()
Dmm.h262 void free_pages(struct Page *page, int number);
/DragonOS-0.1.2/
DLICENSE242 Each version is given a distinguishing version number. If the Program
243 specifies a version number of this License which applies to it and "any
246 Software Foundation. If the Program does not specify a version number of