Home | History | Annotate | Line # | Download | only in compiler
dtcompiler.h revision 1.1.1.2
      1      1.1  jruoho /******************************************************************************
      2      1.1  jruoho  *
      3      1.1  jruoho  * Module Name: dtcompiler.h - header for data table compiler
      4      1.1  jruoho  *
      5      1.1  jruoho  *****************************************************************************/
      6      1.1  jruoho 
      7  1.1.1.2  jruoho /*
      8  1.1.1.2  jruoho  * Copyright (C) 2000 - 2011, Intel Corp.
      9      1.1  jruoho  * All rights reserved.
     10      1.1  jruoho  *
     11  1.1.1.2  jruoho  * Redistribution and use in source and binary forms, with or without
     12  1.1.1.2  jruoho  * modification, are permitted provided that the following conditions
     13  1.1.1.2  jruoho  * are met:
     14  1.1.1.2  jruoho  * 1. Redistributions of source code must retain the above copyright
     15  1.1.1.2  jruoho  *    notice, this list of conditions, and the following disclaimer,
     16  1.1.1.2  jruoho  *    without modification.
     17  1.1.1.2  jruoho  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
     18  1.1.1.2  jruoho  *    substantially similar to the "NO WARRANTY" disclaimer below
     19  1.1.1.2  jruoho  *    ("Disclaimer") and any redistribution must be conditioned upon
     20  1.1.1.2  jruoho  *    including a substantially similar Disclaimer requirement for further
     21  1.1.1.2  jruoho  *    binary redistribution.
     22  1.1.1.2  jruoho  * 3. Neither the names of the above-listed copyright holders nor the names
     23  1.1.1.2  jruoho  *    of any contributors may be used to endorse or promote products derived
     24  1.1.1.2  jruoho  *    from this software without specific prior written permission.
     25  1.1.1.2  jruoho  *
     26  1.1.1.2  jruoho  * Alternatively, this software may be distributed under the terms of the
     27  1.1.1.2  jruoho  * GNU General Public License ("GPL") version 2 as published by the Free
     28  1.1.1.2  jruoho  * Software Foundation.
     29  1.1.1.2  jruoho  *
     30  1.1.1.2  jruoho  * NO WARRANTY
     31  1.1.1.2  jruoho  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     32  1.1.1.2  jruoho  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     33  1.1.1.2  jruoho  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
     34  1.1.1.2  jruoho  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     35  1.1.1.2  jruoho  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     36  1.1.1.2  jruoho  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     37  1.1.1.2  jruoho  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     38  1.1.1.2  jruoho  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     39  1.1.1.2  jruoho  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
     40  1.1.1.2  jruoho  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     41  1.1.1.2  jruoho  * POSSIBILITY OF SUCH DAMAGES.
     42  1.1.1.2  jruoho  */
     43      1.1  jruoho 
     44      1.1  jruoho #define __DTCOMPILER_H__
     45      1.1  jruoho 
     46      1.1  jruoho #ifndef _DTCOMPILER
     47      1.1  jruoho #define _DTCOMPILER
     48      1.1  jruoho 
     49      1.1  jruoho #include <stdio.h>
     50      1.1  jruoho #include "acdisasm.h"
     51      1.1  jruoho 
     52      1.1  jruoho 
     53      1.1  jruoho #undef DT_EXTERN
     54      1.1  jruoho 
     55      1.1  jruoho #ifdef _DECLARE_DT_GLOBALS
     56      1.1  jruoho #define DT_EXTERN
     57      1.1  jruoho #define DT_INIT_GLOBAL(a,b)         (a)=(b)
     58      1.1  jruoho #else
     59      1.1  jruoho #define DT_EXTERN                   extern
     60      1.1  jruoho #define DT_INIT_GLOBAL(a,b)         (a)
     61      1.1  jruoho #endif
     62      1.1  jruoho 
     63      1.1  jruoho 
     64      1.1  jruoho /* Types for individual fields (one per input line) */
     65      1.1  jruoho 
     66      1.1  jruoho #define DT_FIELD_TYPE_STRING            0
     67      1.1  jruoho #define DT_FIELD_TYPE_INTEGER           1
     68      1.1  jruoho #define DT_FIELD_TYPE_BUFFER            2
     69      1.1  jruoho #define DT_FIELD_TYPE_PCI_PATH          3
     70      1.1  jruoho #define DT_FIELD_TYPE_FLAG              4
     71      1.1  jruoho #define DT_FIELD_TYPE_FLAGS_INTEGER     5
     72      1.1  jruoho #define DT_FIELD_TYPE_INLINE_SUBTABLE   6
     73  1.1.1.2  jruoho #define DT_FIELD_TYPE_UUID              7
     74  1.1.1.2  jruoho #define DT_FIELD_TYPE_UNICODE           8
     75  1.1.1.2  jruoho #define DT_FIELD_TYPE_DEVICE_PATH       9
     76  1.1.1.2  jruoho #define DT_FIELD_TYPE_LABEL             10
     77      1.1  jruoho 
     78      1.1  jruoho 
     79      1.1  jruoho /*
     80      1.1  jruoho  * Structure used for each individual field within an ACPI table
     81      1.1  jruoho  */
     82      1.1  jruoho typedef struct dt_field
     83      1.1  jruoho {
     84  1.1.1.2  jruoho     char                    *Name;      /* Field name (from name : value) */
     85  1.1.1.2  jruoho     char                    *Value;     /* Field value (from name : value) */
     86  1.1.1.2  jruoho     struct dt_field         *Next;      /* Next field */
     87  1.1.1.2  jruoho     struct dt_field         *NextLabel; /* If field is a label, next label */
     88      1.1  jruoho     UINT32                  Line;       /* Line number for this field */
     89      1.1  jruoho     UINT32                  ByteOffset; /* Offset in source file for field */
     90      1.1  jruoho     UINT32                  NameColumn; /* Start column for field name */
     91      1.1  jruoho     UINT32                  Column;     /* Start column for field value */
     92  1.1.1.2  jruoho     UINT32                  TableOffset;/* Binary offset within ACPI table */
     93      1.1  jruoho     UINT8                   Flags;
     94      1.1  jruoho 
     95      1.1  jruoho } DT_FIELD;
     96      1.1  jruoho 
     97      1.1  jruoho /* Flags for above */
     98      1.1  jruoho 
     99      1.1  jruoho #define DT_FIELD_NOT_ALLOCATED      1
    100      1.1  jruoho 
    101      1.1  jruoho 
    102      1.1  jruoho /*
    103      1.1  jruoho  * Structure used for individual subtables within an ACPI table
    104      1.1  jruoho  */
    105      1.1  jruoho typedef struct dt_subtable
    106      1.1  jruoho {
    107      1.1  jruoho     struct dt_subtable      *Parent;
    108      1.1  jruoho     struct dt_subtable      *Child;
    109      1.1  jruoho     struct dt_subtable      *Peer;
    110      1.1  jruoho     struct dt_subtable      *StackTop;
    111      1.1  jruoho     UINT8                   *Buffer;
    112      1.1  jruoho     UINT8                   *LengthField;
    113      1.1  jruoho     UINT32                  Length;
    114      1.1  jruoho     UINT32                  TotalLength;
    115      1.1  jruoho     UINT32                  SizeOfLengthField;
    116      1.1  jruoho     UINT8                   Flags;
    117      1.1  jruoho 
    118      1.1  jruoho } DT_SUBTABLE;
    119      1.1  jruoho 
    120      1.1  jruoho 
    121      1.1  jruoho /*
    122      1.1  jruoho  * Globals
    123      1.1  jruoho  */
    124      1.1  jruoho 
    125      1.1  jruoho /* List of all field names and values from the input source */
    126      1.1  jruoho 
    127      1.1  jruoho DT_EXTERN DT_FIELD          DT_INIT_GLOBAL (*Gbl_FieldList, NULL);
    128      1.1  jruoho 
    129      1.1  jruoho /* List of all compiled tables and subtables */
    130      1.1  jruoho 
    131      1.1  jruoho DT_EXTERN DT_SUBTABLE       DT_INIT_GLOBAL (*Gbl_RootTable, NULL);
    132      1.1  jruoho 
    133      1.1  jruoho /* Stack for subtables */
    134      1.1  jruoho 
    135      1.1  jruoho DT_EXTERN DT_SUBTABLE       DT_INIT_GLOBAL (*Gbl_SubtableStack, NULL);
    136      1.1  jruoho 
    137  1.1.1.2  jruoho /* List for defined labels */
    138  1.1.1.2  jruoho 
    139  1.1.1.2  jruoho DT_EXTERN DT_FIELD          DT_INIT_GLOBAL (*Gbl_LabelList, NULL);
    140  1.1.1.2  jruoho 
    141  1.1.1.2  jruoho /* Current offset within the binary output table */
    142  1.1.1.2  jruoho 
    143  1.1.1.2  jruoho DT_EXTERN UINT32            DT_INIT_GLOBAL (Gbl_CurrentTableOffset, 0);
    144  1.1.1.2  jruoho 
    145      1.1  jruoho 
    146      1.1  jruoho /* dtcompiler - main module */
    147      1.1  jruoho 
    148      1.1  jruoho ACPI_STATUS
    149      1.1  jruoho DtCompileTable (
    150      1.1  jruoho     DT_FIELD                **Field,
    151      1.1  jruoho     ACPI_DMTABLE_INFO       *Info,
    152      1.1  jruoho     DT_SUBTABLE             **RetSubtable,
    153      1.1  jruoho     BOOLEAN                 Required);
    154      1.1  jruoho 
    155      1.1  jruoho 
    156      1.1  jruoho /* dtio - binary and text input/output */
    157      1.1  jruoho 
    158      1.1  jruoho DT_FIELD *
    159      1.1  jruoho DtScanFile (
    160      1.1  jruoho     FILE                    *Handle);
    161      1.1  jruoho 
    162      1.1  jruoho void
    163      1.1  jruoho DtOutputBinary (
    164      1.1  jruoho     DT_SUBTABLE             *RootTable);
    165      1.1  jruoho 
    166  1.1.1.2  jruoho void
    167  1.1.1.2  jruoho DtWriteFieldToListing (
    168  1.1.1.2  jruoho     UINT8                   *Buffer,
    169  1.1.1.2  jruoho     DT_FIELD                *Field,
    170  1.1.1.2  jruoho     UINT32                  Length);
    171  1.1.1.2  jruoho 
    172  1.1.1.2  jruoho void
    173  1.1.1.2  jruoho DtWriteTableToListing (
    174  1.1.1.2  jruoho     void);
    175  1.1.1.2  jruoho 
    176      1.1  jruoho 
    177      1.1  jruoho /* dtsubtable - compile subtables */
    178      1.1  jruoho 
    179      1.1  jruoho void
    180      1.1  jruoho DtCreateSubtable (
    181      1.1  jruoho     UINT8                   *Buffer,
    182      1.1  jruoho     UINT32                  Length,
    183      1.1  jruoho     DT_SUBTABLE             **RetSubtable);
    184      1.1  jruoho 
    185      1.1  jruoho UINT32
    186      1.1  jruoho DtGetSubtableLength (
    187      1.1  jruoho     DT_FIELD                *Field,
    188      1.1  jruoho     ACPI_DMTABLE_INFO       *Info);
    189      1.1  jruoho 
    190      1.1  jruoho void
    191      1.1  jruoho DtSetSubtableLength (
    192      1.1  jruoho     DT_SUBTABLE             *Subtable);
    193      1.1  jruoho 
    194      1.1  jruoho void
    195      1.1  jruoho DtPushSubtable (
    196      1.1  jruoho     DT_SUBTABLE             *Subtable);
    197      1.1  jruoho 
    198      1.1  jruoho void
    199      1.1  jruoho DtPopSubtable (
    200      1.1  jruoho     void);
    201      1.1  jruoho 
    202      1.1  jruoho DT_SUBTABLE *
    203      1.1  jruoho DtPeekSubtable (
    204      1.1  jruoho     void);
    205      1.1  jruoho 
    206      1.1  jruoho void
    207      1.1  jruoho DtInsertSubtable (
    208      1.1  jruoho     DT_SUBTABLE             *ParentTable,
    209      1.1  jruoho     DT_SUBTABLE             *Subtable);
    210      1.1  jruoho 
    211      1.1  jruoho DT_SUBTABLE *
    212      1.1  jruoho DtGetNextSubtable (
    213      1.1  jruoho     DT_SUBTABLE             *ParentTable,
    214      1.1  jruoho     DT_SUBTABLE             *ChildTable);
    215      1.1  jruoho 
    216      1.1  jruoho DT_SUBTABLE *
    217      1.1  jruoho DtGetParentSubtable (
    218      1.1  jruoho     DT_SUBTABLE             *Subtable);
    219      1.1  jruoho 
    220      1.1  jruoho 
    221  1.1.1.2  jruoho /* dtexpress - Integer expressions and labels */
    222  1.1.1.2  jruoho 
    223  1.1.1.2  jruoho UINT64
    224  1.1.1.2  jruoho DtResolveIntegerExpression (
    225  1.1.1.2  jruoho     DT_FIELD                *Field);
    226  1.1.1.2  jruoho 
    227  1.1.1.2  jruoho void
    228  1.1.1.2  jruoho DtDetectAllLabels (
    229  1.1.1.2  jruoho     DT_FIELD                *FieldList);
    230  1.1.1.2  jruoho 
    231  1.1.1.2  jruoho 
    232      1.1  jruoho /* dtfield - Compile individual fields within a table */
    233      1.1  jruoho 
    234      1.1  jruoho void
    235      1.1  jruoho DtCompileOneField (
    236      1.1  jruoho     UINT8                   *Buffer,
    237      1.1  jruoho     DT_FIELD                *Field,
    238      1.1  jruoho     UINT32                  ByteLength,
    239      1.1  jruoho     UINT8                   Type,
    240      1.1  jruoho     UINT8                   Flags);
    241      1.1  jruoho 
    242      1.1  jruoho void
    243      1.1  jruoho DtCompileInteger (
    244      1.1  jruoho     UINT8                   *Buffer,
    245      1.1  jruoho     DT_FIELD                *Field,
    246      1.1  jruoho     UINT32                  ByteLength,
    247      1.1  jruoho     UINT8                   Flags);
    248      1.1  jruoho 
    249      1.1  jruoho UINT32
    250      1.1  jruoho DtCompileBuffer (
    251      1.1  jruoho     UINT8                   *Buffer,
    252      1.1  jruoho     char                    *Value,
    253      1.1  jruoho     DT_FIELD                *Field,
    254      1.1  jruoho     UINT32                  ByteLength);
    255      1.1  jruoho 
    256  1.1.1.2  jruoho void
    257      1.1  jruoho DtCompileFlag (
    258      1.1  jruoho     UINT8                   *Buffer,
    259      1.1  jruoho     DT_FIELD                *Field,
    260  1.1.1.2  jruoho     ACPI_DMTABLE_INFO       *Info);
    261      1.1  jruoho 
    262      1.1  jruoho 
    263      1.1  jruoho /* dtutils - Miscellaneous utilities */
    264      1.1  jruoho 
    265      1.1  jruoho typedef
    266      1.1  jruoho void (*DT_WALK_CALLBACK) (
    267      1.1  jruoho     DT_SUBTABLE             *Subtable,
    268      1.1  jruoho     void                    *Context,
    269      1.1  jruoho     void                    *ReturnValue);
    270      1.1  jruoho 
    271      1.1  jruoho void
    272      1.1  jruoho DtWalkTableTree (
    273      1.1  jruoho     DT_SUBTABLE             *StartTable,
    274      1.1  jruoho     DT_WALK_CALLBACK        UserFunction,
    275      1.1  jruoho     void                    *Context,
    276      1.1  jruoho     void                    *ReturnValue);
    277      1.1  jruoho 
    278      1.1  jruoho void
    279      1.1  jruoho DtError (
    280      1.1  jruoho     UINT8                   Level,
    281      1.1  jruoho     UINT8                   MessageId,
    282      1.1  jruoho     DT_FIELD                *FieldObject,
    283      1.1  jruoho     char                    *ExtraMessage);
    284      1.1  jruoho 
    285      1.1  jruoho void
    286      1.1  jruoho DtNameError (
    287      1.1  jruoho     UINT8                   Level,
    288      1.1  jruoho     UINT8                   MessageId,
    289      1.1  jruoho     DT_FIELD                *FieldObject,
    290      1.1  jruoho     char                    *ExtraMessage);
    291      1.1  jruoho 
    292      1.1  jruoho void
    293      1.1  jruoho DtFatal (
    294      1.1  jruoho     UINT8                   MessageId,
    295      1.1  jruoho     DT_FIELD                *FieldObject,
    296      1.1  jruoho     char                    *ExtraMessage);
    297      1.1  jruoho 
    298      1.1  jruoho ACPI_STATUS
    299      1.1  jruoho DtStrtoul64 (
    300      1.1  jruoho     char                    *String,
    301      1.1  jruoho     UINT64                  *ReturnInteger);
    302      1.1  jruoho 
    303      1.1  jruoho UINT32
    304      1.1  jruoho DtGetFileSize (
    305      1.1  jruoho     FILE                    *Handle);
    306      1.1  jruoho 
    307      1.1  jruoho char*
    308      1.1  jruoho DtGetFieldValue (
    309      1.1  jruoho     DT_FIELD                *Field,
    310      1.1  jruoho     char                    *Name);
    311      1.1  jruoho 
    312      1.1  jruoho UINT8
    313      1.1  jruoho DtGetFieldType (
    314      1.1  jruoho     ACPI_DMTABLE_INFO       *Info);
    315      1.1  jruoho 
    316      1.1  jruoho UINT32
    317      1.1  jruoho DtGetBufferLength (
    318      1.1  jruoho     char                    *Buffer);
    319      1.1  jruoho 
    320      1.1  jruoho UINT32
    321      1.1  jruoho DtGetFieldLength (
    322      1.1  jruoho     DT_FIELD                *Field,
    323      1.1  jruoho     ACPI_DMTABLE_INFO       *Info);
    324      1.1  jruoho 
    325      1.1  jruoho void
    326      1.1  jruoho DtSetTableChecksum (
    327      1.1  jruoho     UINT8                   *ChecksumPointer);
    328      1.1  jruoho 
    329      1.1  jruoho void
    330      1.1  jruoho DtSetTableLength(
    331      1.1  jruoho     void);
    332      1.1  jruoho 
    333      1.1  jruoho void
    334      1.1  jruoho DtFreeFieldList (
    335      1.1  jruoho     void);
    336      1.1  jruoho 
    337      1.1  jruoho 
    338      1.1  jruoho /* dttable - individual table compilation */
    339      1.1  jruoho 
    340      1.1  jruoho ACPI_STATUS
    341      1.1  jruoho DtCompileFacs (
    342      1.1  jruoho     DT_FIELD                **PFieldList);
    343      1.1  jruoho 
    344      1.1  jruoho ACPI_STATUS
    345      1.1  jruoho DtCompileRsdp (
    346      1.1  jruoho     DT_FIELD                **PFieldList);
    347      1.1  jruoho 
    348      1.1  jruoho ACPI_STATUS
    349      1.1  jruoho DtCompileAsf (
    350      1.1  jruoho     void                    **PFieldList);
    351      1.1  jruoho 
    352      1.1  jruoho ACPI_STATUS
    353      1.1  jruoho DtCompileCpep (
    354      1.1  jruoho     void                    **PFieldList);
    355      1.1  jruoho 
    356      1.1  jruoho ACPI_STATUS
    357      1.1  jruoho DtCompileDmar (
    358      1.1  jruoho     void                    **PFieldList);
    359      1.1  jruoho 
    360      1.1  jruoho ACPI_STATUS
    361      1.1  jruoho DtCompileEinj (
    362      1.1  jruoho     void                    **PFieldList);
    363      1.1  jruoho 
    364      1.1  jruoho ACPI_STATUS
    365      1.1  jruoho DtCompileErst (
    366      1.1  jruoho     void                    **PFieldList);
    367      1.1  jruoho 
    368      1.1  jruoho ACPI_STATUS
    369      1.1  jruoho DtCompileFadt (
    370      1.1  jruoho     void                    **PFieldList);
    371      1.1  jruoho 
    372      1.1  jruoho ACPI_STATUS
    373      1.1  jruoho DtCompileHest (
    374      1.1  jruoho     void                    **PFieldList);
    375      1.1  jruoho 
    376      1.1  jruoho ACPI_STATUS
    377      1.1  jruoho DtCompileIvrs (
    378      1.1  jruoho     void                    **PFieldList);
    379      1.1  jruoho 
    380      1.1  jruoho ACPI_STATUS
    381      1.1  jruoho DtCompileMadt (
    382      1.1  jruoho     void                    **PFieldList);
    383      1.1  jruoho 
    384      1.1  jruoho ACPI_STATUS
    385      1.1  jruoho DtCompileMcfg (
    386      1.1  jruoho     void                    **PFieldList);
    387      1.1  jruoho 
    388      1.1  jruoho ACPI_STATUS
    389      1.1  jruoho DtCompileMsct (
    390      1.1  jruoho     void                    **PFieldList);
    391      1.1  jruoho 
    392      1.1  jruoho ACPI_STATUS
    393      1.1  jruoho DtCompileRsdt (
    394      1.1  jruoho     void                    **PFieldList);
    395      1.1  jruoho 
    396      1.1  jruoho ACPI_STATUS
    397      1.1  jruoho DtCompileSlit (
    398      1.1  jruoho     void                    **PFieldList);
    399      1.1  jruoho 
    400      1.1  jruoho ACPI_STATUS
    401      1.1  jruoho DtCompileSrat (
    402      1.1  jruoho     void                    **PFieldList);
    403      1.1  jruoho 
    404      1.1  jruoho ACPI_STATUS
    405  1.1.1.2  jruoho DtCompileUefi (
    406  1.1.1.2  jruoho     void                    **PFieldList);
    407  1.1.1.2  jruoho 
    408  1.1.1.2  jruoho ACPI_STATUS
    409      1.1  jruoho DtCompileWdat (
    410      1.1  jruoho     void                    **PFieldList);
    411      1.1  jruoho 
    412      1.1  jruoho ACPI_STATUS
    413      1.1  jruoho DtCompileXsdt (
    414      1.1  jruoho     void                    **PFieldList);
    415      1.1  jruoho 
    416  1.1.1.2  jruoho ACPI_DMTABLE_INFO *
    417  1.1.1.2  jruoho DtGetGenericTableInfo (
    418  1.1.1.2  jruoho     char                    *Name);
    419      1.1  jruoho 
    420  1.1.1.2  jruoho /* ACPI Table templates */
    421      1.1  jruoho 
    422  1.1.1.2  jruoho extern const unsigned char  TemplateAsf[];
    423  1.1.1.2  jruoho extern const unsigned char  TemplateBoot[];
    424  1.1.1.2  jruoho extern const unsigned char  TemplateBert[];
    425  1.1.1.2  jruoho extern const unsigned char  TemplateCpep[];
    426  1.1.1.2  jruoho extern const unsigned char  TemplateDbgp[];
    427  1.1.1.2  jruoho extern const unsigned char  TemplateDmar[];
    428  1.1.1.2  jruoho extern const unsigned char  TemplateEcdt[];
    429  1.1.1.2  jruoho extern const unsigned char  TemplateEinj[];
    430  1.1.1.2  jruoho extern const unsigned char  TemplateErst[];
    431  1.1.1.2  jruoho extern const unsigned char  TemplateFadt[];
    432  1.1.1.2  jruoho extern const unsigned char  TemplateHest[];
    433  1.1.1.2  jruoho extern const unsigned char  TemplateHpet[];
    434  1.1.1.2  jruoho extern const unsigned char  TemplateIvrs[];
    435  1.1.1.2  jruoho extern const unsigned char  TemplateMadt[];
    436  1.1.1.2  jruoho extern const unsigned char  TemplateMcfg[];
    437  1.1.1.2  jruoho extern const unsigned char  TemplateMchi[];
    438  1.1.1.2  jruoho extern const unsigned char  TemplateMsct[];
    439  1.1.1.2  jruoho extern const unsigned char  TemplateRsdt[];
    440  1.1.1.2  jruoho extern const unsigned char  TemplateSbst[];
    441  1.1.1.2  jruoho extern const unsigned char  TemplateSlic[];
    442  1.1.1.2  jruoho extern const unsigned char  TemplateSlit[];
    443  1.1.1.2  jruoho extern const unsigned char  TemplateSpcr[];
    444  1.1.1.2  jruoho extern const unsigned char  TemplateSpmi[];
    445  1.1.1.2  jruoho extern const unsigned char  TemplateSrat[];
    446  1.1.1.2  jruoho extern const unsigned char  TemplateTcpa[];
    447  1.1.1.2  jruoho extern const unsigned char  TemplateUefi[];
    448  1.1.1.2  jruoho extern const unsigned char  TemplateWaet[];
    449  1.1.1.2  jruoho extern const unsigned char  TemplateWdat[];
    450  1.1.1.2  jruoho extern const unsigned char  TemplateWddt[];
    451  1.1.1.2  jruoho extern const unsigned char  TemplateWdrt[];
    452  1.1.1.2  jruoho extern const unsigned char  TemplateXsdt[];
    453      1.1  jruoho 
    454      1.1  jruoho #endif
    455