Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1498 | Rev 2216 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | 7 | ||
8 | /****************************************************************************** |
8 | /****************************************************************************** |
9 | * |
9 | * |
10 | * 1. Copyright Notice |
10 | * 1. Copyright Notice |
11 | * |
11 | * |
12 | * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp. |
12 | * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp. |
13 | * All rights reserved. |
13 | * All rights reserved. |
14 | * |
14 | * |
15 | * 2. License |
15 | * 2. License |
16 | * |
16 | * |
Line 736... | Line 736... | ||
736 | MethodObj->Method.AmlLength = AmlLength; |
736 | MethodObj->Method.AmlLength = AmlLength; |
Line 737... | Line 737... | ||
737 | 737 | ||
738 | MethodObj->Method.ParamCount = (UINT8) |
738 | MethodObj->Method.ParamCount = (UINT8) |
Line 739... | Line -... | ||
739 | (MethodFlags & AML_METHOD_ARG_COUNT); |
- | |
740 | - | ||
741 | MethodObj->Method.MethodFlags = (UINT8) |
- | |
742 | (MethodFlags & ~AML_METHOD_ARG_COUNT); |
739 | (MethodFlags & AML_METHOD_ARG_COUNT); |
743 | 740 | ||
- | 741 | if (MethodFlags & AML_METHOD_SERIALIZED) |
|
- | 742 | { |
|
744 | if (MethodFlags & AML_METHOD_SERIALIZED) |
743 | MethodObj->Method.InfoFlags = ACPI_METHOD_SERIALIZED; |
745 | { |
744 | |
746 | MethodObj->Method.SyncLevel = (UINT8) |
745 | MethodObj->Method.SyncLevel = (UINT8) |
Line 747... | Line 746... | ||
747 | ((MethodFlags & AML_METHOD_SYNC_LEVEL) >> 4); |
746 | ((MethodFlags & AML_METHOD_SYNC_LEVEL) >> 4); |
748 | } |
747 | } |
749 | 748 | ||
750 | /* |
749 | /* |
751 | * Now that it is complete, we can attach the new method object to |
750 | * Now that it is complete, we can attach the new method object to |
752 | * the method Node (detaches/deletes any existing object) |
- | |
Line 753... | Line 751... | ||
753 | */ |
751 | * the method Node (detaches/deletes any existing object) |
754 | Status = AcpiNsAttachObject (Node, MethodObj, |
752 | */ |
755 | ACPI_TYPE_METHOD); |
753 | Status = AcpiNsAttachObject (Node, MethodObj, ACPI_TYPE_METHOD); |
756 | 754 |