Deleted Added
sdiff udiff text old ( 193529 ) new ( 200553 )
full compact
1/******************************************************************************
2 *
3 * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing
4 * parents and siblings and Scope manipulation
5 *
6 *****************************************************************************/
7
8/******************************************************************************

--- 843 unchanged lines hidden (view full) ---

852 }
853
854 return_ACPI_STATUS (AE_OK);
855}
856
857
858/*******************************************************************************
859 *
860 * FUNCTION: AcpiNsValidateHandle
861 *
862 * PARAMETERS: Handle - Handle to be validated and typecast to a
863 * namespace node.
864 *
865 * RETURN: A pointer to a namespace node
866 *
867 * DESCRIPTION: Convert a namespace handle to a namespace node. Handles special
868 * cases for the root node.
869 *
870 * NOTE: Real integer handles would allow for more verification
871 * and keep all pointers within this subsystem - however this introduces
872 * more overhead and has not been necessary to this point. Drivers
873 * holding handles are typically notified before a node becomes invalid
874 * due to a table unload.
875 *
876 ******************************************************************************/
877
878ACPI_NAMESPACE_NODE *
879AcpiNsValidateHandle (
880 ACPI_HANDLE Handle)
881{
882
883 ACPI_FUNCTION_ENTRY ();
884
885
886 /* Parameter validation */
887

--- 10 unchanged lines hidden (view full) ---

898 }
899
900 return (ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Handle));
901}
902
903
904/*******************************************************************************
905 *
906 * FUNCTION: AcpiNsTerminate
907 *
908 * PARAMETERS: none
909 *
910 * RETURN: none
911 *
912 * DESCRIPTION: free memory allocated for namespace and ACPI table storage.
913 *

--- 271 unchanged lines hidden ---