Print this page
acpica-unix2-20130823
PANKOVs restructure
   1 /******************************************************************************
   2  *
   3  * Name: acinterp.h - Interpreter subcomponent prototypes and defines
   4  *
   5  *****************************************************************************/
   6 
   7 /*
   8  * Copyright (C) 2000 - 2011, 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.
  17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18  *    substantially similar to the "NO WARRANTY" disclaimer below
  19  *    ("Disclaimer") and any redistribution must be conditioned upon
  20  *    including a substantially similar Disclaimer requirement for further
  21  *    binary redistribution.
  22  * 3. Neither the names of the above-listed copyright holders nor the names
  23  *    of any contributors may be used to endorse or promote products derived
  24  *    from this software without specific prior written permission.
  25  *
  26  * Alternatively, this software may be distributed under the terms of the
  27  * GNU General Public License ("GPL") version 2 as published by the Free
  28  * Software Foundation.


 603 
 604 /*
 605  * exutils - interpreter/scanner utilities
 606  */
 607 void
 608 AcpiExEnterInterpreter (
 609     void);
 610 
 611 void
 612 AcpiExExitInterpreter (
 613     void);
 614 
 615 void
 616 AcpiExReacquireInterpreter (
 617     void);
 618 
 619 void
 620 AcpiExRelinquishInterpreter (
 621     void);
 622 
 623 void
 624 AcpiExTruncateFor32bitTable (
 625     ACPI_OPERAND_OBJECT     *ObjDesc);
 626 
 627 void
 628 AcpiExAcquireGlobalLock (
 629     UINT32                  Rule);
 630 
 631 void
 632 AcpiExReleaseGlobalLock (
 633     UINT32                  Rule);
 634 
 635 void
 636 AcpiExEisaIdToString (
 637     char                    *Dest,
 638     UINT64                  CompressedId);
 639 
 640 void
 641 AcpiExIntegerToString (
 642     char                    *Dest,
 643     UINT64                  Value);
 644 



 645 

 646 /*
 647  * exregion - default OpRegion handlers
 648  */
 649 ACPI_STATUS
 650 AcpiExSystemMemorySpaceHandler (
 651     UINT32                  Function,
 652     ACPI_PHYSICAL_ADDRESS   Address,
 653     UINT32                  BitWidth,
 654     UINT64                  *Value,
 655     void                    *HandlerContext,
 656     void                    *RegionContext);
 657 
 658 ACPI_STATUS
 659 AcpiExSystemIoSpaceHandler (
 660     UINT32                  Function,
 661     ACPI_PHYSICAL_ADDRESS   Address,
 662     UINT32                  BitWidth,
 663     UINT64                  *Value,
 664     void                    *HandlerContext,
 665     void                    *RegionContext);


   1 /******************************************************************************
   2  *
   3  * Name: acinterp.h - Interpreter subcomponent prototypes and defines
   4  *
   5  *****************************************************************************/
   6 
   7 /*
   8  * Copyright (C) 2000 - 2013, 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.
  17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18  *    substantially similar to the "NO WARRANTY" disclaimer below
  19  *    ("Disclaimer") and any redistribution must be conditioned upon
  20  *    including a substantially similar Disclaimer requirement for further
  21  *    binary redistribution.
  22  * 3. Neither the names of the above-listed copyright holders nor the names
  23  *    of any contributors may be used to endorse or promote products derived
  24  *    from this software without specific prior written permission.
  25  *
  26  * Alternatively, this software may be distributed under the terms of the
  27  * GNU General Public License ("GPL") version 2 as published by the Free
  28  * Software Foundation.


 603 
 604 /*
 605  * exutils - interpreter/scanner utilities
 606  */
 607 void
 608 AcpiExEnterInterpreter (
 609     void);
 610 
 611 void
 612 AcpiExExitInterpreter (
 613     void);
 614 
 615 void
 616 AcpiExReacquireInterpreter (
 617     void);
 618 
 619 void
 620 AcpiExRelinquishInterpreter (
 621     void);
 622 
 623 BOOLEAN
 624 AcpiExTruncateFor32bitTable (
 625     ACPI_OPERAND_OBJECT     *ObjDesc);
 626 
 627 void
 628 AcpiExAcquireGlobalLock (
 629     UINT32                  Rule);
 630 
 631 void
 632 AcpiExReleaseGlobalLock (
 633     UINT32                  Rule);
 634 
 635 void
 636 AcpiExEisaIdToString (
 637     char                    *Dest,
 638     UINT64                  CompressedId);
 639 
 640 void
 641 AcpiExIntegerToString (
 642     char                    *Dest,
 643     UINT64                  Value);
 644 
 645 BOOLEAN
 646 AcpiIsValidSpaceId (
 647     UINT8                   SpaceId);
 648 
 649 
 650 /*
 651  * exregion - default OpRegion handlers
 652  */
 653 ACPI_STATUS
 654 AcpiExSystemMemorySpaceHandler (
 655     UINT32                  Function,
 656     ACPI_PHYSICAL_ADDRESS   Address,
 657     UINT32                  BitWidth,
 658     UINT64                  *Value,
 659     void                    *HandlerContext,
 660     void                    *RegionContext);
 661 
 662 ACPI_STATUS
 663 AcpiExSystemIoSpaceHandler (
 664     UINT32                  Function,
 665     ACPI_PHYSICAL_ADDRESS   Address,
 666     UINT32                  BitWidth,
 667     UINT64                  *Value,
 668     void                    *HandlerContext,
 669     void                    *RegionContext);