Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure
   1 /*******************************************************************************
   2  *
   3  * Module Name: nsobject - Utilities for objects attached to namespace
   4  *                         table entries
   5  *
   6  ******************************************************************************/
   7 
   8 /*
   9  * Copyright (C) 2000 - 2011, Intel Corp.
  10  * All rights reserved.
  11  *
  12  * Redistribution and use in source and binary forms, with or without
  13  * modification, are permitted provided that the following conditions
  14  * are met:
  15  * 1. Redistributions of source code must retain the above copyright
  16  *    notice, this list of conditions, and the following disclaimer,
  17  *    without modification.
  18  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  19  *    substantially similar to the "NO WARRANTY" disclaimer below
  20  *    ("Disclaimer") and any redistribution must be conditioned upon
  21  *    including a substantially similar Disclaimer requirement for further
  22  *    binary redistribution.
  23  * 3. Neither the names of the above-listed copyright holders nor the names
  24  *    of any contributors may be used to endorse or promote products derived
  25  *    from this software without specific prior written permission.
  26  *
  27  * Alternatively, this software may be distributed under the terms of the
  28  * GNU General Public License ("GPL") version 2 as published by the Free
  29  * Software Foundation.


 484     void                    **Data)
 485 {
 486     ACPI_OPERAND_OBJECT     *ObjDesc;
 487 
 488 
 489     ObjDesc = Node->Object;
 490     while (ObjDesc)
 491     {
 492         if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA) &&
 493             (ObjDesc->Data.Handler == Handler))
 494         {
 495             *Data = ObjDesc->Data.Pointer;
 496             return (AE_OK);
 497         }
 498 
 499         ObjDesc = ObjDesc->Common.NextObject;
 500     }
 501 
 502     return (AE_NOT_FOUND);
 503 }
 504 
 505 
   1 /*******************************************************************************
   2  *
   3  * Module Name: nsobject - Utilities for objects attached to namespace
   4  *                         table entries
   5  *
   6  ******************************************************************************/
   7 
   8 /*
   9  * Copyright (C) 2000 - 2014, Intel Corp.
  10  * All rights reserved.
  11  *
  12  * Redistribution and use in source and binary forms, with or without
  13  * modification, are permitted provided that the following conditions
  14  * are met:
  15  * 1. Redistributions of source code must retain the above copyright
  16  *    notice, this list of conditions, and the following disclaimer,
  17  *    without modification.
  18  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  19  *    substantially similar to the "NO WARRANTY" disclaimer below
  20  *    ("Disclaimer") and any redistribution must be conditioned upon
  21  *    including a substantially similar Disclaimer requirement for further
  22  *    binary redistribution.
  23  * 3. Neither the names of the above-listed copyright holders nor the names
  24  *    of any contributors may be used to endorse or promote products derived
  25  *    from this software without specific prior written permission.
  26  *
  27  * Alternatively, this software may be distributed under the terms of the
  28  * GNU General Public License ("GPL") version 2 as published by the Free
  29  * Software Foundation.


 484     void                    **Data)
 485 {
 486     ACPI_OPERAND_OBJECT     *ObjDesc;
 487 
 488 
 489     ObjDesc = Node->Object;
 490     while (ObjDesc)
 491     {
 492         if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_DATA) &&
 493             (ObjDesc->Data.Handler == Handler))
 494         {
 495             *Data = ObjDesc->Data.Pointer;
 496             return (AE_OK);
 497         }
 498 
 499         ObjDesc = ObjDesc->Common.NextObject;
 500     }
 501 
 502     return (AE_NOT_FOUND);
 503 }