diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 | 
| commit | 31aa864e8c068201d58aad3a8f82ddb51df11015 (patch) | |
| tree | 5e268c18ae0fa3ec73e13e2af60a3be57d8393ec /source/compiler/aslmain.c | |
| parent | ebef5c959a0ea58fa05c4a5a80bb93104780bf87 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslmain.c')
| -rw-r--r-- | source/compiler/aslmain.c | 16 | 
1 files changed, 7 insertions, 9 deletions
| diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c index 75262c76ac11..09eb9fcf702e 100644 --- a/source/compiler/aslmain.c +++ b/source/compiler/aslmain.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: aslmain - compiler main and utilities @@ -124,6 +123,7 @@ Options (      printf ("\nGlobal:\n");      ACPI_OPTION ("-@ <file>",       "Specify command file");      ACPI_OPTION ("-I <dir>",        "Specify additional include directory"); +    ACPI_OPTION ("-T <sig>|ALL|*",  "Create table template file for ACPI <Sig>");      ACPI_OPTION ("-v",              "Display compiler version");      printf ("\nPreprocessor:\n"); @@ -142,10 +142,10 @@ Options (      ACPI_OPTION ("-w1 -w2 -w3",     "Set warning reporting level");      ACPI_OPTION ("-we",             "Report warnings as errors"); -    printf ("\nAML Output Files:\n"); -    ACPI_OPTION ("-sa -sc",         "Create AML in assembler or C source file (*.asm or *.c)"); +    printf ("\nAML and Data Output Files:\n"); +    ACPI_OPTION ("-sa -sc",         "Create assembler or C source file (*.asm or *.c)");      ACPI_OPTION ("-ia -ic",         "Create assembler or C include file (*.inc or *.h)"); -    ACPI_OPTION ("-ta -tc -ts",     "Create AML in assembler, C, or ASL hex table (*.hex)"); +    ACPI_OPTION ("-ta -tc -ts",     "Create assembler, C, or ASL hex table (*.hex)");      printf ("\nAML Code Generation:\n");      ACPI_OPTION ("-oa",             "Disable all optimizations (compatibility mode)"); @@ -162,7 +162,6 @@ Options (      printf ("\nACPI Data Tables:\n");      ACPI_OPTION ("-G",              "Compile custom table containing generic operators"); -    ACPI_OPTION ("-T <sig>|ALL|*",  "Create table template file(s) for <Sig>");      ACPI_OPTION ("-vt",             "Create verbose templates (full disassembly)");      printf ("\nAML Disassembler:\n"); @@ -174,6 +173,7 @@ Options (      ACPI_OPTION ("-e  [f1,f2]",     "Include ACPI table(s) for external symbol resolution");      ACPI_OPTION ("-2",              "Emit ACPI 2.0 compatible ASL code");      ACPI_OPTION ("-g",              "Get ACPI tables and write to files (*.dat)"); +    ACPI_OPTION ("-vt",             "Dump binary table data in hex format within output file");      printf ("\nHelp:\n");      ACPI_OPTION ("-h",              "This message"); @@ -211,7 +211,7 @@ FilenameHelp (      printf ("\nAML output filename generation:\n");      printf ("  Output filenames are generated by appending an extension to a common\n"); -    printf ("  filename prefix.  The filename prefix is obtained via one of the\n"); +    printf ("  filename prefix. The filename prefix is obtained via one of the\n");      printf ("  following methods (in priority order):\n");      printf ("    1) The -p option specifies the prefix\n");      printf ("    2) The prefix of the AMLFileName in the ASL Definition Block\n"); @@ -389,7 +389,7 @@ AslDoResponseFile (      {          printf ("Could not open command file %s, %s\n",              Filename, strerror (errno)); -        return -1; +        return (-1);      }      /* Must save the current GetOpt globals */ @@ -1070,5 +1070,3 @@ main (      return (0);  } - - | 
