[PATCH v2 21/31] arm64: 32-bit (compat) applications support

Pavel Machek pavel at ucw.cz
Mon Aug 20 06:53:08 EDT 2012


Hi!

> This patch adds support for 32-bit applications. The vectors page is a
> binary blob mapped into the application user space at 0xffff0000 (the
> AArch64 toolchain does not support compilation of AArch32 code). Full
> compatibility with ARMv7 user space is supported. The use of deprecated
> ARMv7 functionality (SWP, CP15 barriers) has been disabled by default on
> AArch64 kernels and unaligned LDM/STM is not supported.
> 
> Please note that only the ARM 32-bit EABI is supported, so no OABI
> compatibility.

> +struct compat_statfs {
> +	int		f_type;
> +	int		f_bsize;
> +	int		f_blocks;
> +	int		f_bfree;
> +	int		f_bavail;
> +	int		f_files;
> +	int		f_ffree;
> +	compat_fsid_t	f_fsid;
> +	int		f_namelen;	/* SunOS ignores this field. */

I'm sure it does. But is it good comment?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list