Deleted Added
full compact
acapps.h (250838) acapps.h (272444)
1/******************************************************************************
2 *
3 * Module Name: acapps - common include for ACPI applications/tools
4 *
5 *****************************************************************************/
6
7/*
1/******************************************************************************
2 *
3 * Module Name: acapps - common include for ACPI applications/tools
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.
8 * Copyright (C) 2000 - 2014, Intel Corp.
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

--- 30 unchanged lines hidden (view full) ---

47
48#ifdef _MSC_VER /* disable some level-4 warnings */
49#pragma warning(disable:4100) /* warning C4100: unreferenced formal parameter */
50#endif
51
52/* Common info for tool signons */
53
54#define ACPICA_NAME "Intel ACPI Component Architecture"
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

--- 30 unchanged lines hidden (view full) ---

47
48#ifdef _MSC_VER /* disable some level-4 warnings */
49#pragma warning(disable:4100) /* warning C4100: unreferenced formal parameter */
50#endif
51
52/* Common info for tool signons */
53
54#define ACPICA_NAME "Intel ACPI Component Architecture"
55#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2013 Intel Corporation"
55#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2014 Intel Corporation"
56
57#if ACPI_MACHINE_WIDTH == 64
58#define ACPI_WIDTH "-64"
59
60#elif ACPI_MACHINE_WIDTH == 32
61#define ACPI_WIDTH "-32"
62
63#else

--- 15 unchanged lines hidden (view full) ---

79 Prefix, ACPICA_NAME, \
80 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
81 Prefix, ACPICA_COPYRIGHT, \
82 Prefix
83
84/* Macros for usage messages */
85
86#define ACPI_USAGE_HEADER(Usage) \
56
57#if ACPI_MACHINE_WIDTH == 64
58#define ACPI_WIDTH "-64"
59
60#elif ACPI_MACHINE_WIDTH == 32
61#define ACPI_WIDTH "-32"
62
63#else

--- 15 unchanged lines hidden (view full) ---

79 Prefix, ACPICA_NAME, \
80 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
81 Prefix, ACPICA_COPYRIGHT, \
82 Prefix
83
84/* Macros for usage messages */
85
86#define ACPI_USAGE_HEADER(Usage) \
87 printf ("Usage: %s\nOptions:\n", Usage);
87 AcpiOsPrintf ("Usage: %s\nOptions:\n", Usage);
88
88
89#define ACPI_USAGE_TEXT(Description) \
90 AcpiOsPrintf (Description);
91
89#define ACPI_OPTION(Name, Description) \
92#define ACPI_OPTION(Name, Description) \
90 printf (" %-18s%s\n", Name, Description);
93 AcpiOsPrintf (" %-18s%s\n", Name, Description);
91
92
93#define FILE_SUFFIX_DISASSEMBLY "dsl"
94#define ACPI_TABLE_FILE_SUFFIX ".dat"
95
96
97/*
98 * getopt

--- 10 unchanged lines hidden (view full) ---

109 char **argv);
110
111extern int AcpiGbl_Optind;
112extern int AcpiGbl_Opterr;
113extern int AcpiGbl_SubOptChar;
114extern char *AcpiGbl_Optarg;
115
116
94
95
96#define FILE_SUFFIX_DISASSEMBLY "dsl"
97#define ACPI_TABLE_FILE_SUFFIX ".dat"
98
99
100/*
101 * getopt

--- 10 unchanged lines hidden (view full) ---

112 char **argv);
113
114extern int AcpiGbl_Optind;
115extern int AcpiGbl_Opterr;
116extern int AcpiGbl_SubOptChar;
117extern char *AcpiGbl_Optarg;
118
119
120/*
121 * cmfsize - Common get file size function
122 */
123UINT32
124CmGetFileSize (
125 ACPI_FILE File);
126
127
117#ifndef ACPI_DUMP_APP
118/*
119 * adisasm
120 */
121ACPI_STATUS
122AdAmlDisassemble (
123 BOOLEAN OutToFile,
124 char *Filename,
125 char *Prefix,
128#ifndef ACPI_DUMP_APP
129/*
130 * adisasm
131 */
132ACPI_STATUS
133AdAmlDisassemble (
134 BOOLEAN OutToFile,
135 char *Filename,
136 char *Prefix,
126 char **OutFilename,
127 BOOLEAN GetAllTables);
137 char **OutFilename);
128
129void
130AdPrintStatistics (
131 void);
132
133ACPI_STATUS
134AdFindDsdt(
135 UINT8 **DsdtPtr,
136 UINT32 *DsdtLength);
137
138void
139AdDumpTables (
140 void);
141
142ACPI_STATUS
143AdGetLocalTables (
138
139void
140AdPrintStatistics (
141 void);
142
143ACPI_STATUS
144AdFindDsdt(
145 UINT8 **DsdtPtr,
146 UINT32 *DsdtLength);
147
148void
149AdDumpTables (
150 void);
151
152ACPI_STATUS
153AdGetLocalTables (
144 char *Filename,
145 BOOLEAN GetAllTables);
154 void);
146
147ACPI_STATUS
148AdParseTable (
149 ACPI_TABLE_HEADER *Table,
150 ACPI_OWNER_ID *OwnerId,
151 BOOLEAN LoadTable,
152 BOOLEAN External);
153

--- 71 unchanged lines hidden ---
155
156ACPI_STATUS
157AdParseTable (
158 ACPI_TABLE_HEADER *Table,
159 ACPI_OWNER_ID *OwnerId,
160 BOOLEAN LoadTable,
161 BOOLEAN External);
162

--- 71 unchanged lines hidden ---