How to find out where actually the hardware is expecting the initial VTOR?

Mine is a Cortex-M3 machine. But not entirely it's a combination of two
cores A7 and M3.

Any tips!

BR.
Abhijeet.

On Mon, 6 Dec, 2021, 12:06 Peter Maydell, <peter.mayd...@linaro.org> wrote:

> On Sun, 5 Dec 2021 at 17:16, abhijeet inamdar
> <abhijeetinamdar3...@gmail.com> wrote:
> >
> > So the solution would be placing the vector correctly and mapping to the
> right address for Flash/RAM...?
>
> Yes, you need to make sure your model:
>  * puts RAM and flash where the hardware does
>  * configures the CPU object to set the initial VTOR to
>    the same place the hardware does
> and you need to make sure your guest code is written and
> linked to execute from the correct addresses.
>
> -- PMM
>

Reply via email to