110915Sandreas.sandberg@arm.com
210915Sandreas.sandberg@arm.com                                 Apache License
310915Sandreas.sandberg@arm.com                           Version 2.0, January 2004
410915Sandreas.sandberg@arm.com                        http://www.apache.org/licenses/
510915Sandreas.sandberg@arm.com
610915Sandreas.sandberg@arm.com   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
710915Sandreas.sandberg@arm.com
810915Sandreas.sandberg@arm.com   1. Definitions.
910915Sandreas.sandberg@arm.com
1010915Sandreas.sandberg@arm.com      "License" shall mean the terms and conditions for use, reproduction,
1110915Sandreas.sandberg@arm.com      and distribution as defined by Sections 1 through 9 of this document.
1210915Sandreas.sandberg@arm.com
1310915Sandreas.sandberg@arm.com      "Licensor" shall mean the copyright owner or entity authorized by
1410915Sandreas.sandberg@arm.com      the copyright owner that is granting the License.
1510915Sandreas.sandberg@arm.com
1610915Sandreas.sandberg@arm.com      "Legal Entity" shall mean the union of the acting entity and all
1710915Sandreas.sandberg@arm.com      other entities that control, are controlled by, or are under common
1810915Sandreas.sandberg@arm.com      control with that entity. For the purposes of this definition,
1910915Sandreas.sandberg@arm.com      "control" means (i) the power, direct or indirect, to cause the
2010915Sandreas.sandberg@arm.com      direction or management of such entity, whether by contract or
2110915Sandreas.sandberg@arm.com      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2210915Sandreas.sandberg@arm.com      outstanding shares, or (iii) beneficial ownership of such entity.
2310915Sandreas.sandberg@arm.com
2410915Sandreas.sandberg@arm.com      "You" (or "Your") shall mean an individual or Legal Entity
2510915Sandreas.sandberg@arm.com      exercising permissions granted by this License.
2610915Sandreas.sandberg@arm.com
2710915Sandreas.sandberg@arm.com      "Source" form shall mean the preferred form for making modifications,
2810915Sandreas.sandberg@arm.com      including but not limited to software source code, documentation
2910915Sandreas.sandberg@arm.com      source, and configuration files.
3010915Sandreas.sandberg@arm.com
3110915Sandreas.sandberg@arm.com      "Object" form shall mean any form resulting from mechanical
3210915Sandreas.sandberg@arm.com      transformation or translation of a Source form, including but
3310915Sandreas.sandberg@arm.com      not limited to compiled object code, generated documentation,
3410915Sandreas.sandberg@arm.com      and conversions to other media types.
3510915Sandreas.sandberg@arm.com
3610915Sandreas.sandberg@arm.com      "Work" shall mean the work of authorship, whether in Source or
3710915Sandreas.sandberg@arm.com      Object form, made available under the License, as indicated by a
3810915Sandreas.sandberg@arm.com      copyright notice that is included in or attached to the work
3910915Sandreas.sandberg@arm.com      (an example is provided in the Appendix below).
4010915Sandreas.sandberg@arm.com
4110915Sandreas.sandberg@arm.com      "Derivative Works" shall mean any work, whether in Source or Object
4210915Sandreas.sandberg@arm.com      form, that is based on (or derived from) the Work and for which the
4310915Sandreas.sandberg@arm.com      editorial revisions, annotations, elaborations, or other modifications
4410915Sandreas.sandberg@arm.com      represent, as a whole, an original work of authorship. For the purposes
4510915Sandreas.sandberg@arm.com      of this License, Derivative Works shall not include works that remain
4610915Sandreas.sandberg@arm.com      separable from, or merely link (or bind by name) to the interfaces of,
4710915Sandreas.sandberg@arm.com      the Work and Derivative Works thereof.
4810915Sandreas.sandberg@arm.com
4910915Sandreas.sandberg@arm.com      "Contribution" shall mean any work of authorship, including
5010915Sandreas.sandberg@arm.com      the original version of the Work and any modifications or additions
5110915Sandreas.sandberg@arm.com      to that Work or Derivative Works thereof, that is intentionally
5210915Sandreas.sandberg@arm.com      submitted to Licensor for inclusion in the Work by the copyright owner
5310915Sandreas.sandberg@arm.com      or by an individual or Legal Entity authorized to submit on behalf of
5410915Sandreas.sandberg@arm.com      the copyright owner. For the purposes of this definition, "submitted"
5510915Sandreas.sandberg@arm.com      means any form of electronic, verbal, or written communication sent
5610915Sandreas.sandberg@arm.com      to the Licensor or its representatives, including but not limited to
5710915Sandreas.sandberg@arm.com      communication on electronic mailing lists, source code control systems,
5810915Sandreas.sandberg@arm.com      and issue tracking systems that are managed by, or on behalf of, the
5910915Sandreas.sandberg@arm.com      Licensor for the purpose of discussing and improving the Work, but
6010915Sandreas.sandberg@arm.com      excluding communication that is conspicuously marked or otherwise
6110915Sandreas.sandberg@arm.com      designated in writing by the copyright owner as "Not a Contribution."
6210915Sandreas.sandberg@arm.com
6310915Sandreas.sandberg@arm.com      "Contributor" shall mean Licensor and any individual or Legal Entity
6410915Sandreas.sandberg@arm.com      on behalf of whom a Contribution has been received by Licensor and
6510915Sandreas.sandberg@arm.com      subsequently incorporated within the Work.
6610915Sandreas.sandberg@arm.com
6710915Sandreas.sandberg@arm.com   2. Grant of Copyright License. Subject to the terms and conditions of
6810915Sandreas.sandberg@arm.com      this License, each Contributor hereby grants to You a perpetual,
6910915Sandreas.sandberg@arm.com      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7010915Sandreas.sandberg@arm.com      copyright license to reproduce, prepare Derivative Works of,
7110915Sandreas.sandberg@arm.com      publicly display, publicly perform, sublicense, and distribute the
7210915Sandreas.sandberg@arm.com      Work and such Derivative Works in Source or Object form.
7310915Sandreas.sandberg@arm.com
7410915Sandreas.sandberg@arm.com   3. Grant of Patent License. Subject to the terms and conditions of
7510915Sandreas.sandberg@arm.com      this License, each Contributor hereby grants to You a perpetual,
7610915Sandreas.sandberg@arm.com      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7710915Sandreas.sandberg@arm.com      (except as stated in this section) patent license to make, have made,
7810915Sandreas.sandberg@arm.com      use, offer to sell, sell, import, and otherwise transfer the Work,
7910915Sandreas.sandberg@arm.com      where such license applies only to those patent claims licensable
8010915Sandreas.sandberg@arm.com      by such Contributor that are necessarily infringed by their
8110915Sandreas.sandberg@arm.com      Contribution(s) alone or by combination of their Contribution(s)
8210915Sandreas.sandberg@arm.com      with the Work to which such Contribution(s) was submitted. If You
8310915Sandreas.sandberg@arm.com      institute patent litigation against any entity (including a
8410915Sandreas.sandberg@arm.com      cross-claim or counterclaim in a lawsuit) alleging that the Work
8510915Sandreas.sandberg@arm.com      or a Contribution incorporated within the Work constitutes direct
8610915Sandreas.sandberg@arm.com      or contributory patent infringement, then any patent licenses
8710915Sandreas.sandberg@arm.com      granted to You under this License for that Work shall terminate
8810915Sandreas.sandberg@arm.com      as of the date such litigation is filed.
8910915Sandreas.sandberg@arm.com
9010915Sandreas.sandberg@arm.com   4. Redistribution. You may reproduce and distribute copies of the
9110915Sandreas.sandberg@arm.com      Work or Derivative Works thereof in any medium, with or without
9210915Sandreas.sandberg@arm.com      modifications, and in Source or Object form, provided that You
9310915Sandreas.sandberg@arm.com      meet the following conditions:
9410915Sandreas.sandberg@arm.com
9510915Sandreas.sandberg@arm.com      (a) You must give any other recipients of the Work or
9610915Sandreas.sandberg@arm.com          Derivative Works a copy of this License; and
9710915Sandreas.sandberg@arm.com
9810915Sandreas.sandberg@arm.com      (b) You must cause any modified files to carry prominent notices
9910915Sandreas.sandberg@arm.com          stating that You changed the files; and
10010915Sandreas.sandberg@arm.com
10110915Sandreas.sandberg@arm.com      (c) You must retain, in the Source form of any Derivative Works
10210915Sandreas.sandberg@arm.com          that You distribute, all copyright, patent, trademark, and
10310915Sandreas.sandberg@arm.com          attribution notices from the Source form of the Work,
10410915Sandreas.sandberg@arm.com          excluding those notices that do not pertain to any part of
10510915Sandreas.sandberg@arm.com          the Derivative Works; and
10610915Sandreas.sandberg@arm.com
10710915Sandreas.sandberg@arm.com      (d) If the Work includes a "NOTICE" text file as part of its
10810915Sandreas.sandberg@arm.com          distribution, then any Derivative Works that You distribute must
10910915Sandreas.sandberg@arm.com          include a readable copy of the attribution notices contained
11010915Sandreas.sandberg@arm.com          within such NOTICE file, excluding those notices that do not
11110915Sandreas.sandberg@arm.com          pertain to any part of the Derivative Works, in at least one
11210915Sandreas.sandberg@arm.com          of the following places: within a NOTICE text file distributed
11310915Sandreas.sandberg@arm.com          as part of the Derivative Works; within the Source form or
11410915Sandreas.sandberg@arm.com          documentation, if provided along with the Derivative Works; or,
11510915Sandreas.sandberg@arm.com          within a display generated by the Derivative Works, if and
11610915Sandreas.sandberg@arm.com          wherever such third-party notices normally appear. The contents
11710915Sandreas.sandberg@arm.com          of the NOTICE file are for informational purposes only and
11810915Sandreas.sandberg@arm.com          do not modify the License. You may add Your own attribution
11910915Sandreas.sandberg@arm.com          notices within Derivative Works that You distribute, alongside
12010915Sandreas.sandberg@arm.com          or as an addendum to the NOTICE text from the Work, provided
12110915Sandreas.sandberg@arm.com          that such additional attribution notices cannot be construed
12210915Sandreas.sandberg@arm.com          as modifying the License.
12310915Sandreas.sandberg@arm.com
12410915Sandreas.sandberg@arm.com      You may add Your own copyright statement to Your modifications and
12510915Sandreas.sandberg@arm.com      may provide additional or different license terms and conditions
12610915Sandreas.sandberg@arm.com      for use, reproduction, or distribution of Your modifications, or
12710915Sandreas.sandberg@arm.com      for any such Derivative Works as a whole, provided Your use,
12810915Sandreas.sandberg@arm.com      reproduction, and distribution of the Work otherwise complies with
12910915Sandreas.sandberg@arm.com      the conditions stated in this License.
13010915Sandreas.sandberg@arm.com
13110915Sandreas.sandberg@arm.com   5. Submission of Contributions. Unless You explicitly state otherwise,
13210915Sandreas.sandberg@arm.com      any Contribution intentionally submitted for inclusion in the Work
13310915Sandreas.sandberg@arm.com      by You to the Licensor shall be under the terms and conditions of
13410915Sandreas.sandberg@arm.com      this License, without any additional terms or conditions.
13510915Sandreas.sandberg@arm.com      Notwithstanding the above, nothing herein shall supersede or modify
13610915Sandreas.sandberg@arm.com      the terms of any separate license agreement you may have executed
13710915Sandreas.sandberg@arm.com      with Licensor regarding such Contributions.
13810915Sandreas.sandberg@arm.com
13910915Sandreas.sandberg@arm.com   6. Trademarks. This License does not grant permission to use the trade
14010915Sandreas.sandberg@arm.com      names, trademarks, service marks, or product names of the Licensor,
14110915Sandreas.sandberg@arm.com      except as required for reasonable and customary use in describing the
14210915Sandreas.sandberg@arm.com      origin of the Work and reproducing the content of the NOTICE file.
14310915Sandreas.sandberg@arm.com
14410915Sandreas.sandberg@arm.com   7. Disclaimer of Warranty. Unless required by applicable law or
14510915Sandreas.sandberg@arm.com      agreed to in writing, Licensor provides the Work (and each
14610915Sandreas.sandberg@arm.com      Contributor provides its Contributions) on an "AS IS" BASIS,
14710915Sandreas.sandberg@arm.com      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14810915Sandreas.sandberg@arm.com      implied, including, without limitation, any warranties or conditions
14910915Sandreas.sandberg@arm.com      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
15010915Sandreas.sandberg@arm.com      PARTICULAR PURPOSE. You are solely responsible for determining the
15110915Sandreas.sandberg@arm.com      appropriateness of using or redistributing the Work and assume any
15210915Sandreas.sandberg@arm.com      risks associated with Your exercise of permissions under this License.
15310915Sandreas.sandberg@arm.com
15410915Sandreas.sandberg@arm.com   8. Limitation of Liability. In no event and under no legal theory,
15510915Sandreas.sandberg@arm.com      whether in tort (including negligence), contract, or otherwise,
15610915Sandreas.sandberg@arm.com      unless required by applicable law (such as deliberate and grossly
15710915Sandreas.sandberg@arm.com      negligent acts) or agreed to in writing, shall any Contributor be
15810915Sandreas.sandberg@arm.com      liable to You for damages, including any direct, indirect, special,
15910915Sandreas.sandberg@arm.com      incidental, or consequential damages of any character arising as a
16010915Sandreas.sandberg@arm.com      result of this License or out of the use or inability to use the
16110915Sandreas.sandberg@arm.com      Work (including but not limited to damages for loss of goodwill,
16210915Sandreas.sandberg@arm.com      work stoppage, computer failure or malfunction, or any and all
16310915Sandreas.sandberg@arm.com      other commercial damages or losses), even if such Contributor
16410915Sandreas.sandberg@arm.com      has been advised of the possibility of such damages.
16510915Sandreas.sandberg@arm.com
16610915Sandreas.sandberg@arm.com   9. Accepting Warranty or Additional Liability. While redistributing
16710915Sandreas.sandberg@arm.com      the Work or Derivative Works thereof, You may choose to offer,
16810915Sandreas.sandberg@arm.com      and charge a fee for, acceptance of support, warranty, indemnity,
16910915Sandreas.sandberg@arm.com      or other liability obligations and/or rights consistent with this
17010915Sandreas.sandberg@arm.com      License. However, in accepting such obligations, You may act only
17110915Sandreas.sandberg@arm.com      on Your own behalf and on Your sole responsibility, not on behalf
17210915Sandreas.sandberg@arm.com      of any other Contributor, and only if You agree to indemnify,
17310915Sandreas.sandberg@arm.com      defend, and hold each Contributor harmless for any liability
17410915Sandreas.sandberg@arm.com      incurred by, or claims asserted against, such Contributor by reason
17510915Sandreas.sandberg@arm.com      of your accepting any such warranty or additional liability.
17610915Sandreas.sandberg@arm.com
17710915Sandreas.sandberg@arm.com   END OF TERMS AND CONDITIONS
17810915Sandreas.sandberg@arm.com
17910915Sandreas.sandberg@arm.com   APPENDIX: How to apply the Apache License to your work.
18010915Sandreas.sandberg@arm.com
18110915Sandreas.sandberg@arm.com      To apply the Apache License to your work, attach the following
18210915Sandreas.sandberg@arm.com      boilerplate notice, with the fields enclosed by brackets "[]"
18310915Sandreas.sandberg@arm.com      replaced with your own identifying information. (Don't include
18410915Sandreas.sandberg@arm.com      the brackets!)  The text should be enclosed in the appropriate
18510915Sandreas.sandberg@arm.com      comment syntax for the file format. We also recommend that a
18610915Sandreas.sandberg@arm.com      file or class name and description of purpose be included on the
18710915Sandreas.sandberg@arm.com      same "printed page" as the copyright notice for easier
18810915Sandreas.sandberg@arm.com      identification within third-party archives.
18910915Sandreas.sandberg@arm.com
19010915Sandreas.sandberg@arm.com   Copyright [yyyy] [name of copyright owner]
19110915Sandreas.sandberg@arm.com
19210915Sandreas.sandberg@arm.com   Licensed under the Apache License, Version 2.0 (the "License");
19310915Sandreas.sandberg@arm.com   you may not use this file except in compliance with the License.
19410915Sandreas.sandberg@arm.com   You may obtain a copy of the License at
19510915Sandreas.sandberg@arm.com
19610915Sandreas.sandberg@arm.com       http://www.apache.org/licenses/LICENSE-2.0
19710915Sandreas.sandberg@arm.com
19810915Sandreas.sandberg@arm.com   Unless required by applicable law or agreed to in writing, software
19910915Sandreas.sandberg@arm.com   distributed under the License is distributed on an "AS IS" BASIS,
20010915Sandreas.sandberg@arm.com   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20110915Sandreas.sandberg@arm.com   See the License for the specific language governing permissions and
20210915Sandreas.sandberg@arm.com   limitations under the License.
203