Deleted Added
full compact
4c4
< * $Revision: 52 $
---
> * $Revision: 56 $
133d132
<
751a751,790
> * FUNCTION: AcpiUtCreateThreadState
> *
> * PARAMETERS: None
> *
> * RETURN: Thread State
> *
> * DESCRIPTION: Create a "Thread State" - a flavor of the generic state used
> * to track per-thread info during method execution
> *
> ******************************************************************************/
>
> ACPI_THREAD_STATE *
> AcpiUtCreateThreadState (
> void)
> {
> ACPI_GENERIC_STATE *State;
>
>
> FUNCTION_TRACE ("UtCreateThreadState");
>
>
> /* Create the generic state object */
>
> State = AcpiUtCreateGenericState ();
> if (!State)
> {
> return_PTR (NULL);
> }
>
> /* Init fields specific to the update struct */
>
> State->Common.DataType = ACPI_DESC_TYPE_STATE_THREAD;
> State->Thread.ThreadId = AcpiOsGetThreadId ();
>
> return_PTR ((ACPI_THREAD_STATE *) State);
> }
>
>
> /*******************************************************************************
> *
782c821
< return (NULL);
---
> return_PTR (NULL);
826c865
< return (NULL);
---
> return_PTR (NULL);
869c908
< return (NULL);
---
> return_PTR (NULL);
1080c1119
< * Check for
---
> * Check for:
1098,1099d1136
< /* TBD: must delete package created up to this point */
<
1116d1152
<
1136d1171
<
1139c1174
< /* This is a sub-object of type package */
---
> /* This is a subobject of type package */
1145,1146d1179
< /* TBD: must delete package created up to this point */
<
1150d1182
<
1151a1184
> * Push the current state and create a new one
1154,1157d1186
<
< /*
< * Push the current state and create a new one
< */
1163,1164d1191
< /* TBD: must delete package created up to this point */
<
1172c1199
< return (AE_AML_INTERNAL);
---
> return_ACPI_STATUS (AE_AML_INTERNAL);