Generally it does, but it's up to the boot loader or in the case of
not using a boot loader the initCPU() code in the simulator to choose. I
think most real systems boot CPU0 as well, but that is just because it's
easier to start with 0 and increment than to start with n and hav eto
skip n later. 

Ali 

On 23.05.2012 05:34, Samuel Hitz wrote: 

> Ok, I
found the answer to my first question by looking at the bootloader code.
It's indeed always CPU0. However does this also hold in general?
> 
> On
Wed, May 23, 2012 at 11:29 AM, Samuel Hitz <[email protected] [1]>
wrote:
> 
>> Hi there, 
>> Just a short question: 
>> Is CPU0 always the
primary CPU, meaning the one which executes code after the bootloader
and doesn't wait for an interrupt? And if yes, does this only hold for
gem5 or for ARM in general? 
>> Best, 
>> Samuel

 

Links:
------
[1]
mailto:[email protected]
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to