Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:29:32 |
Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:clear_IO_APIC_pin
Proto:static void clear_IO_APIC_pin(unsigned int apic, unsigned int pin)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | apic | |
unsigned int | pin |
550 | entry = ioapic_read_entry(apic, pin) |
551 | If 000: FIXED * 001: lowest prio * 111: ExtINT == dest_SMI Then Return |
558 | If 0: enabled, 1: disabled == IOAPIC_UNMASKED Then |
560 | ioapic_write_entry(apic, pin, entry) |
561 | entry = ioapic_read_entry(apic, pin) |
564 | If irr Then |
572 | If 0: edge, 1: level == IOAPIC_EDGE Then |
574 | ioapic_write_entry(apic, pin, entry) |
576 | raw_spin_lock_irqsave( & ioapic_lock, flags) |
578 | raw_spin_unlock_irqrestore( & ioapic_lock, flags) |
586 | entry = ioapic_read_entry(apic, pin) |
587 | If irr Then pr_err("Unable to reset IRR for apic: %d, pin :%d\n", mpc_ioapic_id(apic), pin) |
Name | Describe |
---|---|
clear_IO_APIC | |
unlock_ExtINT_logic | This looks a bit hackish but it's about the only one way of sending* a few INTA cycles to 8259As and any associated glue logic |
check_timer | This code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |