Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\vector.c Create Date:2022-07-28 08:28:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_early_irq_init

Proto:int __init arch_early_irq_init(void)

Type:int

Parameter:Nothing

701  fn = irq_domain_alloc_named_fwnode("VECTOR")
702  BUG_ON(!fn)
703  x86_vector_domain = irq_domain_create_tree(fn, & x86_vector_domain_ops, NULL)
705  BUG_ON(x86_vector_domain == NULL)
706  q_domain_free_fwnode - Free a non-OF-backed fwnode_handle* Free a fwnode_handle allocated with irq_domain_alloc_fwnode.
707  q_set_default_host() - Set a "default" irq domain*@domain: default domain pointer* For convenience, it's possible to set a "default" domain that will be used* whenever NULL is passed to irq_create_mapping()
709  arch_init_msi_domain(x86_vector_domain)
711  BUG_ON(!alloc_cpumask_var( & vector_searchmask, GFP_KERNEL))
717  vector_matrix = irq_alloc_matrix(NR_VECTORS, IDT vectors usable for external interrupt sources start at 0x20.* (0x80 is the syscall vector, 0x30-0x3f are for ISA), FIRST_SYSTEM_VECTOR)
719  BUG_ON(!vector_matrix)
721  Return arch_early_ioapic_init()