# Copyright (c) 2011, NVIDIA CORPORATION
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#  * Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#  * Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#  * Neither the name of NVIDIA CORPORATION nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


The files in the directory src/miniloader are provided pursuant to the
following license agreement:

License For Use of NVIDIA Software


IMPORTANT NOTICE -- READ CAREFULLY: This License For Use of NVIDIA
Software ("LICENSE") is the agreement which governs use of the
software (in binary code form only) of NVIDIA Corporation and its
subsidiaries ("NVIDIA")
provided herewith by NVIDIA, including computer software and
associated printed materials (collectively, the "SOFTWARE").  By
downloading, installing, copying, or otherwise using the SOFTWARE, you
agree to be bound by the terms of this LICENSE.  If you do not agree
to the terms of this LICENSE, do not download, install or use the
SOFTWARE.

RECITALS

The SOFTWARE is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The SOFTWARE is not sold, and instead is only licensed for
use, strictly in accordance with this document.  This agreement sets
forth the terms and conditions of the SOFTWARE LICENSE only.

1.  DEFINITIONS

1.1  “Licensee,” “You” and/or “Your” shall mean, collectively and
individually, Original Equipment Manufacturers, Independent Hardware
Vendors, Independent Software Vendors, and/or End-Users of the
Software pursuant to the terms and conditions of this LICENSE.

1.2	 Intellectual Property Rights” shall mean all proprietary
rights, including all patents, trademarks, copyrights, know-how, trade
secrets, mask works, including all applications and registrations
thereto, and any other similar protected rights in any country

2.  GRANT OF LICENSE

2.1  Rights and Limitations of Grant.  NVIDIA hereby grants to You the
following non-exclusive, non-transferable, revocable right under
NVIDIA’s copyrights to use, copy, distribute and sublicense the
SOFTWARE (solely in binary code form) to Your sublicensees (a) solely
for use in connection with NVIDIA hardware or software products; and
(b) pursuant to the terms and conditions of any form of end-user
software license agreement; provided, that Your sublicensees agree to
be bound by this LICENSE or terms and conditions that are as
protective of NVIDIA’s Intellectual Property Rights in the SOFTWARE as
this LICENSE

2.2  Limitations. You may not reverse engineer, decompile, or
disassemble the SOFTWARE, nor attempt in any other manner to obtain
the source code.

Except as expressly permitted in this LICENSE, You shall not otherwise
assign, sublicense, rent, lease, or in any other way transfer or
disclose SOFTWARE to any third party. Unless otherwise authorized in
the LICENSE, You shall not reverse- compile, disassemble,
reverse-engineer, or in any manner attempt to derive the source code
of the SOFTWARE.

Except as expressly stated in this LICENSE, no license or right is
granted to You directly or by implication, inducement, estoppel or
otherwise. NVIDIA shall have the right to inspect or have an
independent auditor inspect Your relevant records to verify Your
compliance with the terms and conditions of this LICENSE.

3.  TERM AND TERMINATION

This LICENSE and the licenses granted hereunder shall be effective as
of the date You download the applicable SOFTWARE (“Effective Date”)
and continue for a period of one (1) year (“Initial Term”)
respectively, unless terminated earlier in accordance with the
“Termination” provision of this LICENSE.  Unless either party notifies
the other party of its intent to terminate this LICENSE at least three
(3) months prior to the end of the Initial Term or the applicable
renewal period, this License will be automatically renewed for one (1)
year renewal periods thereafter, unless terminated in accordance with
the “Termination” provision of this LICENSE

NVIDIA may terminate this LICENSE at any time if You violate its
terms. Upon termination, You will immediately destroy the SOFTWARE or
return all copies of the SOFTWARE to NVIDIA, and certify to NVIDIA in
writing that such actions have been completed.  Upon termination or
expiration of this LICENSE the license grants to Licensee shall
terminate, except that sublicenses rightfully granted by Licensee
under this LICENSE in connection with Paragraph 2 of this LICENSE
provided by Licensee prior to the termination or expiration of this
LICENSE shall survive in accordance with their respective form of
license terms and conditions.

Those provisions in this LICENSE, which by their nature need to
survive the termination or expiration of this LICENSE, shall survive
termination or expiration of the LICENSE, including but not limited to
Paragraphs 1, 2.2, 3, 4, 5, 6, 7, and 8.

If You commence or participate in any legal proceeding against NVIDIA,
including Intellectual Property Rights infringement claims against
NVIDIA, then NVIDIA may, in its sole discretion, suspend or terminate
all license grants and any other rights provided under this LICENSE
during the pendency of such legal proceedings.

4.  OWNERSHIP OF SOFTWARE AND INTELLECTUAL PROPERTY RIGHTS

All rights, title and interest to all copies of the SOFTWARE remain
with NVIDIA, subsidiaries, licensors, or its suppliers. The SOFTWARE
is copyrighted and protected by the laws of the United States and
other countries, and international treaty provisions. You may not
remove any copyright notices from the SOFTWARE. NVIDIA may make
changes to the SOFTWARE, or to items referenced therein, at any time
and without notice, but is not obligated to support or update the
SOFTWARE. Except as otherwise expressly provided, NVIDIA grants no
express or implied right under any NVIDIA patents, copyrights,
trademarks, or other Intellectual Property Rights.

You have no obligation to give NVIDIA any suggestions, comments or
other feedback (“Feedback”) relating to the SOFTWARE.  However, NVIDIA
may use and include any Feedback that You voluntarily provide to
improve the SOFTWARE or other related NVIDIA technologies.
Accordingly, if You provide Feedback, You agree NVIDIA and its
licensees may freely use, reproduce, license, distribute, and
otherwise commercialize the Feedback in the SOFTWARE or other related
technologies without the payment of any royalties or fees.


5.  APPLICABLE LAW

This agreement shall be deemed to have been made in, and shall be
construed pursuant to, the laws of the State of Delaware.

6.  NO WARRANTIES

THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED
WARRANTY OF ANY KIND, INCLUDING WARRANTIES OF MERCHANTABILITY,
NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. NVIDIA does not
warrant or assume responsibility for the accuracy or completeness of
any information, text, graphics, links or other items contained within
the SOFTWARE. NVIDIA does not represent that errors or other defects
will be identified or corrected.

7. LIMITATION OF LIABILITY

IN NO EVENT SHALL NVIDIA, SUBSIDIARIES, LICENSORS, OR ITS SUPPLIERS BE
LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
DIRECT, INDIRECT, LOST PROFITS, CONSEQUENTIAL, BUSINESS INTERRUPTION
OR LOST INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE
SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF
LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO
HAVE OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
NOTWITHSTANDING THE FOREGOING, NVIDIA’S AGGREGATE LIABILITY ARISING
OUT OF THIS AGREEMENT SHALL NOT EXCEED ONE THOUSAND UNITED STATES
DOLLARS (USD$1000).

8.  MISCELLANEOUS

The United Nations Convention on Contracts for the International Sale
of Goods is specifically disclaimed.  If any provision of this LICENSE
is inconsistent with, or cannot be fully enforced under, the law, such
provision will be construed as limited to the extent necessary to be
consistent with and fully enforceable under the law. This agreement is
the final, complete and exclusive agreement between the parties
relating to the subject matter hereof, and supersedes all prior or
contemporaneous understandings and agreements relating to such subject
matter, whether oral or written.    This LICENSE may only be modified
in writing signed by an authorized officer of NVIDIA.  No failure or
delay by NVIDIA in the exercise of any right, power or remedy under
this LICENSE or under law shall operate as a waiver thereof. The
parties acknowledge that the SOFTWARE is subject to U.S. export
control laws and regulations.   The parties agree to comply with all
applicable international and national laws that apply to the SOFTWARE,
including the U.S. Export Administration Regulations, as well as
end-user, end-use and destination restrictions issued by U.S. and
other governments.  The SOFTWARE has been developed entirely at
private expense and is commercial computer software provided with
RESTRICTED RIGHTS. Use, dupli¬cation or disclosure of the SOFTWARE by
the U.S. Government or a U.S. Government subcontractor is subject to
the restrictions set forth in the LICENSE under which the SOFTWARE was
obtained pursuant to DFARS 227.7202-3(a) or as set forth in
subparagraphs (c)(1) and (2) of the Commercial Computer SOFTWARE -
Restricted Rights clause at FAR 52.227-19, as
applicable. Contractor/manufacturer is NVIDIA, 2701 San Tomas
Expressway, Santa Clara, CA 95050. Use of the SOFTWARE by the
Government constitutes acknowledgment of NVIDIA's proprietary rights
therein.
