函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:29:51
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline void __init unlock_ExtINT_logic(void)

返回类型:void

参数:

2044  pin等于Find the pin to which IRQ[irq] (ISA) is connected
2045  如果pin恒等于负1则
2046  WARN_ON_ONCE(1)
2047  返回
2049  apic等于find_isa_irq_apic(8, mp_INT)
2050  如果apic恒等于负1则
2051  WARN_ON_ONCE(1)
2052  返回
2055  entry0等于ioapic_read_entry(apic, pin)
2056  clear_IO_APIC_pin(apic, pin)
2058  memset( & entry1, 0, entry1的长度)
2060  0: physical, 1: logical 等于IOAPIC_DEST_MODE_PHYSICAL
2061  0: enabled, 1: disabled 等于IOAPIC_UNMASKED
2062  dest等于hard_smp_processor_id()
2063  000: FIXED * 001: lowest prio * 111: ExtINT等于dest_ExtINT
2064  polarity等于polarity
2065  0: edge, 1: level 等于IOAPIC_EDGE
2066  vector等于0
2068  ioapic_write_entry(apic, pin, entry1)
2070  save_control等于The yet supported machines all access the RTC index register via* an ISA port access but the way to access the date register differs ...(RTC_CONTROL)
2071  save_freq_select等于The yet supported machines all access the RTC index register via* an ISA port access but the way to access the date register differs ...(gister details)
2072  CMOS_WRITE((save_freq_select & ~Periodic intr. / Square wave rate select. 0=none, 1=32.8kHz,... 15=2Hz ) | 0x6, gister details)
2074  CMOS_WRITE(save_control | periodic interrupt enable , RTC_CONTROL)
2076  i等于100
2077 i自减大于0循环
2078  mdelay(10)
2079  如果The yet supported machines all access the RTC index register via* an ISA port access but the way to access the date register differs ...(RTC_INTR_FLAGS)按位与RTC_PF的值恒等于RTC_PFi减等于10
2083  CMOS_WRITE(save_control, RTC_CONTROL)
2084  CMOS_WRITE(save_freq_select, gister details)
2085  clear_IO_APIC_pin(apic, pin)
2087  ioapic_write_entry(apic, pin, entry0)
调用者
名称描述
check_timerThis 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.