aslcompile.c (199337) | aslcompile.c (200553) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: aslcompile - top level compile module 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** --- 881 unchanged lines hidden (view full) --- 890 DbgPrint (ASL_DEBUG_OUTPUT, "%32s : %d\n", "Total Namespace searches", 891 Gbl_NsLookupCount); 892 DbgPrint (ASL_DEBUG_OUTPUT, "%32s : %d usec\n", "Time per search", 893 ((UINT32) (AslGbl_Events[AslGbl_NamespaceEvent].EndTime - 894 AslGbl_Events[AslGbl_NamespaceEvent].StartTime) / 895 10) / Gbl_NsLookupCount); 896 } 897 | 1 2/****************************************************************************** 3 * 4 * Module Name: aslcompile - top level compile module 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** --- 881 unchanged lines hidden (view full) --- 890 DbgPrint (ASL_DEBUG_OUTPUT, "%32s : %d\n", "Total Namespace searches", 891 Gbl_NsLookupCount); 892 DbgPrint (ASL_DEBUG_OUTPUT, "%32s : %d usec\n", "Time per search", 893 ((UINT32) (AslGbl_Events[AslGbl_NamespaceEvent].EndTime - 894 AslGbl_Events[AslGbl_NamespaceEvent].StartTime) / 895 10) / Gbl_NsLookupCount); 896 } 897 |
898 /* 899 * TBD: SourceOutput should be .TMP, then rename if we want to keep it? 900 */ 901 if (!Gbl_SourceOutputFlag) 902 { 903 remove (Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); 904 } | |
905 | 898 |
906 /* Delete AML file if there are errors */ 907 908 if ((Gbl_ExceptionCount[ASL_ERROR] > 0) && (!Gbl_IgnoreErrors)) 909 { 910 remove (Gbl_Files[ASL_FILE_AML_OUTPUT].Filename); 911 } 912 | |
913 if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT) 914 { 915 printf ("\nMaximum error count (%d) exceeded\n", ASL_MAX_ERROR_COUNT); 916 } 917 918 UtDisplaySummary (ASL_FILE_STDOUT); 919 920 /* Close all open files */ 921 922 for (i = 2; i < ASL_MAX_FILE_TYPE; i++) 923 { 924 FlCloseFile (i); 925 } | 899 if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT) 900 { 901 printf ("\nMaximum error count (%d) exceeded\n", ASL_MAX_ERROR_COUNT); 902 } 903 904 UtDisplaySummary (ASL_FILE_STDOUT); 905 906 /* Close all open files */ 907 908 for (i = 2; i < ASL_MAX_FILE_TYPE; i++) 909 { 910 FlCloseFile (i); 911 } |
912 913 /* Delete AML file if there are errors */ 914 915 if ((Gbl_ExceptionCount[ASL_ERROR] > 0) && (!Gbl_IgnoreErrors)) 916 { 917 remove (Gbl_Files[ASL_FILE_AML_OUTPUT].Filename); 918 } 919 920 /* 921 * Delete intermediate ("combined") source file (if -ls flag not set) 922 * 923 * TBD: SourceOutput should be .TMP, then rename if we want to keep it? 924 */ 925 if (!Gbl_SourceOutputFlag) 926 { 927 if (remove (Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename)) 928 { 929 printf ("Could not remove SRC file, %s\n", 930 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); 931 } 932 } |
|
926} 927 928 | 933} 934 935 |