xref: /aosp_15_r20/external/coreboot/util/sconfig/sconfig.tab.h_shipped (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1/* A Bison parser, made by GNU Bison 3.8.2.  */
2
3/* Bison interface for Yacc-like parsers in C
4
5   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
6   Inc.
7
8   This program is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
20
21/* As a special exception, you may create a larger work that contains
22   part or all of the Bison parser skeleton and distribute that work
23   under terms of your choice, so long as that work isn't itself a
24   parser generator using the skeleton or a modified version thereof
25   as a parser skeleton.  Alternatively, if you modify or redistribute
26   the parser skeleton itself, you may (at your option) remove this
27   special exception, which will cause the skeleton and the resulting
28   Bison output files to be licensed under the GNU General Public
29   License without this special exception.
30
31   This special exception was added by the Free Software Foundation in
32   version 2.2 of Bison.  */
33
34/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35   especially those whose name start with YY_ or yy_.  They are
36   private implementation details that can be changed or removed.  */
37
38#ifndef YY_YY_HOME_ARTHUR_SRC_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
39# define YY_YY_HOME_ARTHUR_SRC_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
40/* Debug traces.  */
41#ifndef YYDEBUG
42# define YYDEBUG 0
43#endif
44#if YYDEBUG
45extern int yydebug;
46#endif
47
48/* Token kinds.  */
49#ifndef YYTOKENTYPE
50# define YYTOKENTYPE
51  enum yytokentype
52  {
53    YYEMPTY = -2,
54    YYEOF = 0,                     /* "end of file"  */
55    YYerror = 256,                 /* error  */
56    YYUNDEF = 257,                 /* "invalid token"  */
57    CHIP = 258,                    /* CHIP  */
58    DEVICE = 259,                  /* DEVICE  */
59    REGISTER = 260,                /* REGISTER  */
60    ALIAS = 261,                   /* ALIAS  */
61    REFERENCE = 262,               /* REFERENCE  */
62    ASSOCIATION = 263,             /* ASSOCIATION  */
63    BOOL = 264,                    /* BOOL  */
64    STATUS = 265,                  /* STATUS  */
65    MANDATORY = 266,               /* MANDATORY  */
66    BUS = 267,                     /* BUS  */
67    RESOURCE = 268,                /* RESOURCE  */
68    END = 269,                     /* END  */
69    EQUALS = 270,                  /* EQUALS  */
70    HEX = 271,                     /* HEX  */
71    STRING = 272,                  /* STRING  */
72    PCI = 273,                     /* PCI  */
73    PNP = 274,                     /* PNP  */
74    I2C = 275,                     /* I2C  */
75    CPU_CLUSTER = 276,             /* CPU_CLUSTER  */
76    CPU = 277,                     /* CPU  */
77    DOMAIN = 278,                  /* DOMAIN  */
78    IRQ = 279,                     /* IRQ  */
79    DRQ = 280,                     /* DRQ  */
80    SLOT_DESC = 281,               /* SLOT_DESC  */
81    SMBIOS_DEV_INFO = 282,         /* SMBIOS_DEV_INFO  */
82    IO = 283,                      /* IO  */
83    NUMBER = 284,                  /* NUMBER  */
84    SUBSYSTEMID = 285,             /* SUBSYSTEMID  */
85    INHERIT = 286,                 /* INHERIT  */
86    PCIINT = 287,                  /* PCIINT  */
87    GENERIC = 288,                 /* GENERIC  */
88    SPI = 289,                     /* SPI  */
89    USB = 290,                     /* USB  */
90    MMIO = 291,                    /* MMIO  */
91    GPIO = 292,                    /* GPIO  */
92    MDIO = 293,                    /* MDIO  */
93    FW_CONFIG_TABLE = 294,         /* FW_CONFIG_TABLE  */
94    FW_CONFIG_FIELD = 295,         /* FW_CONFIG_FIELD  */
95    FW_CONFIG_OPTION = 296,        /* FW_CONFIG_OPTION  */
96    FW_CONFIG_PROBE = 297,         /* FW_CONFIG_PROBE  */
97    PIPE = 298,                    /* PIPE  */
98    OPS = 299                      /* OPS  */
99  };
100  typedef enum yytokentype yytoken_kind_t;
101#endif
102
103/* Value type.  */
104#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
105union YYSTYPE
106{
107
108	struct device *dev;
109	struct chip_instance *chip_instance;
110	char *string;
111	uint64_t number;
112
113
114};
115typedef union YYSTYPE YYSTYPE;
116# define YYSTYPE_IS_TRIVIAL 1
117# define YYSTYPE_IS_DECLARED 1
118#endif
119
120
121extern YYSTYPE yylval;
122
123
124int yyparse (void);
125
126
127#endif /* !YY_YY_HOME_ARTHUR_SRC_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED  */
128