LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-26-2017, 02:12 AM   #1
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
where does the instr ARM( add pc, r10, #PROCINFO_INITFUNC ) in file arch/arm/kernel/head.S switches to?


Hi,

i am in the course of understanding the flow of linux kernel source code on bootup process. i am stuck in the place of code line

Code:
ARM(	add	pc, r10, #PROCINFO_INITFUNC	)
in the file head.S which resides in the path arch/arm/kernel/. When I searched in the kernel source code workspace for PROCINFO_INITFUNC it was defined as follows in arm-offsets.c.

Code:
DEFINE(PROCINFO_INITFUNC,	offsetof(struct proc_info_list, __cpu_flush));
But I could not identify any assignments of address or function pointer to __cpu_flush and so I couldnot identify where will be the program counter switches to from the above said line of code in head.S under arch/arm/kernel/ folder?

Can anyone please help regarding this doubt?
 
Old 06-27-2017, 05:09 AM   #2
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Original Poster
Rep: Reputation: Disabled
Hi,

I am using Linux kernel Version 2.6.32.2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does the file linux-2.6.32.2/arch/arm/boot/compressed/head.S packed as the entry point of kernel image? ayyasprings Linux - Kernel 1 12-18-2016 01:02 AM
LXer: Cyanogen Inc. reportedly fires OS development arm, switches to apps LXer Syndicated Linux News 0 07-23-2016 07:48 AM
linux/arch/arm/kernel/head.S jaysh Linux - Software 1 06-15-2012 04:33 AM
linux/arch/arm/kernel/head.S jaysh Linux - Kernel 1 06-11-2012 07:40 AM
LXer: Google TV switches to Marvell's new dual-core ARM SoC LXer Syndicated Linux News 0 01-06-2012 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration