[BACK]Return to dmtables.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / external / bsd / acpica / dist / common

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/external/bsd/acpica/dist/common/dmtables.c between version 1.1.1.1.2.6 and 1.1.1.2

version 1.1.1.1.2.6, 2017/08/28 17:52:31 version 1.1.1.2, 2016/05/04 18:15:54
Line 5 
Line 5 
  *****************************************************************************/   *****************************************************************************/
   
 /*  /*
  * Copyright (C) 2000 - 2017, Intel Corp.   * Copyright (C) 2000 - 2016, Intel Corp.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 42 
Line 42 
  */   */
   
 #include "aslcompiler.h"  #include "aslcompiler.h"
   #include "acapps.h"
 #include "acdispat.h"  #include "acdispat.h"
 #include "acnamesp.h"  #include "acnamesp.h"
 #include "actables.h"  #include "actables.h"
 #include "acparser.h"  #include "acparser.h"
 #include "acapps.h"  
 #include "acmacros.h"  
 #include "acconvert.h"  
   
   #include <stdio.h>
   #include <time.h>
   
 #define _COMPONENT          ACPI_TOOLS  #define _COMPONENT          ACPI_TOOLS
         ACPI_MODULE_NAME    ("dmtables")          ACPI_MODULE_NAME    ("dmtables")
Line 204  AdCreateTableHeader (
Line 204  AdCreateTableHeader (
     AcpiOsPrintf (" */\n");      AcpiOsPrintf (" */\n");
   
     /*      /*
      * Print comments that come before this definition block.  
      */  
     if (Gbl_CaptureComments)  
     {  
         ASL_CV_PRINT_ONE_COMMENT(AcpiGbl_ParseOpRoot,AML_COMMENT_STANDARD, NULL, 0);  
     }  
   
     /*  
      * Open the ASL definition block.       * Open the ASL definition block.
      *       *
      * Note: the AMLFilename string is left zero-length in order to just let       * Note: the AMLFilename string is left zero-length in order to just let
Line 398  AdParseTable (
Line 390  AdParseTable (
   
     AmlLength = Table->Length - sizeof (ACPI_TABLE_HEADER);      AmlLength = Table->Length - sizeof (ACPI_TABLE_HEADER);
     AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER));      AmlStart = ((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER));
     ASL_CV_INIT_FILETREE(Table, AmlStart, AmlLength);  
   
     /* Create the root object */      /* Create the root object */
   
Line 408  AdParseTable (
Line 399  AdParseTable (
         return (AE_NO_MEMORY);          return (AE_NO_MEMORY);
     }      }
   
 #ifdef ACPI_ASL_COMPILER  
     if (Gbl_CaptureComments)  
     {  
         AcpiGbl_ParseOpRoot->Common.CvFilename = AcpiGbl_FileTreeRoot->Filename;  
     }  
     else  
     {  
         AcpiGbl_ParseOpRoot->Common.CvFilename = NULL;  
     }  
 #endif  
   
     /* Create and initialize a new walk state */      /* Create and initialize a new walk state */
   
     WalkState = AcpiDsCreateWalkState (0, AcpiGbl_ParseOpRoot, NULL, NULL);      WalkState = AcpiDsCreateWalkState (0, AcpiGbl_ParseOpRoot, NULL, NULL);

Legend:
Removed from v.1.1.1.1.2.6  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>