lkml.org 
[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRE: questions about arm trustzone
    > -----Original Message-----
    > From: linux-arm-kernel-bounces@lists.infradead.org [mailto:linux-
    > arm-kernel-bounces@lists.infradead.org] On Behalf Of Russell King -
    > ARM Linux
    > Sent: Tuesday, January 25, 2011 3:57 PM
    > To: sen wang
    > Cc: David Brown; linux-kernel@vger.kernel.org; linux-arm-
    > kernel@lists.infradead.org
    > Subject: Re: questions about arm trustzone
    >
    > On Tue, Jan 25, 2011 at 05:19:16PM +0800, sen wang wrote:
    > > 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?
    >
    > OMAP also uses smc: arch/arm/mach-omap2/omap44xx-smc.S
    >
    > There's no interface defined for smc because it's highly vendor and
    > implementation specific. It's just like a SWI (or svc) where it
    > causes entry via a vector into a priviledged mode, which can be
    > thought of being similar to a branch to a vector with a mode switch.
    >
    The code above won't give major details of how the monitor mode is
    implemented. But as Russell said, it's pretty much vendor specific.

    On OMAP, We have standard API interfaces to enter into monitor
    world. One of the parameter denotes the kind of service, is
    requested.

    Regards,
    Santosh
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-01-25 12:57    [W:0.021 / U:2.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site