Re: [PATCH v4 04/11] ARM: allow secure monitor code to be built without PSCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrey.

> >
> >         bl  something
> >         bl  something_else
> >
> > In the above (when CONFIG_ARM_PSCI is defined).
> > Seems that we will never hit the second branch long instruction.
> >
> > But maybe I am just clueless on the assembly syntax?
> >
> 
> That just a regular call, "bl" means "branch and store return address
> in link register", if you look at the source of of
> "secure_monitor_stack_setup" its last instruction is "bx lr" which is
> "branch to address stored in link register" (potentially switching
> from/to Thumb, if I remember the meaning of "x" at the end correctly).

Thanks. I am now a tiny little less clueless on ARM assembler :-)

	Sam

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux