lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTin9fSw5DdqdgCEvtdtc83LFOeA7t0OAUugVmRFD@mail.gmail.com>
Date:	Tue, 25 Jan 2011 17:19:16 +0800
From:	sen wang <wangchendu@...il.com>
To:	David Brown <davidb@...eaurora.org>
Cc:	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: questions about arm trustzone

thanks,
It seems linux run in the normal world, and the "scm.c"  is the path
to the monitor mode.
where can I find the example code for monitor and secure world?



2011/1/25 David Brown <davidb@...eaurora.org>:
> 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ