• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1HDF - Hardware Driver Foundation
2Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
3
4This directory of HDF is dual licensed: you can use it either under the terms of
5the GPL V2, or the BSD3 license, at your option.
6a) GNU General Public License version 2, (https://opensource.org/licenses/GPL-2.0)
7This library is free software; you can redistribute it and/or
8modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the
10License, or (at your option) any later version.
11
12This library is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public
18License along with this library; if not, write to the Free
19Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20MA 02110-1301 USA
21
22Alternatively,
23b) The BSD3 License, (https://opensource.org/licenses/BSD-3-Clause)
24Redistribution and use in source and binary forms, with or
25without modification, are permitted provided that the following
26conditions are met:
27
281. Redistributions of source code must retain the above
29   copyright notice, this list of conditions and the following
30   disclaimer.
312. Redistributions in binary form must reproduce the above
32   copyright notice, this list of conditions and the following
33   disclaimer in the documentation and/or other materials
34   provided with the distribution.
353. Neither the name of the copyright holder nor the names of its
36   contributors may be used to endorse or promote products derived
37   from this software without specific prior written permission.
38
39THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
40CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
41INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
42MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
44CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
46NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
48HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
49CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
50OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
51EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52