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 6... Line 6...
6
 
6
 
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
 *
Line 115... Line 115...
115
 
115
 
116
#ifndef __ACDEBUG_H__
116
#ifndef __ACDEBUG_H__
Line 117... Line 117...
117
#define __ACDEBUG_H__
117
#define __ACDEBUG_H__
Line 118... Line 118...
118
 
118
 
119
 
119
 
120
#define ACPI_DEBUG_BUFFER_SIZE  4196
120
#define ACPI_DEBUG_BUFFER_SIZE  0x4000      /* 16K buffer for return objects */
121
 
121
 
Line 168... Line 168...
168
 
168
 
169
 
169
 
170
/*
170
/*
171
 * dbcmds - debug commands and output routines
171
 * dbcmds - debug commands and output routines
172
 */
172
 */
173
ACPI_STATUS
173
ACPI_NAMESPACE_NODE *
Line 174... Line 174...
174
AcpiDbDisassembleMethod (
174
AcpiDbConvertToNode (
175
    char                    *Name);
175
    char                    *InString);
176
 
176
 
Line 182... Line 182...
182
AcpiDbUnloadAcpiTable (
182
AcpiDbUnloadAcpiTable (
183
    char                    *TableArg,
183
    char                    *TableArg,
184
    char                    *InstanceArg);
184
    char                    *InstanceArg);
Line 185... Line 185...
185
 
185
 
186
void
186
void
187
AcpiDbSetMethodBreakpoint (
187
AcpiDbSendNotify (
188
    char                    *Location,
-
 
189
    ACPI_WALK_STATE         *WalkState,
188
    char                    *Name,
Line 190... Line 189...
190
    ACPI_PARSE_OBJECT       *Op);
189
    UINT32                  Value);
191
 
190
 
-
 
191
void
-
 
192
AcpiDbDisplayInterfaces (
-
 
193
    char                    *ActionArg,
-
 
194
    char                    *InterfaceNameArg);
-
 
195
 
192
void
196
ACPI_STATUS
Line 193... Line 197...
193
AcpiDbSetMethodCallBreakpoint (
197
AcpiDbSleep (
194
    ACPI_PARSE_OBJECT       *Op);
198
    char                    *ObjectArg);
195
 
199
 
Line 196... Line 200...
196
void
200
void
197
AcpiDbGetBusInfo (
201
AcpiDbDisplayLocks (
198
    void);
202
    void);
199
 
-
 
Line 200... Line 203...
200
void
203
 
201
AcpiDbDisassembleAml (
204
void
202
    char                    *Statements,
-
 
203
    ACPI_PARSE_OBJECT       *Op);
205
AcpiDbDisplayResources (
Line 204... Line 206...
204
 
206
    char                    *ObjectArg);
205
void
207
 
206
AcpiDbDumpNamespace (
-
 
207
    char                    *StartArg,
208
void
Line 208... Line 209...
208
    char                    *DepthArg);
209
AcpiDbDisplayGpes (
209
 
210
    void);
210
void
211
 
211
AcpiDbDumpNamespaceByOwner (
212
void
-
 
213
AcpiDbDisplayHandlers (
-
 
214
    void);
-
 
215
 
-
 
216
void
-
 
217
AcpiDbGenerateGpe (
-
 
218
    char                    *GpeArg,
-
 
219
    char                    *BlockArg);
-
 
220
 
-
 
221
 
-
 
222
/*
-
 
223
 * dbmethod - control method commands
-
 
224
 */
-
 
225
void
-
 
226
AcpiDbSetMethodBreakpoint (
Line 212... Line 227...
212
    char                    *OwnerArg,
227
    char                    *Location,
213
    char                    *DepthArg);
228
    ACPI_WALK_STATE         *WalkState,
214
 
229
    ACPI_PARSE_OBJECT       *Op);
215
void
230
 
216
AcpiDbSendNotify (
231
void
Line 217... Line 232...
217
    char                    *Name,
232
AcpiDbSetMethodCallBreakpoint (
218
    UINT32                  Value);
233
    ACPI_PARSE_OBJECT       *Op);
219
 
234
 
220
void
-
 
Line 221... Line 235...
221
AcpiDbSetMethodData (
235
void
222
    char                    *TypeArg,
236
AcpiDbSetMethodData (
223
    char                    *IndexArg,
237
    char                    *TypeArg,
-
 
238
    char                    *IndexArg,
Line 224... Line 239...
224
    char                    *ValueArg);
239
    char                    *ValueArg);
225
 
240
 
226
ACPI_STATUS
241
ACPI_STATUS
Line 227... Line -...
227
AcpiDbDisplayObjects (
-
 
228
    char                    *ObjTypeArg,
-
 
229
    char                    *DisplayCountArg);
-
 
Line -... Line 242...
-
 
242
AcpiDbDisassembleMethod (
-
 
243
    char                    *Name);
-
 
244
 
230
 
245
void
231
ACPI_STATUS
246
AcpiDbDisassembleAml (
232
AcpiDbFindNameInNamespace (
247
    char                    *Statements,
Line 233... Line 248...
233
    char                    *NameArg);
248
    ACPI_PARSE_OBJECT       *Op);
234
 
249
 
-
 
250
void
235
void
251
AcpiDbBatchExecute (
Line 236... Line 252...
236
AcpiDbSetScope (
252
    char                    *CountArg);
237
    char                    *Name);
253
 
-
 
254
 
238
 
255
/*
-
 
256
 * dbnames - namespace commands
-
 
257
 */
-
 
258
void
-
 
259
AcpiDbSetScope (
Line 239... Line 260...
239
ACPI_STATUS
260
    char                    *Name);
240
AcpiDbSleep (
261
 
241
    char                    *ObjectArg);
262
void
Line -... Line 263...
-
 
263
AcpiDbDumpNamespace (
-
 
264
    char                    *StartArg,
-
 
265
    char                    *DepthArg);
-
 
266
 
-
 
267
void
242
 
268
AcpiDbDumpNamespaceByOwner (
243
void
269
    char                    *OwnerArg,
244
AcpiDbFindReferences (
270
    char                    *DepthArg);
Line 245... Line 271...
245
    char                    *ObjectArg);
271
 
246
 
272
ACPI_STATUS
247
void
-
 
248
AcpiDbDisplayLocks (
273
AcpiDbFindNameInNamespace (
Line 249... Line 274...
249
    void);
274
    char                    *NameArg);
250
 
275
 
251
void
276
void
Line 252... Line -...
252
AcpiDbDisplayResources (
-
 
253
    char                    *ObjectArg);
-
 
254
 
-
 
Line 255... Line 277...
255
void
277
AcpiDbCheckPredefinedNames (
256
AcpiDbDisplayGpes (
278
    void);
257
    void);
279
 
258
 
280
ACPI_STATUS
Line 325... Line 347...
325
 */
347
 */
326
void
348
void
327
AcpiDbExecute (
349
AcpiDbExecute (
328
    char                    *Name,
350
    char                    *Name,
329
    char                    **Args,
351
    char                    **Args,
-
 
352
    ACPI_OBJECT_TYPE        *Types,
330
    UINT32                  Flags);
353
    UINT32                  Flags);
Line 331... Line 354...
331
 
354
 
332
void
355
void
333
AcpiDbCreateExecutionThreads (
356
AcpiDbCreateExecutionThreads (
Line 405... Line 428...
405
ACPI_STATUS
428
ACPI_STATUS
406
AcpiDbUserCommands (
429
AcpiDbUserCommands (
407
    char                    Prompt,
430
    char                    Prompt,
408
    ACPI_PARSE_OBJECT       *Op);
431
    ACPI_PARSE_OBJECT       *Op);
Line -... Line 432...
-
 
432
 
-
 
433
char *
-
 
434
AcpiDbGetNextToken (
-
 
435
    char                    *String,
-
 
436
    char                    **Next,
-
 
437
    ACPI_OBJECT_TYPE        *ReturnType);
Line 409... Line 438...
409
 
438
 
410
 
439
 
411
/*
440
/*
412
 * dbstats - Generation and display of ACPI table statistics
441
 * dbstats - Generation and display of ACPI table statistics