LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2016, 02:39 PM   #1
manshgpta
LQ Newbie
 
Registered: Aug 2016
Posts: 1

Rep: Reputation: Disabled
Question Multicore SMP using linux kernel


Hi,
I am just trying to learn the linux kernel booting process for arm32 Cortex A9 multi core SOC. I had understood the concept of booting in linux, but I am confused about the section where secondary cores enabling from primary core. Can somebody briefly explains me about the assembly instructions in head.S for enabling the secondary cpus from primary cpu and which registers are actually involved during these assembly operations

adr r4, __secondary_data
ldmia r4, {r5, r7, r12}
sub lr, r4, r5
add r3, r7, lr
ldrd r4, [r3, #0]
ARM_BE8(eor r4, r4, r5)
ARM_BE8(eor r5, r4, r5)
ARM_BE8(eor r4, r4, r5)
ldr r8, [r3, #8]
badr lr, __enable_mmu
mov r13, r12
ldr r12, [r10, #PROCINFO_INITFUNC]
add r12, r12, r10

ret r12

Thanks, manish
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Linux kernel Scheduling in Multicore anup.estuff Linux - Kernel 4 10-14-2013 09:44 AM
Non-SMP kernel modules for SMP kernel: Best practice? gargamel Slackware 9 12-29-2008 01:13 PM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 05:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM

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

All times are GMT -5. The time now is 07:38 AM.

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