On Thu, Oct 18, 2018 at 5:45 PM Thawra Kadeed <[email protected]> wrote:
>
> Hello,
>
> I have, please, a small question about how GEM5 deals with the
> ARM-specific bootloader.
>
> In GEM5 there are two bootloaders belong to ARM
> (http://www.gem5.org/ARM_Implementation). Let's talk about the simple
> bootloader which starts Cpu0 from the start address of the kernel, and
> puts other cores in a spin-loop until they are started by the kernel.
>
> My main question is:
> How GEM5 uses the ARM-specific bootloader? e.g. GEM5 loads it to the
> simulated memory and then who executes it at the start-up of the system?
>

Well, gem5 sets the PC to the start of the bootloader that was loaded
in memory, and then it just runs like any other code, there is nothing
more than that to
it.

Use gem5.opt --debug-flags=Exec and see the trace.

>
> Thanks in advance.
> Thawra
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to