blob: 5fa9d19362178bdc328b9b52b260ff76dd307ea3 [file] [log] [blame]
Nico Huberd9b2f792020-04-28 16:28:03 +02001/* A Bison parser, made by GNU Bison 3.5.4. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +00002
Sven Schnelle0fa50a12012-06-21 22:19:48 +02003/* Bison interface for Yacc-like parsers in C
Stefan Reinauer2e78aa52016-05-07 01:11:14 -07004
Nico Huberd9b2f792020-04-28 16:28:03 +02005 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
6 Inc.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -07007
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +00008 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.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070012
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000013 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.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070017
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000018 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://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.
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070030
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000031 This special exception was added by the Free Software Foundation in
32 version 2.2 of Bison. */
33
Nico Huberd9b2f792020-04-28 16:28:03 +020034/* Undocumented macros, especially those whose name start with YY_,
35 are private implementation details. Do not rely on them. */
36
37#ifndef YY_YY_HOME_ME_REPOS_COREBOOTORG_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
38# define YY_YY_HOME_ME_REPOS_COREBOOTORG_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070039/* Debug traces. */
40#ifndef YYDEBUG
41# define YYDEBUG 0
42#endif
43#if YYDEBUG
44extern int yydebug;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000045#endif
46
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070047/* Token type. */
48#ifndef YYTOKENTYPE
49# define YYTOKENTYPE
50 enum yytokentype
51 {
52 CHIP = 258,
53 DEVICE = 259,
54 REGISTER = 260,
55 BOOL = 261,
Ronald G. Minnich466ca2c2019-10-22 02:02:24 +000056 STATUS = 262,
57 MANDATORY = 263,
58 BUS = 264,
59 RESOURCE = 265,
60 END = 266,
61 EQUALS = 267,
62 HEX = 268,
63 STRING = 269,
64 PCI = 270,
65 PNP = 271,
66 I2C = 272,
67 APIC = 273,
68 CPU_CLUSTER = 274,
69 CPU = 275,
70 DOMAIN = 276,
71 IRQ = 277,
72 DRQ = 278,
73 SLOT_DESC = 279,
74 IO = 280,
75 NUMBER = 281,
76 SUBSYSTEMID = 282,
77 INHERIT = 283,
78 IOAPIC_IRQ = 284,
79 IOAPIC = 285,
80 PCIINT = 286,
81 GENERIC = 287,
82 SPI = 288,
83 USB = 289,
Raul E Rangel3f3f53c2020-05-06 11:47:04 -060084 MMIO = 290,
85 LPC = 291,
86 ESPI = 292
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070087 };
88#endif
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000089
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070090/* Value type. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000091#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070092union YYSTYPE
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000093{
94
Furquan Shaikh93198262018-06-03 04:22:17 -070095 struct device *dev;
Furquan Shaikhc56ae2f2018-05-31 10:33:16 -070096 struct chip_instance *chip_instance;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000097 char *string;
98 int number;
99
100
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700101};
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700102typedef union YYSTYPE YYSTYPE;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000103# define YYSTYPE_IS_TRIVIAL 1
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000104# define YYSTYPE_IS_DECLARED 1
105#endif
106
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700107
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000108extern YYSTYPE yylval;
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700109
110int yyparse (void);
111
Nico Huberd9b2f792020-04-28 16:28:03 +0200112#endif /* !YY_YY_HOME_ME_REPOS_COREBOOTORG_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED */