|
1 | 1 |
|
| 2 | +/*. ******* coding:utf-8 AUTOHEADER START v1.1 ******* |
| 3 | + *. vim: fileencoding=utf-8 syntax=c sw=2 ts=2 et |
| 4 | + *. |
| 5 | + *. © 2007-2009 Nima Talebi <nima@autonomy.net.au> |
| 6 | + *. © 2009 David Sommerseth <davids@redhat.com> |
| 7 | + *. © 2002-2008 Jean Delvare <khali@linux-fr.org> |
| 8 | + *. © 2000-2002 Alan Cox <alan@redhat.com> |
| 9 | + *. |
| 10 | + *. This file is part of Python DMI-Decode. |
| 11 | + *. |
| 12 | + *. Python DMI-Decode is free software: you can redistribute it and/or modify |
| 13 | + *. it under the terms of the GNU General Public License as published by |
| 14 | + *. the Free Software Foundation, either version 2 of the License, or |
| 15 | + *. (at your option) any later version. |
| 16 | + *. |
| 17 | + *. Python DMI-Decode is distributed in the hope that it will be useful, |
| 18 | + *. but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | + *. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | + *. GNU General Public License for more details. |
| 21 | + *. |
| 22 | + *. You should have received a copy of the GNU General Public License |
| 23 | + *. along with Python DMI-Decode. If not, see <http://www.gnu.org/licenses/>. |
| 24 | + *. |
| 25 | + *. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
| 26 | + *. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 27 | + *. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 28 | + *. EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 29 | + *. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 30 | + *. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 31 | + *. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 32 | + *. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 33 | + *. OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 34 | + *. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 35 | + *. |
| 36 | + *. ADAPTED M. STONE & T. PARKER DISCLAIMER: THIS SOFTWARE COULD RESULT IN INJURY |
| 37 | + *. AND/OR DEATH, AND AS SUCH, IT SHOULD NOT BE BUILT, INSTALLED OR USED BY ANYONE. |
| 38 | + *. |
| 39 | + *. $AutoHeaderSerial::20090522 $ |
| 40 | + *. ******* AUTOHEADER END v1.1 ******* */ |
| 41 | + |
2 | 42 | /* |
3 | | - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 43 | + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
4 | 44 | * DMI Decode |
5 | 45 | * |
6 | | - * Copyright 2000-2002 Alan Cox <alan@redhat.com> |
7 | | - * Copyright 2002-2008 Jean Delvare <khali@linux-fr.org> |
8 | | - * Copyright 2009 David Sommerseth <davids@redhat.com> |
9 | | - * |
10 | | - * This program is free software; you can redistribute it and/or modify |
11 | | - * it under the terms of the GNU General Public License as published by |
12 | | - * the Free Software Foundation; either version 2 of the License, or |
13 | | - * (at your option) any later version. |
14 | | - * |
15 | | - * This program is distributed in the hope that it will be useful, |
16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | | - * GNU General Public License for more details. |
19 | | - * |
20 | | - * You should have received a copy of the GNU General Public License |
21 | | - * along with this program; if not, write to the Free Software |
22 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 | | - * |
24 | | - * For the avoidance of doubt the "preferred form" of this code is one which |
25 | | - * is in an open unpatent encumbered format. Where cryptographic key signing |
26 | | - * forms part of the process of creating an executable the information |
27 | | - * including keys needed to generate an equivalently functional executable |
28 | | - * are deemed to be part of the source code. |
29 | | - * |
30 | 46 | * Unless specified otherwise, all references are aimed at the "System |
31 | 47 | * Management BIOS Reference Specification, Version 2.6" document, |
32 | 48 | * available from http://www.dmtf.org/standards/smbios/. |
|
51 | 67 | * - BIOS Integrity Services Application Programming Interface version 1.0 |
52 | 68 | * http://www.intel.com/design/archives/wfm/downloads/bisspec.htm |
53 | 69 | * |
54 | | - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
55 | | - * DMI Decode Python module & libxml2 (Extension) |
56 | | - * |
57 | | - * Copyright: 2007-2009 Nima Talebi <nima@it.net.au> |
58 | | - * Copyright: 2009 David Sommerseth <davids@redhat.com> |
59 | | - * License: GPLv3 |
60 | | - * |
61 | | - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 70 | + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
62 | 71 | */ |
63 | 72 |
|
64 | 73 | #include <assert.h> |
|
81 | 90 | #define EFI_NOT_FOUND (-1) |
82 | 91 | #define EFI_NO_SMBIOS (-2) |
83 | 92 |
|
84 | | - |
85 | 93 | /******************************************************************************* |
86 | 94 | ** Type-independant Stuff |
87 | 95 | */ |
|
0 commit comments