iASL: Add * option to generate all template files.

Add * as a synonym for ALL.
This commit is contained in:
Robert Moore 2011-03-17 12:40:17 -07:00
parent 67c2cd6f79
commit b7fb31cc1d
2 changed files with 3 additions and 2 deletions

View File

@ -220,7 +220,7 @@ Options (
printf (" -ls Create combined source file (expanded includes) (*.src)\n");
printf ("\nACPI Data Tables:\n");
printf (" -T <Sig> Create table template file for <Sig> (or \"ALL\")\n");
printf (" -T <Sig>|ALL|* Create table template file(s) for <Sig>\n");
printf (" -vt Create verbose templates (full disassembly)\n");
printf ("\nAML Disassembler:\n");

View File

@ -193,7 +193,8 @@ DtCreateTemplates (
/* Create all known templates if requested */
if (!ACPI_STRNCMP (Signature, "ALL", 3))
if (!ACPI_STRNCMP (Signature, "ALL", 3) ||
!ACPI_STRCMP (Signature, "*"))
{
Status = DtCreateAllTemplates ();
return (Status);