Re: Unprivileged access from GCC on ARM

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

 



On 14/08/2020 09:28, Jiri Dobry via Gcc-help wrote:
> Hello,
> 
> we need to load/store data from/to the pointer on system privilege
> utilizing instruction with user privilege access. ARMs have such
> instructions (LDRT/STRT). Is there some chance to force GCC compiler to use
> LDRT/STRT instructions instead of usual LDR/STR?
> I know that I can use an inline assembly, but I just need to know that I
> don't miss some straight way.
> 
> Jiri
> 

Sorry, there's no way to do this.  You wouldn't want all access to use
LRDT anyway.

R.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux