113481Sgiacomo.travaglini@arm.com
213481Sgiacomo.travaglini@arm.com                                 Apache License
313481Sgiacomo.travaglini@arm.com                           Version 2.0, January 2004
413481Sgiacomo.travaglini@arm.com                        http://www.apache.org/licenses/
513481Sgiacomo.travaglini@arm.com
613481Sgiacomo.travaglini@arm.com   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
713481Sgiacomo.travaglini@arm.com
813481Sgiacomo.travaglini@arm.com   1. Definitions.
913481Sgiacomo.travaglini@arm.com
1013481Sgiacomo.travaglini@arm.com      "License" shall mean the terms and conditions for use, reproduction,
1113481Sgiacomo.travaglini@arm.com      and distribution as defined by Sections 1 through 9 of this document.
1213481Sgiacomo.travaglini@arm.com
1313481Sgiacomo.travaglini@arm.com      "Licensor" shall mean the copyright owner or entity authorized by
1413481Sgiacomo.travaglini@arm.com      the copyright owner that is granting the License.
1513481Sgiacomo.travaglini@arm.com
1613481Sgiacomo.travaglini@arm.com      "Legal Entity" shall mean the union of the acting entity and all
1713481Sgiacomo.travaglini@arm.com      other entities that control, are controlled by, or are under common
1813481Sgiacomo.travaglini@arm.com      control with that entity. For the purposes of this definition,
1913481Sgiacomo.travaglini@arm.com      "control" means (i) the power, direct or indirect, to cause the
2013481Sgiacomo.travaglini@arm.com      direction or management of such entity, whether by contract or
2113481Sgiacomo.travaglini@arm.com      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2213481Sgiacomo.travaglini@arm.com      outstanding shares, or (iii) beneficial ownership of such entity.
2313481Sgiacomo.travaglini@arm.com
2413481Sgiacomo.travaglini@arm.com      "You" (or "Your") shall mean an individual or Legal Entity
2513481Sgiacomo.travaglini@arm.com      exercising permissions granted by this License.
2613481Sgiacomo.travaglini@arm.com
2713481Sgiacomo.travaglini@arm.com      "Source" form shall mean the preferred form for making modifications,
2813481Sgiacomo.travaglini@arm.com      including but not limited to software source code, documentation
2913481Sgiacomo.travaglini@arm.com      source, and configuration files.
3013481Sgiacomo.travaglini@arm.com
3113481Sgiacomo.travaglini@arm.com      "Object" form shall mean any form resulting from mechanical
3213481Sgiacomo.travaglini@arm.com      transformation or translation of a Source form, including but
3313481Sgiacomo.travaglini@arm.com      not limited to compiled object code, generated documentation,
3413481Sgiacomo.travaglini@arm.com      and conversions to other media types.
3513481Sgiacomo.travaglini@arm.com
3613481Sgiacomo.travaglini@arm.com      "Work" shall mean the work of authorship, whether in Source or
3713481Sgiacomo.travaglini@arm.com      Object form, made available under the License, as indicated by a
3813481Sgiacomo.travaglini@arm.com      copyright notice that is included in or attached to the work
3913481Sgiacomo.travaglini@arm.com      (an example is provided in the Appendix below).
4013481Sgiacomo.travaglini@arm.com
4113481Sgiacomo.travaglini@arm.com      "Derivative Works" shall mean any work, whether in Source or Object
4213481Sgiacomo.travaglini@arm.com      form, that is based on (or derived from) the Work and for which the
4313481Sgiacomo.travaglini@arm.com      editorial revisions, annotations, elaborations, or other modifications
4413481Sgiacomo.travaglini@arm.com      represent, as a whole, an original work of authorship. For the purposes
4513481Sgiacomo.travaglini@arm.com      of this License, Derivative Works shall not include works that remain
4613481Sgiacomo.travaglini@arm.com      separable from, or merely link (or bind by name) to the interfaces of,
4713481Sgiacomo.travaglini@arm.com      the Work and Derivative Works thereof.
4813481Sgiacomo.travaglini@arm.com
4913481Sgiacomo.travaglini@arm.com      "Contribution" shall mean any work of authorship, including
5013481Sgiacomo.travaglini@arm.com      the original version of the Work and any modifications or additions
5113481Sgiacomo.travaglini@arm.com      to that Work or Derivative Works thereof, that is intentionally
5213481Sgiacomo.travaglini@arm.com      submitted to Licensor for inclusion in the Work by the copyright owner
5313481Sgiacomo.travaglini@arm.com      or by an individual or Legal Entity authorized to submit on behalf of
5413481Sgiacomo.travaglini@arm.com      the copyright owner. For the purposes of this definition, "submitted"
5513481Sgiacomo.travaglini@arm.com      means any form of electronic, verbal, or written communication sent
5613481Sgiacomo.travaglini@arm.com      to the Licensor or its representatives, including but not limited to
5713481Sgiacomo.travaglini@arm.com      communication on electronic mailing lists, source code control systems,
5813481Sgiacomo.travaglini@arm.com      and issue tracking systems that are managed by, or on behalf of, the
5913481Sgiacomo.travaglini@arm.com      Licensor for the purpose of discussing and improving the Work, but
6013481Sgiacomo.travaglini@arm.com      excluding communication that is conspicuously marked or otherwise
6113481Sgiacomo.travaglini@arm.com      designated in writing by the copyright owner as "Not a Contribution."
6213481Sgiacomo.travaglini@arm.com
6313481Sgiacomo.travaglini@arm.com      "Contributor" shall mean Licensor and any individual or Legal Entity
6413481Sgiacomo.travaglini@arm.com      on behalf of whom a Contribution has been received by Licensor and
6513481Sgiacomo.travaglini@arm.com      subsequently incorporated within the Work.
6613481Sgiacomo.travaglini@arm.com
6713481Sgiacomo.travaglini@arm.com   2. Grant of Copyright License. Subject to the terms and conditions of
6813481Sgiacomo.travaglini@arm.com      this License, each Contributor hereby grants to You a perpetual,
6913481Sgiacomo.travaglini@arm.com      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7013481Sgiacomo.travaglini@arm.com      copyright license to reproduce, prepare Derivative Works of,
7113481Sgiacomo.travaglini@arm.com      publicly display, publicly perform, sublicense, and distribute the
7213481Sgiacomo.travaglini@arm.com      Work and such Derivative Works in Source or Object form.
7313481Sgiacomo.travaglini@arm.com
7413481Sgiacomo.travaglini@arm.com   3. Grant of Patent License. Subject to the terms and conditions of
7513481Sgiacomo.travaglini@arm.com      this License, each Contributor hereby grants to You a perpetual,
7613481Sgiacomo.travaglini@arm.com      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7713481Sgiacomo.travaglini@arm.com      (except as stated in this section) patent license to make, have made,
7813481Sgiacomo.travaglini@arm.com      use, offer to sell, sell, import, and otherwise transfer the Work,
7913481Sgiacomo.travaglini@arm.com      where such license applies only to those patent claims licensable
8013481Sgiacomo.travaglini@arm.com      by such Contributor that are necessarily infringed by their
8113481Sgiacomo.travaglini@arm.com      Contribution(s) alone or by combination of their Contribution(s)
8213481Sgiacomo.travaglini@arm.com      with the Work to which such Contribution(s) was submitted. If You
8313481Sgiacomo.travaglini@arm.com      institute patent litigation against any entity (including a
8413481Sgiacomo.travaglini@arm.com      cross-claim or counterclaim in a lawsuit) alleging that the Work
8513481Sgiacomo.travaglini@arm.com      or a Contribution incorporated within the Work constitutes direct
8613481Sgiacomo.travaglini@arm.com      or contributory patent infringement, then any patent licenses
8713481Sgiacomo.travaglini@arm.com      granted to You under this License for that Work shall terminate
8813481Sgiacomo.travaglini@arm.com      as of the date such litigation is filed.
8913481Sgiacomo.travaglini@arm.com
9013481Sgiacomo.travaglini@arm.com   4. Redistribution. You may reproduce and distribute copies of the
9113481Sgiacomo.travaglini@arm.com      Work or Derivative Works thereof in any medium, with or without
9213481Sgiacomo.travaglini@arm.com      modifications, and in Source or Object form, provided that You
9313481Sgiacomo.travaglini@arm.com      meet the following conditions:
9413481Sgiacomo.travaglini@arm.com
9513481Sgiacomo.travaglini@arm.com      (a) You must give any other recipients of the Work or
9613481Sgiacomo.travaglini@arm.com          Derivative Works a copy of this License; and
9713481Sgiacomo.travaglini@arm.com
9813481Sgiacomo.travaglini@arm.com      (b) You must cause any modified files to carry prominent notices
9913481Sgiacomo.travaglini@arm.com          stating that You changed the files; and
10013481Sgiacomo.travaglini@arm.com
10113481Sgiacomo.travaglini@arm.com      (c) You must retain, in the Source form of any Derivative Works
10213481Sgiacomo.travaglini@arm.com          that You distribute, all copyright, patent, trademark, and
10313481Sgiacomo.travaglini@arm.com          attribution notices from the Source form of the Work,
10413481Sgiacomo.travaglini@arm.com          excluding those notices that do not pertain to any part of
10513481Sgiacomo.travaglini@arm.com          the Derivative Works; and
10613481Sgiacomo.travaglini@arm.com
10713481Sgiacomo.travaglini@arm.com      (d) If the Work includes a "NOTICE" text file as part of its
10813481Sgiacomo.travaglini@arm.com          distribution, then any Derivative Works that You distribute must
10913481Sgiacomo.travaglini@arm.com          include a readable copy of the attribution notices contained
11013481Sgiacomo.travaglini@arm.com          within such NOTICE file, excluding those notices that do not
11113481Sgiacomo.travaglini@arm.com          pertain to any part of the Derivative Works, in at least one
11213481Sgiacomo.travaglini@arm.com          of the following places: within a NOTICE text file distributed
11313481Sgiacomo.travaglini@arm.com          as part of the Derivative Works; within the Source form or
11413481Sgiacomo.travaglini@arm.com          documentation, if provided along with the Derivative Works; or,
11513481Sgiacomo.travaglini@arm.com          within a display generated by the Derivative Works, if and
11613481Sgiacomo.travaglini@arm.com          wherever such third-party notices normally appear. The contents
11713481Sgiacomo.travaglini@arm.com          of the NOTICE file are for informational purposes only and
11813481Sgiacomo.travaglini@arm.com          do not modify the License. You may add Your own attribution
11913481Sgiacomo.travaglini@arm.com          notices within Derivative Works that You distribute, alongside
12013481Sgiacomo.travaglini@arm.com          or as an addendum to the NOTICE text from the Work, provided
12113481Sgiacomo.travaglini@arm.com          that such additional attribution notices cannot be construed
12213481Sgiacomo.travaglini@arm.com          as modifying the License.
12313481Sgiacomo.travaglini@arm.com
12413481Sgiacomo.travaglini@arm.com      You may add Your own copyright statement to Your modifications and
12513481Sgiacomo.travaglini@arm.com      may provide additional or different license terms and conditions
12613481Sgiacomo.travaglini@arm.com      for use, reproduction, or distribution of Your modifications, or
12713481Sgiacomo.travaglini@arm.com      for any such Derivative Works as a whole, provided Your use,
12813481Sgiacomo.travaglini@arm.com      reproduction, and distribution of the Work otherwise complies with
12913481Sgiacomo.travaglini@arm.com      the conditions stated in this License.
13013481Sgiacomo.travaglini@arm.com
13113481Sgiacomo.travaglini@arm.com   5. Submission of Contributions. Unless You explicitly state otherwise,
13213481Sgiacomo.travaglini@arm.com      any Contribution intentionally submitted for inclusion in the Work
13313481Sgiacomo.travaglini@arm.com      by You to the Licensor shall be under the terms and conditions of
13413481Sgiacomo.travaglini@arm.com      this License, without any additional terms or conditions.
13513481Sgiacomo.travaglini@arm.com      Notwithstanding the above, nothing herein shall supersede or modify
13613481Sgiacomo.travaglini@arm.com      the terms of any separate license agreement you may have executed
13713481Sgiacomo.travaglini@arm.com      with Licensor regarding such Contributions.
13813481Sgiacomo.travaglini@arm.com
13913481Sgiacomo.travaglini@arm.com   6. Trademarks. This License does not grant permission to use the trade
14013481Sgiacomo.travaglini@arm.com      names, trademarks, service marks, or product names of the Licensor,
14113481Sgiacomo.travaglini@arm.com      except as required for reasonable and customary use in describing the
14213481Sgiacomo.travaglini@arm.com      origin of the Work and reproducing the content of the NOTICE file.
14313481Sgiacomo.travaglini@arm.com
14413481Sgiacomo.travaglini@arm.com   7. Disclaimer of Warranty. Unless required by applicable law or
14513481Sgiacomo.travaglini@arm.com      agreed to in writing, Licensor provides the Work (and each
14613481Sgiacomo.travaglini@arm.com      Contributor provides its Contributions) on an "AS IS" BASIS,
14713481Sgiacomo.travaglini@arm.com      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14813481Sgiacomo.travaglini@arm.com      implied, including, without limitation, any warranties or conditions
14913481Sgiacomo.travaglini@arm.com      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
15013481Sgiacomo.travaglini@arm.com      PARTICULAR PURPOSE. You are solely responsible for determining the
15113481Sgiacomo.travaglini@arm.com      appropriateness of using or redistributing the Work and assume any
15213481Sgiacomo.travaglini@arm.com      risks associated with Your exercise of permissions under this License.
15313481Sgiacomo.travaglini@arm.com
15413481Sgiacomo.travaglini@arm.com   8. Limitation of Liability. In no event and under no legal theory,
15513481Sgiacomo.travaglini@arm.com      whether in tort (including negligence), contract, or otherwise,
15613481Sgiacomo.travaglini@arm.com      unless required by applicable law (such as deliberate and grossly
15713481Sgiacomo.travaglini@arm.com      negligent acts) or agreed to in writing, shall any Contributor be
15813481Sgiacomo.travaglini@arm.com      liable to You for damages, including any direct, indirect, special,
15913481Sgiacomo.travaglini@arm.com      incidental, or consequential damages of any character arising as a
16013481Sgiacomo.travaglini@arm.com      result of this License or out of the use or inability to use the
16113481Sgiacomo.travaglini@arm.com      Work (including but not limited to damages for loss of goodwill,
16213481Sgiacomo.travaglini@arm.com      work stoppage, computer failure or malfunction, or any and all
16313481Sgiacomo.travaglini@arm.com      other commercial damages or losses), even if such Contributor
16413481Sgiacomo.travaglini@arm.com      has been advised of the possibility of such damages.
16513481Sgiacomo.travaglini@arm.com
16613481Sgiacomo.travaglini@arm.com   9. Accepting Warranty or Additional Liability. While redistributing
16713481Sgiacomo.travaglini@arm.com      the Work or Derivative Works thereof, You may choose to offer,
16813481Sgiacomo.travaglini@arm.com      and charge a fee for, acceptance of support, warranty, indemnity,
16913481Sgiacomo.travaglini@arm.com      or other liability obligations and/or rights consistent with this
17013481Sgiacomo.travaglini@arm.com      License. However, in accepting such obligations, You may act only
17113481Sgiacomo.travaglini@arm.com      on Your own behalf and on Your sole responsibility, not on behalf
17213481Sgiacomo.travaglini@arm.com      of any other Contributor, and only if You agree to indemnify,
17313481Sgiacomo.travaglini@arm.com      defend, and hold each Contributor harmless for any liability
17413481Sgiacomo.travaglini@arm.com      incurred by, or claims asserted against, such Contributor by reason
17513481Sgiacomo.travaglini@arm.com      of your accepting any such warranty or additional liability.
17613481Sgiacomo.travaglini@arm.com
17713481Sgiacomo.travaglini@arm.com   END OF TERMS AND CONDITIONS
17813481Sgiacomo.travaglini@arm.com
17913481Sgiacomo.travaglini@arm.com   APPENDIX: How to apply the Apache License to your work.
18013481Sgiacomo.travaglini@arm.com
18113481Sgiacomo.travaglini@arm.com      To apply the Apache License to your work, attach the following
18213481Sgiacomo.travaglini@arm.com      boilerplate notice, with the fields enclosed by brackets "[]"
18313481Sgiacomo.travaglini@arm.com      replaced with your own identifying information. (Don't include
18413481Sgiacomo.travaglini@arm.com      the brackets!)  The text should be enclosed in the appropriate
18513481Sgiacomo.travaglini@arm.com      comment syntax for the file format. We also recommend that a
18613481Sgiacomo.travaglini@arm.com      file or class name and description of purpose be included on the
18713481Sgiacomo.travaglini@arm.com      same "printed page" as the copyright notice for easier
18813481Sgiacomo.travaglini@arm.com      identification within third-party archives.
18913481Sgiacomo.travaglini@arm.com
19013481Sgiacomo.travaglini@arm.com   Copyright [2007] Neal Norwitz
19113481Sgiacomo.travaglini@arm.com   Portions Copyright [2007] Google Inc.
19213481Sgiacomo.travaglini@arm.com
19313481Sgiacomo.travaglini@arm.com   Licensed under the Apache License, Version 2.0 (the "License");
19413481Sgiacomo.travaglini@arm.com   you may not use this file except in compliance with the License.
19513481Sgiacomo.travaglini@arm.com   You may obtain a copy of the License at
19613481Sgiacomo.travaglini@arm.com
19713481Sgiacomo.travaglini@arm.com       http://www.apache.org/licenses/LICENSE-2.0
19813481Sgiacomo.travaglini@arm.com
19913481Sgiacomo.travaglini@arm.com   Unless required by applicable law or agreed to in writing, software
20013481Sgiacomo.travaglini@arm.com   distributed under the License is distributed on an "AS IS" BASIS,
20113481Sgiacomo.travaglini@arm.com   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20213481Sgiacomo.travaglini@arm.com   See the License for the specific language governing permissions and
20313481Sgiacomo.travaglini@arm.com   limitations under the License.
204