1c1d0c72aSopenharmony_ciHDF - Hardware Driver Foundation
2c1d0c72aSopenharmony_ciCopyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
3c1d0c72aSopenharmony_ci
4c1d0c72aSopenharmony_ciThis directory of HDF is dual licensed: you can use it either under the terms of
5c1d0c72aSopenharmony_cithe GPL V2, or the BSD3 license, at your option.
6c1d0c72aSopenharmony_cia) GNU General Public License version 2, (https://opensource.org/licenses/GPL-2.0)
7c1d0c72aSopenharmony_ciThis library is free software; you can redistribute it and/or
8c1d0c72aSopenharmony_cimodify it under the terms of the GNU General Public License as
9c1d0c72aSopenharmony_cipublished by the Free Software Foundation; either version 2 of the
10c1d0c72aSopenharmony_ciLicense, or (at your option) any later version.
11c1d0c72aSopenharmony_ci
12c1d0c72aSopenharmony_ciThis library is distributed in the hope that it will be useful,
13c1d0c72aSopenharmony_cibut WITHOUT ANY WARRANTY; without even the implied warranty of
14c1d0c72aSopenharmony_ciMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15c1d0c72aSopenharmony_ciGNU General Public License for more details.
16c1d0c72aSopenharmony_ci
17c1d0c72aSopenharmony_ciYou should have received a copy of the GNU General Public
18c1d0c72aSopenharmony_ciLicense along with this library; if not, write to the Free
19c1d0c72aSopenharmony_ciSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20c1d0c72aSopenharmony_ciMA 02110-1301 USA
21c1d0c72aSopenharmony_ci
22c1d0c72aSopenharmony_ciAlternatively,
23c1d0c72aSopenharmony_cib) The BSD3 License, (https://opensource.org/licenses/BSD-3-Clause)
24c1d0c72aSopenharmony_ciRedistribution and use in source and binary forms, with or
25c1d0c72aSopenharmony_ciwithout modification, are permitted provided that the following
26c1d0c72aSopenharmony_ciconditions are met:
27c1d0c72aSopenharmony_ci
28c1d0c72aSopenharmony_ci1. Redistributions of source code must retain the above
29c1d0c72aSopenharmony_ci   copyright notice, this list of conditions and the following
30c1d0c72aSopenharmony_ci   disclaimer.
31c1d0c72aSopenharmony_ci2. Redistributions in binary form must reproduce the above
32c1d0c72aSopenharmony_ci   copyright notice, this list of conditions and the following
33c1d0c72aSopenharmony_ci   disclaimer in the documentation and/or other materials
34c1d0c72aSopenharmony_ci   provided with the distribution.
35c1d0c72aSopenharmony_ci3. Neither the name of the copyright holder nor the names of its
36c1d0c72aSopenharmony_ci   contributors may be used to endorse or promote products derived
37c1d0c72aSopenharmony_ci   from this software without specific prior written permission.
38c1d0c72aSopenharmony_ci
39c1d0c72aSopenharmony_ciTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
40c1d0c72aSopenharmony_ciCONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
41c1d0c72aSopenharmony_ciINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
42c1d0c72aSopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43c1d0c72aSopenharmony_ciDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
44c1d0c72aSopenharmony_ciCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45c1d0c72aSopenharmony_ciSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
46c1d0c72aSopenharmony_ciNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47c1d0c72aSopenharmony_ciLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
48c1d0c72aSopenharmony_ciHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
49c1d0c72aSopenharmony_ciCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
50c1d0c72aSopenharmony_ciOTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
51c1d0c72aSopenharmony_ciEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52