函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_ioapic_saved_registers

函数原型:static void alloc_ioapic_saved_registers(int idx)

返回类型:void

参数:

类型参数名称
intidx
238  如果* Saved state during suspend/resume, or while enabling intr-remap.则返回
241  size等于sizeof(structIO_APIC_route_entry)乘* # of IRQ routing registers
242  * Saved state during suspend/resume, or while enabling intr-remap.等于分配内存并置零
243  如果非* Saved state during suspend/resume, or while enabling intr-remap.打印错误信息("IOAPIC %d: suspend/resume impossible!\n", idx)
调用者
名称描述
arch_early_ioapic_init
mp_register_ioapicmp_register_ioapic - Register an IOAPIC device*@id: hardware IOAPIC ID*@address: physical address of IOAPIC register area*@gsi_base: base of GSI associated with the IOAPIC*@cfg: configuration information for the IOAPIC