1/****************************************************************************** 2 * 3 * Module Name: aslmain - compiler main and utilities 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 97 unchanged lines hidden (view full) --- 106/******************************************************************************* 107 * 108 * FUNCTION: Options 109 * 110 * PARAMETERS: None 111 * 112 * RETURN: None 113 * |
114 * DESCRIPTION: Display option help message. 115 * Optional items in square brackets. |
116 * 117 ******************************************************************************/ 118 119static void 120Options ( 121 void) 122{ 123 --- 4 unchanged lines hidden (view full) --- 128 ACPI_OPTION ("-v", "Display compiler version"); 129 130 printf ("\nPreprocessor:\n"); 131 ACPI_OPTION ("-D <symbol>", "Define symbol for preprocessor use"); 132 ACPI_OPTION ("-li", "Create preprocessed output file (*.i)"); 133 ACPI_OPTION ("-P", "Preprocess only and create preprocessor output file (*.i)"); 134 ACPI_OPTION ("-Pn", "Disable preprocessor"); 135 |
136 printf ("\nGeneral Processing:\n"); |
137 ACPI_OPTION ("-p <prefix>", "Specify path/filename prefix for all output files"); 138 ACPI_OPTION ("-va", "Disable all errors and warnings (summary only)"); 139 ACPI_OPTION ("-vi", "Less verbose errors and warnings for use with IDEs"); 140 ACPI_OPTION ("-vo", "Enable optimization comments"); 141 ACPI_OPTION ("-vr", "Disable remarks"); 142 ACPI_OPTION ("-vs", "Disable signon"); 143 ACPI_OPTION ("-w1 -w2 -w3", "Set warning reporting level"); 144 ACPI_OPTION ("-we", "Report warnings as errors"); 145 |
146 printf ("\nAML Code Generation (*.aml):\n"); |
147 ACPI_OPTION ("-oa", "Disable all optimizations (compatibility mode)"); 148 ACPI_OPTION ("-of", "Disable constant folding"); 149 ACPI_OPTION ("-oi", "Disable integer optimization to Zero/One/Ones"); 150 ACPI_OPTION ("-on", "Disable named reference string optimization"); 151 ACPI_OPTION ("-cr", "Disable Resource Descriptor error checking"); 152 ACPI_OPTION ("-in", "Ignore NoOp operators"); 153 ACPI_OPTION ("-r <revision>", "Override table header Revision (1-255)"); 154 |
155 printf ("\nOptional Source Code Output Files:\n"); 156 ACPI_OPTION ("-sc -sa", "Create source file in C or assembler (*.c or *.asm)"); 157 ACPI_OPTION ("-ic -ia", "Create include file in C or assembler (*.h or *.inc)"); 158 ACPI_OPTION ("-tc -ta -ts", "Create hex AML table in C, assembler, or ASL (*.hex)"); 159 160 printf ("\nOptional Listing Files:\n"); |
161 ACPI_OPTION ("-l", "Create mixed listing file (ASL source and AML) (*.lst)"); 162 ACPI_OPTION ("-ln", "Create namespace file (*.nsp)"); 163 ACPI_OPTION ("-ls", "Create combined source file (expanded includes) (*.src)"); 164 |
165 printf ("\nData Table Compiler:\n"); 166 ACPI_OPTION ("-G", "Compile custom table that contains generic operators"); 167 ACPI_OPTION ("-vt", "Create verbose template files (full disassembly)"); |
168 169 printf ("\nAML Disassembler:\n"); |
170 ACPI_OPTION ("-d <f1,f2>", "Disassemble or decode binary ACPI tables to file (*.dsl)"); 171 ACPI_OPTION ("", " (Optional, file type is automatically detected)"); 172 ACPI_OPTION ("-da <f1,f2>", "Disassemble multiple tables from single namespace"); |
173 ACPI_OPTION ("-db", "Do not translate Buffers to Resource Templates"); |
174 ACPI_OPTION ("-dc <f1,f2>", "Disassemble AML and immediately compile it"); 175 ACPI_OPTION ("", " (Obtain DSDT from current system if no input file)"); 176 ACPI_OPTION ("-e <f1,f2>", "Include ACPI table(s) for external symbol resolution"); |
177 ACPI_OPTION ("-g", "Get ACPI tables and write to files (*.dat)"); 178 ACPI_OPTION ("-in", "Ignore NoOp opcodes"); 179 ACPI_OPTION ("-vt", "Dump binary table data in hex format within output file"); 180 181 printf ("\nHelp:\n"); 182 ACPI_OPTION ("-h", "This message"); 183 ACPI_OPTION ("-hc", "Display operators allowed in constant expressions"); 184 ACPI_OPTION ("-hf", "Display help for output filename generation"); 185 ACPI_OPTION ("-hr", "Display ACPI reserved method names"); 186 ACPI_OPTION ("-ht", "Display currently supported ACPI table names"); 187 188 printf ("\nDebug Options:\n"); 189 ACPI_OPTION ("-bf -bt", "Create debug file (full or parse tree only) (*.txt)"); 190 ACPI_OPTION ("-f", "Ignore errors, force creation of AML output file(s)"); |
191 ACPI_OPTION ("-m <size>", "Set internal line buffer size (in Kbytes)"); |
192 ACPI_OPTION ("-n", "Parse only, no output generation"); 193 ACPI_OPTION ("-ot", "Display compile times and statistics"); 194 ACPI_OPTION ("-x <level>", "Set debug level for trace output"); 195 ACPI_OPTION ("-z", "Do not insert new compiler ID for DataTables"); 196} 197 198 199/******************************************************************************* --- 879 unchanged lines hidden --- |