LCOV - code coverage report
Current view: directory - src/trusted/desc - nacl_desc_effector_trusted_mem.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 3 3 100.0 %
Date: 2014-09-25 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright (c) 2012 The Native Client Authors. All rights reserved.
       3                 :  * Use of this source code is governed by a BSD-style license that can be
       4                 :  * found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : /* @file
       8                 :  *
       9                 :  * Implementation of effector subclass used only for service runtime's
      10                 :  * gio_shm object for mapping/unmapping shared memory in *trusted*
      11                 :  * address space.
      12                 :  */
      13                 : 
      14                 : #include "native_client/src/trusted/desc/nacl_desc_effector_trusted_mem.h"
      15                 : #include "native_client/src/shared/platform/nacl_log.h"
      16                 : 
      17                 : static void NaClDescEffTrustedMemUnmapMemory(struct NaClDescEffector  *vself,
      18                 :                                              uintptr_t                sysaddr,
      19               3 :                                              size_t                   nbytes) {
      20                 :   UNREFERENCED_PARAMETER(vself);
      21                 :   UNREFERENCED_PARAMETER(sysaddr);
      22                 :   UNREFERENCED_PARAMETER(nbytes);
      23               3 :   NaClLog(8, "TrustedMem effector's UnmapMemory called, nothing to do\n");
      24               3 : }
      25                 : 
      26                 : static struct NaClDescEffectorVtbl const NaClDescEffectorTrustedMemVtbl = {
      27                 :   NaClDescEffTrustedMemUnmapMemory,
      28                 : };
      29                 : 
      30                 : const struct NaClDescEffector NaClDescEffectorTrustedMemStruct = {
      31                 :   &NaClDescEffectorTrustedMemVtbl,
      32                 : };

Generated by: LCOV version 1.7