Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:30:23 |
Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mp_alloc_timer_irq
Proto:static int mp_alloc_timer_irq(int ioapic, int pin)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | ioapic | |
int | pin |
2101 | irq = -1 |
2102 | domain = mp_ioapic_irqdomain(ioapic) |
2104 | If domain Then |
2107 | ioapic_set_alloc_attr( & info, NUMA_NO_NODE, 0, 0) |
2108 | ioapic_id = mpc_ioapic_id(ioapic) |
2109 | ioapic_pin = pin |
2110 | mutex_lock( & ioapic_mutex) |
2112 | mutex_unlock( & ioapic_mutex) |
2115 | Return irq |
Name | Describe |
---|---|
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 |