然后,start_kernel发出early_irq_init调用,early_irq_init属于与硬件和平台无关的通用逻辑层,它完成irq_desc结构的内存申请,为它们其中某些字段填充默认值,完成后调用体系相关的arch_early_irq_init函数完成进一步的初始化工作,不过ARM体系没有实现arch_early_irq_init。 接着,start_kernel发出init_IRQ调用,它会直接...
+++ b/arch/powerpc/kernel/irq.c @@ -827,11 +827,6 @@ int irq_choose_cpu(const struct cpumask *mask) } #endif -int arch_early_irq_init(void) -{ - return 0; -} - #ifdef CONFIG_PPC64 static int __init setup_noirqdistrib(char *str) {...
调用函数parse_early_param/解析early options这两个参数; 调用函数local_daif_restore恢复cpu的daif状态为不可以IRQ; 调用函数cpu_uninstall_idmap移除idmap_pg_dir页表 调用函数efi_init初始化 UEFI 系统中的各个硬件设备以及配置各种环境参数,从而为操作系统的正常启动做好准备 调用函数arm64_memblock_init初始化memb...
.map_io = cpu_map_io, .init_irq = nxp_cpu_init_irq,#ifdefCONFIG_ARM_GIC.handle_irq = gic_handle_irq,#else.handle_irq = vic_handle_irq,#endif.timer = &nxp_cpu_sys_timer, .init_machine = cpu_init_machine,#ifdefined CONFIG_CMA && defined CONFIG_ION.reserve = cpu_mem_reserve,#e...
irq_enable();// mmu_init();} 开发者ID:TeamOberland,项目名称:OberlaenderOS,代码行数:15,代码来源:kernel.c 示例4: main ▲点赞 2▼ intmain(intargc,char**argv){intrc;if(argc !=2) {fprintf(stderr,"Usage: %s <dump>\n", argv[0]);returnTEST_ERR; ...
.init_irq = nxp_cpu_init_irq, #ifdef CONFIG_ARM_GIC .handle_irq = gic_handle_irq, #else .handle_irq = vic_handle_irq, #endif .timer = &nxp_cpu_sys_timer, .init_machine = cpu_init_machine, #if defined CONFIG_CMA && defined CONFIG_ION ...
handle_arch_irq = mdesc->handle_irq; 我的平台没有 #endif 选择Console类型 #ifdef CONFIG_VT #if defined(CONFIG_VGA_CONSOLE) conswitchp = &vga_con; #elif defined(CONFIG_DUMMY_CONSOLE) conswitchp = &dummy_con; #endif #endif early_trap_init(); ...
.init_irq = nxp_cpu_init_irq, #ifdef CONFIG_ARM_GIC .handle_irq = gic_handle_irq, #else .handle_irq = vic_handle_irq, #endif .timer = &nxp_cpu_sys_timer, .init_machine = cpu_init_machine, #if defined CONFIG_CMA && defined CONFIG_ION ...
early_ioremap.h efi.h elf.h emergency-restart.h esi.h exception.h extable.h fb.h fpswa.h ftrace.h futex.h gcc_intrin.h hardirq.h hugetlb.h hw_irq.h idle.h intrinsics.h io.h iommu.h iosapic.h irq.h irq_regs.h irq_remapping.h irqflags.h ...
= ALIGN(PAGE_SIZE); .text : { _text = .; _stext = .; TEXT_TEXT SCHED_TEXT LOCK_TEXT KPROBES_TEXT ENTRY_TEXT IRQENTRY_TEXT SOFTIRQENTRY_TEXT _etext = .; } . = ALIGN(SECTION_ALIGN); __init_begin = .; __init_text_begin = .; .init.text : AT(ADDR(.init.text) - LOAD_...