Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster"
[coreboot.git] / util / sconfig / lex.yy.c_shipped
index c4b53e7480172ae76914f369c5844926a958ef03..64a84bdc6641d97d431842d048cda755cde426b3 100644 (file)
@@ -1,6 +1,5 @@
-#line 2 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
 
-#line 4 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
+#line 3 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
 
 #define  YY_INT_ALIGNED short int
 
@@ -54,7 +53,6 @@ typedef int flex_int32_t;
 typedef unsigned char flex_uint8_t; 
 typedef unsigned short int flex_uint16_t;
 typedef unsigned int flex_uint32_t;
-#endif /* ! C99 */
 
 /* Limits of integral types. */
 #ifndef INT8_MIN
@@ -85,6 +83,8 @@ typedef unsigned int flex_uint32_t;
 #define UINT32_MAX             (4294967295U)
 #endif
 
+#endif /* ! C99 */
+
 #endif /* ! FLEXINT_H */
 
 #ifdef __cplusplus
@@ -141,7 +141,15 @@ typedef unsigned int flex_uint32_t;
 
 /* Size of default input buffer. */
 #ifndef YY_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k.
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
+ * Ditto for the __ia64__ case accordingly.
+ */
+#define YY_BUF_SIZE 32768
+#else
 #define YY_BUF_SIZE 16384
+#endif /* __ia64__ */
 #endif
 
 /* The state buf must be large enough to hold one state per character in the main buffer.
@@ -369,17 +377,17 @@ struct yy_trans_info
        flex_int32_t yy_verify;
        flex_int32_t yy_nxt;
        };
-static yyconst flex_int16_t yy_accept[86] =
+static yyconst flex_int16_t yy_accept[87] =
     {   0,
         0,    0,   26,   24,    1,    3,   24,   24,   24,   21,
-       21,   19,   22,   22,   22,   22,   22,   24,   24,   24,
+       21,   19,   22,   22,   22,   22,   24,   24,   24,   24,
        24,   24,    1,    3,   24,    0,   24,    0,    2,   21,
-       22,   24,   24,   24,   22,   24,   24,   24,   17,   24,
+       22,   24,   24,   22,   24,   24,   24,   17,   24,   24,
        24,    7,   24,   24,   24,   23,   23,   20,   24,   24,
-       24,   16,   18,   11,   15,    8,    9,   10,   24,   12,
-        4,   24,   24,   24,   24,   24,   24,   24,   24,    5,
+       16,   18,   11,   15,   24,    8,    9,   10,   24,    4,
+       24,   24,   24,   24,   24,   12,   24,   24,    5,   24,
        24,   24,   24,   24,   24,   24,   24,    6,   24,   24,
-       24,   14,   24,   13,    0
+       24,   14,   24,   24,   13,    0
     } ;
 
 static yyconst flex_int32_t yy_ec[256] =
@@ -422,76 +430,80 @@ static yyconst flex_int32_t yy_meta[33] =
         1,    1
     } ;
 
-static yyconst flex_int16_t yy_base[91] =
+static yyconst flex_int16_t yy_base[92] =
     {   0,
-        0,    0,  146,    0,  143,  147,  141,   31,   35,   32,
-      111,    0,   43,   46,   49,   65,   52,   53,   46,   21,
-      126,    0,  139,  147,   62,  135,   76,  136,  147,    0,
-       75,   86,  118,  117,   78,  110,  120,  120,    0,  107,
-      115,    0,  111,  105,  111,    0,  147,    0,  114,  102,
-      106,    0,    0,    0,    0,    0,  113,    0,  104,  111,
-        0,  108,  106,   92,  105,  102,   84,   78,   85,    0,
-       83,   88,   68,   83,   64,   62,   69,    0,   59,   53,
-       54,    0,   39,    0,  147,   41,  109,  111,  113,  115
+        0,    0,  144,    0,  141,  145,  139,   31,   35,   32,
+      109,    0,   43,   46,   59,   49,   35,  127,   46,   47,
+      123,    0,  136,  145,   71,  132,   75,  133,  145,    0,
+       72,   80,  115,   75,  108,  118,  118,    0,  105,  105,
+      112,    0,  108,  102,  108,    0,  145,    0,  100,  104,
+        0,    0,    0,    0,  103,    0,  110,    0,  101,    0,
+      106,  105,  103,   89,  100,  103,   81,   75,    0,   89,
+       80,   85,   79,   86,   71,   62,   70,    0,   57,   48,
+       35,    0,   44,   15,    0,  145,   34,  106,  108,  110,
+      112
+
     } ;
 
-static yyconst flex_int16_t yy_def[91] =
+static yyconst flex_int16_t yy_def[92] =
     {   0,
-       85,    1,   85,   86,   85,   85,   86,   87,   88,   86,
-       10,   86,   10,   10,   10,   10,   10,   86,   86,   86,
-       86,   86,   85,   85,   87,   89,   88,   90,   85,   10,
-       10,   10,   86,   86,   10,   86,   86,   86,   86,   86,
-       86,   86,   86,   86,   86,   86,   85,   32,   86,   86,
-       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
-       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
-       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
-       86,   86,   86,   86,    0,   85,   85,   85,   85,   85
+       86,    1,   86,   87,   86,   86,   87,   88,   89,   87,
+       10,   87,   10,   10,   10,   10,   87,   87,   87,   87,
+       87,   87,   86,   86,   88,   90,   89,   91,   86,   10,
+       10,   10,   87,   10,   87,   87,   87,   87,   87,   87,
+       87,   87,   87,   87,   87,   87,   86,   32,   87,   87,
+       87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
+       87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
+       87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
+       87,   87,   87,   87,   87,    0,   86,   86,   86,   86,
+       86
+
     } ;
 
-static yyconst flex_int16_t yy_nxt[180] =
+static yyconst flex_int16_t yy_nxt[178] =
     {   0,
         4,    5,    6,    7,    8,    9,   10,   11,   10,   12,
-       13,    4,   14,   15,   16,   17,   13,    4,    4,   18,
-        4,    4,    4,   19,   20,    4,   21,    4,    4,    4,
-        4,    4,   26,   26,   43,   22,   28,   29,   30,   30,
-       30,   22,   31,   44,   31,   31,   31,   31,   31,   31,
-       31,   31,   31,   31,   31,   31,   31,   31,   31,   31,
-       31,   38,   41,   26,   26,   84,   46,   34,   42,   83,
-       33,   31,   31,   31,   37,   82,   39,   28,   29,   40,
-       35,   31,   31,   31,   31,   31,   31,   81,   80,   79,
-       78,   36,   48,   48,   48,   77,   48,   76,   48,   48,
-
-       48,   48,   48,   75,   74,   73,   72,   71,   51,   25,
-       25,   27,   27,   26,   26,   28,   28,   70,   69,   68,
-       67,   66,   65,   64,   63,   62,   61,   60,   59,   58,
-       57,   56,   55,   54,   53,   52,   50,   49,   29,   47,
-       23,   45,   32,   24,   23,   85,    3,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85
+       13,    4,   13,   14,   15,   16,   13,    4,    4,   17,
+       18,    4,    4,   19,   20,    4,   21,    4,    4,    4,
+        4,    4,   26,   26,   22,   22,   28,   29,   30,   30,
+       30,   85,   31,   37,   31,   31,   31,   31,   31,   31,
+       31,   31,   31,   31,   31,   31,   31,   31,   38,   84,
+       43,   39,   41,   83,   33,   31,   31,   31,   42,   44,
+       82,   36,   26,   26,   34,   46,   28,   29,   31,   31,
+       31,   31,   31,   31,   81,   35,   48,   48,   48,   80,
+       48,   79,   48,   48,   48,   48,   48,   78,   77,   76,
+
+       75,   74,   73,   72,   71,   50,   25,   25,   27,   27,
+       26,   26,   28,   28,   70,   69,   68,   67,   66,   65,
+       64,   63,   62,   61,   60,   59,   58,   57,   56,   55,
+       54,   53,   52,   51,   49,   29,   47,   23,   45,   40,
+       32,   24,   23,   86,    3,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86
     } ;
 
-static yyconst flex_int16_t yy_chk[180] =
+static yyconst flex_int16_t yy_chk[178] =
     {   0,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-        1,    1,    8,    8,   20,    8,    9,    9,   10,   10,
-       10,   86,   10,   20,   10,   10,   10,   10,   10,   13,
-       13,   13,   14,   14,   14,   15,   15,   15,   17,   17,
-       17,   18,   19,   25,   25,   83,   25,   15,   19,   81,
-       14,   16,   16,   16,   17,   80,   18,   27,   27,   18,
-       16,   31,   31,   31,   35,   35,   35,   79,   77,   76,
-       75,   16,   32,   32,   32,   74,   32,   73,   32,   32,
-
-       32,   32,   32,   72,   71,   69,   68,   67,   35,   87,
-       87,   88,   88,   89,   89,   90,   90,   66,   65,   64,
-       63,   62,   60,   59,   57,   51,   50,   49,   45,   44,
-       43,   41,   40,   38,   37,   36,   34,   33,   28,   26,
-       23,   21,   11,    7,    5,    3,   85,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
-       85,   85,   85,   85,   85,   85,   85,   85,   85
+        1,    1,    8,    8,   87,    8,    9,    9,   10,   10,
+       10,   84,   10,   17,   10,   10,   10,   10,   10,   13,
+       13,   13,   14,   14,   14,   16,   16,   16,   17,   83,
+       20,   17,   19,   81,   14,   15,   15,   15,   19,   20,
+       80,   16,   25,   25,   15,   25,   27,   27,   31,   31,
+       31,   34,   34,   34,   79,   15,   32,   32,   32,   77,
+       32,   76,   32,   32,   32,   32,   32,   75,   74,   73,
+
+       72,   71,   70,   68,   67,   34,   88,   88,   89,   89,
+       90,   90,   91,   91,   66,   65,   64,   63,   62,   61,
+       59,   57,   55,   50,   49,   45,   44,   43,   41,   40,
+       39,   37,   36,   35,   33,   28,   26,   23,   21,   18,
+       11,    7,    5,    3,   86,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
+       86,   86,   86,   86,   86,   86,   86
     } ;
 
 static yy_state_type yy_last_accepting_state;
@@ -508,8 +520,6 @@ int yy_flex_debug = 0;
 #define YY_MORE_ADJ 0
 #define YY_RESTORE_YY_MORE_OFFSET
 char *yytext;
-#line 1 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
-#line 2 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 /*
  * sconfig, coreboot device tree compiler
  *
@@ -533,7 +543,6 @@ char *yytext;
 #include "sconfig.tab.h"
 
 int linenum = 0;
-#line 537 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
 
 #define INITIAL 0
 
@@ -614,7 +623,12 @@ static int input (void );
 
 /* Amount of stuff to slurp up with each read. */
 #ifndef YY_READ_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k */
+#define YY_READ_BUF_SIZE 16384
+#else
 #define YY_READ_BUF_SIZE 8192
+#endif /* __ia64__ */
 #endif
 
 /* Copy whatever the last rule matched to the standard output. */
@@ -622,7 +636,7 @@ static int input (void );
 /* This used to be an fputs(), but since the string might contain NUL's,
  * we now use fwrite().
  */
-#define ECHO fwrite( yytext, yyleng, 1, yyout )
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
 #endif
 
 /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
@@ -633,7 +647,7 @@ static int input (void );
        if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
                { \
                int c = '*'; \
-               int n; \
+               size_t n; \
                for ( n = 0; n < max_size && \
                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
                        buf[n] = (char) c; \
@@ -715,10 +729,6 @@ YY_DECL
        register char *yy_cp, *yy_bp;
        register int yy_act;
     
-#line 27 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
-
-#line 721 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
-
        if ( !(yy_init) )
                {
                (yy_init) = 1;
@@ -770,13 +780,13 @@ yy_match:
                        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                                {
                                yy_current_state = (int) yy_def[yy_current_state];
-                               if ( yy_current_state >= 86 )
+                               if ( yy_current_state >= 87 )
                                        yy_c = yy_meta[(unsigned int) yy_c];
                                }
                        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
                        ++yy_cp;
                        }
-               while ( yy_base[yy_current_state] != 147 );
+               while ( yy_base[yy_current_state] != 145 );
 
 yy_find_action:
                yy_act = yy_accept[yy_current_state];
@@ -802,133 +812,107 @@ do_action:      /* This label is used only to access EOF actions. */
 
 case 1:
 YY_RULE_SETUP
-#line 28 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {}
        YY_BREAK
 case 2:
 /* rule 2 can match eol */
 YY_RULE_SETUP
-#line 29 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {linenum++;}
        YY_BREAK
 case 3:
 /* rule 3 can match eol */
 YY_RULE_SETUP
-#line 30 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {linenum++;}
        YY_BREAK
 case 4:
 YY_RULE_SETUP
-#line 31 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {return(CHIP);}
        YY_BREAK
 case 5:
 YY_RULE_SETUP
-#line 32 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {return(DEVICE);}
        YY_BREAK
 case 6:
 YY_RULE_SETUP
-#line 33 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {return(REGISTER);}
        YY_BREAK
 case 7:
 YY_RULE_SETUP
-#line 34 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=1; return(BOOL);}
        YY_BREAK
 case 8:
 YY_RULE_SETUP
-#line 35 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=0; return(BOOL);}
        YY_BREAK
 case 9:
 YY_RULE_SETUP
-#line 36 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=PCI; return(BUS);}
        YY_BREAK
 case 10:
 YY_RULE_SETUP
-#line 37 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=PNP; return(BUS);}
        YY_BREAK
 case 11:
 YY_RULE_SETUP
-#line 38 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=I2C; return(BUS);}
        YY_BREAK
 case 12:
 YY_RULE_SETUP
-#line 39 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=APIC; return(BUS);}
        YY_BREAK
 case 13:
 YY_RULE_SETUP
-#line 40 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=APIC_CLUSTER; return(BUS);}
        YY_BREAK
 case 14:
 YY_RULE_SETUP
-#line 41 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=PCI_DOMAIN; return(BUS);}
        YY_BREAK
 case 15:
 YY_RULE_SETUP
-#line 42 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=IRQ; return(RESOURCE);}
        YY_BREAK
 case 16:
 YY_RULE_SETUP
-#line 43 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=DRQ; return(RESOURCE);}
        YY_BREAK
 case 17:
 YY_RULE_SETUP
-#line 44 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.number=IO; return(RESOURCE);}
        YY_BREAK
 case 18:
 YY_RULE_SETUP
-#line 45 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {return(END);}
        YY_BREAK
 case 19:
 YY_RULE_SETUP
-#line 46 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {return(EQUALS);}
        YY_BREAK
 case 20:
 YY_RULE_SETUP
-#line 47 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
        YY_BREAK
 case 21:
 YY_RULE_SETUP
-#line 48 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
        YY_BREAK
 case 22:
 YY_RULE_SETUP
-#line 49 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
        YY_BREAK
 case 23:
 /* rule 23 can match eol */
 YY_RULE_SETUP
-#line 50 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
        YY_BREAK
 case 24:
 YY_RULE_SETUP
-#line 51 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 {yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);}
        YY_BREAK
 case 25:
 YY_RULE_SETUP
-#line 52 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
 ECHO;
        YY_BREAK
-#line 932 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
 case YY_STATE_EOF(INITIAL):
        yyterminate();
 
@@ -1220,7 +1204,7 @@ static int yy_get_next_buffer (void)
                while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                        {
                        yy_current_state = (int) yy_def[yy_current_state];
-                       if ( yy_current_state >= 86 )
+                       if ( yy_current_state >= 87 )
                                yy_c = yy_meta[(unsigned int) yy_c];
                        }
                yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1248,11 +1232,11 @@ static int yy_get_next_buffer (void)
        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                {
                yy_current_state = (int) yy_def[yy_current_state];
-               if ( yy_current_state >= 86 )
+               if ( yy_current_state >= 87 )
                        yy_c = yy_meta[(unsigned int) yy_c];
                }
        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-       yy_is_jam = (yy_current_state == 85);
+       yy_is_jam = (yy_current_state == 86);
 
        return yy_is_jam ? 0 : yy_current_state;
 }
@@ -1686,8 +1670,8 @@ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
 
 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  * scan from a @e copy of @a bytes.
- * @param bytes the byte buffer to scan
- * @param len the number of bytes in the buffer pointed to by @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  * 
  * @return the newly allocated buffer state object.
  */
@@ -1926,7 +1910,3 @@ void yyfree (void * ptr )
 
 #define YYTABLES_NAME "yytables"
 
-#line 52 "/home/Patrick/work/coreboot/util/sconfig/sconfig.l"
-
-
-