Subversion Repositories Kolibri OS

Rev

Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1498 Rev 2216
Line 7... Line 7...
7
/******************************************************************************
7
/******************************************************************************
8
 *
8
 *
9
 * 1. Copyright Notice
9
 * 1. Copyright Notice
10
 *
10
 *
11
 * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
11
 * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp.
12
 * All rights reserved.
12
 * All rights reserved.
13
 *
13
 *
14
 * 2. License
14
 * 2. License
15
 *
15
 *
16
 * 2.1. This is your license from Intel Corp. under its intellectual property
16
 * 2.1. This is your license from Intel Corp. under its intellectual property
Line 338... Line 338...
338
 
338
 
Line 339... Line 339...
339
    printf ("\n");
339
    printf ("\n");
340
    printf ("Usage: acpisrc [-c|l|u] [-dsvy]  \n\n");
340
    printf ("Usage: acpisrc [-c|l|u] [-dsvy]  \n\n");
341
    printf ("Where: -c          Generate cleaned version of the source\n");
341
    printf ("Where: -c          Generate cleaned version of the source\n");
-
 
342
    printf ("       -h          Insert dual-license header into all modules\n");
342
    printf ("       -l          Generate Linux version of the source\n");
343
    printf ("       -l          Generate Linux version of the source\n");
343
    printf ("       -u          Generate Custom source translation\n");
344
    printf ("       -u          Generate Custom source translation\n");
344
    printf ("\n");
345
    printf ("\n");
345
    printf ("       -d          Leave debug statements in code\n");
346
    printf ("       -d          Leave debug statements in code\n");
346
    printf ("       -s          Generate source statistics only\n");
347
    printf ("       -s          Generate source statistics only\n");
Line 370... Line 371...
370
    char                    *TargetPath;
371
    char                    *TargetPath;
371
    UINT32                  FileType;
372
    UINT32                  FileType;
372
 
373
 
Line 373... Line 374...
373
 
374
 
374
    printf ("ACPI Source Code Conversion Utility");
-
 
375
    printf (" version %8.8X", ((UINT32) ACPI_CA_VERSION));
-
 
Line 376... Line 375...
376
    printf (" [%s]\n\n",  __DATE__);
375
    printf (ACPI_COMMON_SIGNON ("ACPI Source Code Conversion Utility"));
377
 
376
 
378
    if (argc < 2)
377
    if (argc < 2)
379
    {
378
    {
380
        AsDisplayUsage ();
379
        AsDisplayUsage ();
Line 381... Line 380...
381
        return 0;
380
        return 0;
Line 382... Line 381...
382
    }
381
    }
383
 
382
 
384
    /* Command line options */
383
    /* Command line options */
385
 
384
 
Line 386... Line 385...
386
    while ((j = AcpiGetopt (argc, argv, "cdlqsuvy")) != EOF) switch(j)
385
    while ((j = AcpiGetopt (argc, argv, "cdhlqsuvy")) != EOF) switch(j)
Line 400... Line 399...
400
        printf ("Code cleanup\n");
399
        printf ("Code cleanup\n");
401
        ConversionTable = &CleanupConversionTable;
400
        ConversionTable = &CleanupConversionTable;
402
        break;
401
        break;
Line -... Line 402...
-
 
402
 
-
 
403
    case 'h':
-
 
404
        /* Inject Dual-license header */
-
 
405
 
-
 
406
        printf ("Inserting Dual-license header to all modules\n");
-
 
407
        ConversionTable = &LicenseConversionTable;
-
 
408
        break;
403
 
409
 
404
    case 's':
410
    case 's':
Line 405... Line 411...
405
        /* Statistics only */
411
        /* Statistics only */