why bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
Hi All,
After searching via google,I still can not find the hint for
I understand the function of bic command, but did not understand :
why "bic sp, sp, #7" can be implied for "8-byte alignment for ABI compliance" ?
can someone offer some example?
thanks!
--
View this message in context: http://u-boot.10912.n7.nabble.com/why-bic-sp-sp-7-8-byte-alignment-for-ABI-compliance-tp147472.html
Sent from the U-Boot mailing list archive at Nabble.com.
[U-Boot] u-boot recovery mode
Hi, experts:
I found u-boot did not implement a recovery mode in current source code. Such as:
1. detecting usr pressed some dedicated keys , then going into a recovery mode.
Why?
Vendor specific?
Best wishes,
[U-Boot] u-boot recovery mode
Hi TigerLiu at viatech.com.cn,
Quoted 8 lines · On Sun, 17 Feb 2013 19:30:17 +0800, <[email protected]> wrote:
Hi, experts:
I found u-boot did not implement a recovery mode in current source code. Such as:
1. detecting usr pressed some dedicated keys , then going into a recovery mode.Why?
Vendor specific?
Such a mode can be implemented through U-Boot's environment variables without the need for hard-coding anything.
Amicalement,
Signature · 1 line
Albert.
[U-Boot] u-boot recovery mode
Hi, Albert:
Thanks for your answer!
So, how to use env variable to implement the recovery mode? Will who set this env variable?
OS? (if OS wants to go into recovery mode, it will set this env variable)
Best wishes,
-----????-----
???: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] ?? Albert ARIBAUD ????: 2013?2?17? 22:34
???: Tiger Liu
??: u-boot at lists.denx.de
??: Re: [U-Boot] u-boot recovery mode
Hi TigerLiu at viatech.com.cn,
Quoted 8 lines · On Sun, 17 Feb 2013 19:30:17 +0800, <[email protected]> wrote:
Hi, experts:
I found u-boot did not implement a recovery mode in current source code. Such as:
1. detecting usr pressed some dedicated keys , then going into a recovery mode.Why?
Vendor specific?
Such a mode can be implemented through U-Boot's environment variables without the need for hard-coding anything.
Amicalement,
Signature · 5 lines
Albert. _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] u-boot recovery mode
Hi TigerLiu at viatech.com.cn,
Quoted 5 lines · On Mon, 18 Feb 2013 09:44:32 +0800, <[email protected]> wrote:
Hi, Albert:
Thanks for your answer!
So, how to use env variable to implement the recovery mode? Will who set this env variable?
OS? (if OS wants to go into recovery mode, it will set this env variable)
All needed info is in the U-Boot documentation on the Denx site.
See <http://www.denx.de/wiki/view/DULG/UBootEnvVariables>.
Quoted 1 line
Best wishes,
Amicalement,
Signature · 1 line
Albert.
Hi,
Quoted 5 lines · janpharm
Hi All,
After searching via google,I still can not find the hint for
I understand the function of bic command,
http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
Simple bit clear with bit-mask.
Quoted 4 lines
but did not understand :
why "bic sp, sp, #7" can be implied for "8-byte alignment for ABI compliance" ?
http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
5.2.1.2.
SP has to be double-word (64-bit, 8-byte) aligned, so since this is an expand-down stack, its lower 3 bits have to be cleared in order to make it a multiple of 8.
Quoted 1 line
can someone offer some example?
Best regards,
Beno?t