acutils.h (71867) | acutils.h (73561) |
---|---|
1/****************************************************************************** 2 * 3 * Name: accommon.h -- prototypes for the common (subsystem-wide) procedures | 1/****************************************************************************** 2 * 3 * Name: accommon.h -- prototypes for the common (subsystem-wide) procedures |
4 * $Revision: 87 $ | 4 * $Revision: 90 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 100 unchanged lines hidden (view full) --- 113 * such license, approval or letter. 114 * 115 *****************************************************************************/ 116 117#ifndef _ACCOMMON_H 118#define _ACCOMMON_H 119 120 | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 100 unchanged lines hidden (view full) --- 113 * such license, approval or letter. 114 * 115 *****************************************************************************/ 116 117#ifndef _ACCOMMON_H 118#define _ACCOMMON_H 119 120 |
121 122typedef 123ACPI_STATUS (*ACPI_PKG_CALLBACK) ( 124 UINT8 ObjectType, 125 ACPI_OPERAND_OBJECT *SourceObject, 126 ACPI_GENERIC_STATE *State, 127 void *Context); 128 129 130 131ACPI_STATUS 132AcpiCmWalkPackageTree ( 133 ACPI_OPERAND_OBJECT *SourceObject, 134 void *TargetObject, 135 ACPI_PKG_CALLBACK WalkCallback, 136 void *Context); 137 138 139typedef struct acpi_pkg_info 140{ 141 UINT8 *FreeSpace; 142 UINT32 Length; 143 UINT32 ObjectSpace; 144 UINT32 NumPackages; 145} ACPI_PKG_INFO; 146 |
|
121#define REF_INCREMENT (UINT16) 0 122#define REF_DECREMENT (UINT16) 1 123#define REF_FORCE_DELETE (UINT16) 2 124 125/* AcpiCmDumpBuffer */ 126 127#define DB_BYTE_DISPLAY 1 128#define DB_WORD_DISPLAY 2 --- 151 unchanged lines hidden (view full) --- 280 281ACPI_STATUS 282AcpiCmBuildPackageObject ( 283 ACPI_OPERAND_OBJECT *Obj, 284 UINT8 *Buffer, 285 UINT32 *SpaceUsed); 286 287ACPI_STATUS | 147#define REF_INCREMENT (UINT16) 0 148#define REF_DECREMENT (UINT16) 1 149#define REF_FORCE_DELETE (UINT16) 2 150 151/* AcpiCmDumpBuffer */ 152 153#define DB_BYTE_DISPLAY 1 154#define DB_WORD_DISPLAY 2 --- 151 unchanged lines hidden (view full) --- 306 307ACPI_STATUS 308AcpiCmBuildPackageObject ( 309 ACPI_OPERAND_OBJECT *Obj, 310 UINT8 *Buffer, 311 UINT32 *SpaceUsed); 312 313ACPI_STATUS |
288AcpiCmBuildExternalObject ( | 314AcpiCmCopyIobjectToEobject ( |
289 ACPI_OPERAND_OBJECT *Obj, 290 ACPI_BUFFER *RetBuffer); 291 292ACPI_STATUS | 315 ACPI_OPERAND_OBJECT *Obj, 316 ACPI_BUFFER *RetBuffer); 317 318ACPI_STATUS |
293AcpiCmBuildInternalSimpleObject( | 319AcpiCmCopyEsimpleToIsimple( |
294 ACPI_OBJECT *UserObj, 295 ACPI_OPERAND_OBJECT *Obj); 296 297ACPI_STATUS | 320 ACPI_OBJECT *UserObj, 321 ACPI_OPERAND_OBJECT *Obj); 322 323ACPI_STATUS |
298AcpiCmBuildInternalObject ( | 324AcpiCmCopyEobjectToIobject ( |
299 ACPI_OBJECT *Obj, 300 ACPI_OPERAND_OBJECT *InternalObj); 301 302ACPI_STATUS | 325 ACPI_OBJECT *Obj, 326 ACPI_OPERAND_OBJECT *InternalObj); 327 328ACPI_STATUS |
303AcpiCmCopyInternalSimpleObject ( | 329AcpiCmCopyISimpleToIsimple ( |
304 ACPI_OPERAND_OBJECT *SourceObj, 305 ACPI_OPERAND_OBJECT *DestObj); 306 307ACPI_STATUS | 330 ACPI_OPERAND_OBJECT *SourceObj, 331 ACPI_OPERAND_OBJECT *DestObj); 332 333ACPI_STATUS |
308AcpiCmBuildCopyInternalPackageObject ( | 334AcpiCmCopyIpackageToIpackage ( |
309 ACPI_OPERAND_OBJECT *SourceObj, | 335 ACPI_OPERAND_OBJECT *SourceObj, |
310 ACPI_OPERAND_OBJECT *DestObj); | 336 ACPI_OPERAND_OBJECT *DestObj, 337 ACPI_WALK_STATE *WalkState); |
311 312 313/* 314 * CmCreate - Object creation 315 */ 316 317ACPI_STATUS 318AcpiCmUpdateObjectReference ( --- 293 unchanged lines hidden (view full) --- 612AcpiCmCreateGenericState ( 613 void); 614 615ACPI_GENERIC_STATE * 616AcpiCmCreateUpdateState ( 617 ACPI_OPERAND_OBJECT *Object, 618 UINT16 Action); 619 | 338 339 340/* 341 * CmCreate - Object creation 342 */ 343 344ACPI_STATUS 345AcpiCmUpdateObjectReference ( --- 293 unchanged lines hidden (view full) --- 639AcpiCmCreateGenericState ( 640 void); 641 642ACPI_GENERIC_STATE * 643AcpiCmCreateUpdateState ( 644 ACPI_OPERAND_OBJECT *Object, 645 UINT16 Action); 646 |
647ACPI_GENERIC_STATE * 648AcpiCmCreatePkgState ( 649 void *InternalObject, 650 void *ExternalObject, 651 UINT16 Index); 652 |
|
620ACPI_STATUS 621AcpiCmCreateUpdateStateAndPush ( 622 ACPI_OPERAND_OBJECT *Object, 623 UINT16 Action, 624 ACPI_GENERIC_STATE **StateList); 625 | 653ACPI_STATUS 654AcpiCmCreateUpdateStateAndPush ( 655 ACPI_OPERAND_OBJECT *Object, 656 UINT16 Action, 657 ACPI_GENERIC_STATE **StateList); 658 |
659ACPI_STATUS 660AcpiCmCreatePkgStateAndPush ( 661 void *InternalObject, 662 void *ExternalObject, 663 UINT16 Index, 664 ACPI_GENERIC_STATE **StateList); 665 |
|
626ACPI_GENERIC_STATE * 627AcpiCmCreateControlState ( 628 void); 629 630void 631AcpiCmDeleteGenericState ( 632 ACPI_GENERIC_STATE *State); 633 --- 16 unchanged lines hidden (view full) --- 650BOOLEAN 651AcpiCmValidAcpiCharacter ( 652 NATIVE_CHAR Character); 653 654ACPI_STATUS 655AcpiCmResolvePackageReferences ( 656 ACPI_OPERAND_OBJECT *ObjDesc); 657 | 666ACPI_GENERIC_STATE * 667AcpiCmCreateControlState ( 668 void); 669 670void 671AcpiCmDeleteGenericState ( 672 ACPI_GENERIC_STATE *State); 673 --- 16 unchanged lines hidden (view full) --- 690BOOLEAN 691AcpiCmValidAcpiCharacter ( 692 NATIVE_CHAR Character); 693 694ACPI_STATUS 695AcpiCmResolvePackageReferences ( 696 ACPI_OPERAND_OBJECT *ObjDesc); 697 |
698#ifdef ACPI_DEBUG |
|
658 | 699 |
700void 701AcpiCmDisplayInitPathname ( 702 ACPI_HANDLE ObjHandle, 703 char *Path); 704 705#endif 706 707 |
|
659/* 660 * Memory allocation functions and related macros. 661 * Macros that expand to include filename and line number 662 */ 663 664void * 665_CmAllocate ( 666 UINT32 Size, --- 103 unchanged lines hidden --- | 708/* 709 * Memory allocation functions and related macros. 710 * Macros that expand to include filename and line number 711 */ 712 713void * 714_CmAllocate ( 715 UINT32 Size, --- 103 unchanged lines hidden --- |