Print this page
acpica-unix2-20130823
PANKOVs restructure

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sys/acpi/acparser.h
          +++ new/usr/src/common/acpica/include/acparser.h
   1    1  /******************************************************************************
   2    2   *
   3    3   * Module Name: acparser.h - AML Parser subcomponent prototypes and defines
   4    4   *
   5    5   *****************************************************************************/
   6    6  
   7    7  /*
   8      - * Copyright (C) 2000 - 2011, Intel Corp.
        8 + * Copyright (C) 2000 - 2013, Intel Corp.
   9    9   * All rights reserved.
  10   10   *
  11   11   * Redistribution and use in source and binary forms, with or without
  12   12   * modification, are permitted provided that the following conditions
  13   13   * are met:
  14   14   * 1. Redistributions of source code must retain the above copyright
  15   15   *    notice, this list of conditions, and the following disclaimer,
  16   16   *    without modification.
  17   17   * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18   18   *    substantially similar to the "NO WARRANTY" disclaimer below
↓ open down ↓ 103 lines elided ↑ open up ↑
 122  122      ACPI_PARSE_OBJECT       *Scope,
 123  123      UINT32                  Name,
 124  124      UINT32                  Opcode);
 125  125  
 126  126  ACPI_PARSE_OBJECT*
 127  127  AcpiPsGetParent (
 128  128      ACPI_PARSE_OBJECT       *Op);
 129  129  
 130  130  
 131  131  /*
 132      - * psopcode - AML Opcode information
      132 + * psobject - support for parse object processing
 133  133   */
      134 +ACPI_STATUS
      135 +AcpiPsBuildNamedOp (
      136 +    ACPI_WALK_STATE         *WalkState,
      137 +    UINT8                   *AmlOpStart,
      138 +    ACPI_PARSE_OBJECT       *UnnamedOp,
      139 +    ACPI_PARSE_OBJECT       **Op);
      140 +
      141 +ACPI_STATUS
      142 +AcpiPsCreateOp (
      143 +    ACPI_WALK_STATE         *WalkState,
      144 +    UINT8                   *AmlOpStart,
      145 +    ACPI_PARSE_OBJECT       **NewOp);
      146 +
      147 +ACPI_STATUS
      148 +AcpiPsCompleteOp (
      149 +    ACPI_WALK_STATE         *WalkState,
      150 +    ACPI_PARSE_OBJECT       **Op,
      151 +    ACPI_STATUS             Status);
      152 +
      153 +ACPI_STATUS
      154 +AcpiPsCompleteFinalOp (
      155 +    ACPI_WALK_STATE         *WalkState,
      156 +    ACPI_PARSE_OBJECT       *Op,
      157 +    ACPI_STATUS             Status);
      158 +
      159 +
      160 +/*
      161 + * psopinfo - AML Opcode information
      162 + */
 134  163  const ACPI_OPCODE_INFO *
 135  164  AcpiPsGetOpcodeInfo (
 136  165      UINT16                  Opcode);
 137  166  
 138  167  char *
 139  168  AcpiPsGetOpcodeName (
 140  169      UINT16                  Opcode);
 141  170  
 142  171  UINT8
 143  172  AcpiPsGetArgumentCount (
↓ open down ↓ 143 lines elided ↑ open up ↑
 287  316      UINT16                  opcode);
 288  317  
 289  318  void
 290  319  AcpiPsFreeOp (
 291  320      ACPI_PARSE_OBJECT       *Op);
 292  321  
 293  322  BOOLEAN
 294  323  AcpiPsIsLeadingChar (
 295  324      UINT32                  c);
 296  325  
 297      -BOOLEAN
 298      -AcpiPsIsPrefixChar (
 299      -    UINT32                  c);
 300      -
 301  326  UINT32
 302  327  AcpiPsGetName(
 303  328      ACPI_PARSE_OBJECT       *op);
 304  329  
 305  330  void
 306  331  AcpiPsSetName(
 307  332      ACPI_PARSE_OBJECT       *op,
 308  333      UINT32                  name);
 309  334  
 310  335  
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX