[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8yad3nlh18e.fsf@huya.qualcomm.com>
Date: Mon, 24 Jan 2011 23:49:21 -0800
From: David Brown <davidb@...eaurora.org>
To: sen wang <wangchendu@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: questions about arm trustzone
On Mon, Jan 24 2011, sen wang wrote:
> we need to build a little os in the secure mode,and run linux in the
> normal world.but, can I use gcc to compile the special instructions like 'smc'.
> which gcc version can work? and where can i find the example code
> switching between the secure and normal worlds?
In the 2.6.38-rc2 kernel, arch/arm/mach-msm/scm.c does this. I don't
think there is any other code in the kernel, yet.
David
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists