LCOV - code coverage report
Current view: directory - src/trusted/service_runtime/arch/x86 - nacl_ldt_x86.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 5 5 100.0 %
Date: 2014-07-02 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright 2008 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                 : /*
       8                 :  * NaCl local descriptor table (LDT) management - common for all platforms
       9                 :  */
      10                 : 
      11                 : #include "native_client/src/trusted/service_runtime/arch/x86/nacl_ldt_x86.h"
      12                 : 
      13                 : /* TODO(gregoryd): These need to come from a header file. */
      14                 : extern int NaClLdtInitPlatformSpecific(void);
      15                 : extern int NaClLdtFiniPlatformSpecific(void);
      16                 : 
      17                 : 
      18             294 : int NaClLdtInit(void) {
      19             294 :   return NaClLdtInitPlatformSpecific();
      20                 : }
      21                 : 
      22                 : 
      23              11 : void NaClLdtFini(void) {
      24              11 :   NaClLdtFiniPlatformSpecific();
      25              11 : }

Generated by: LCOV version 1.7