blob: 6996a237eabd3c016e0c59644dfdd762fb55893d [file] [log] [blame]
Nico Huberc0fc38e2022-08-06 19:02:59 +02001/* A Bison parser, made by GNU Bison 3.8.2. */
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
Tim Wawrzynczak13e240c2021-04-28 14:03:07 -06005 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
Nico Huberd9b2f792020-04-28 16:28:03 +02006 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
Nico Huber859ecdf2021-02-28 16:18:18 +010019 along with this program. If not, see <https://www.gnu.org/licenses/>. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000020
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
Duncan Lauriee335c2e2020-07-29 16:28:43 -070034/* 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. */
Nico Huberd9b2f792020-04-28 16:28:03 +020037
Mario Scheithauer67f63e72022-11-02 15:57:10 +010038#ifndef YY_YY_HOME_WERNER_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
39# define YY_YY_HOME_WERNER_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070040/* Debug traces. */
41#ifndef YYDEBUG
42# define YYDEBUG 0
43#endif
44#if YYDEBUG
45extern int yydebug;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +000046#endif
47
Duncan Lauriee335c2e2020-07-29 16:28:43 -070048/* Token kinds. */
Stefan Reinauer2e78aa52016-05-07 01:11:14 -070049#ifndef YYTOKENTYPE
50# define YYTOKENTYPE
51 enum yytokentype
52 {
Duncan Lauriee335c2e2020-07-29 16:28:43 -070053 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 APIC = 276, /* APIC */
76 CPU_CLUSTER = 277, /* CPU_CLUSTER */
77 CPU = 278, /* CPU */
78 DOMAIN = 279, /* DOMAIN */
79 IRQ = 280, /* IRQ */
80 DRQ = 281, /* DRQ */
81 SLOT_DESC = 282, /* SLOT_DESC */
Angel Pons437da712021-09-03 16:51:40 +020082 SMBIOS_DEV_INFO = 283, /* SMBIOS_DEV_INFO */
83 IO = 284, /* IO */
84 NUMBER = 285, /* NUMBER */
85 SUBSYSTEMID = 286, /* SUBSYSTEMID */
86 INHERIT = 287, /* INHERIT */
87 IOAPIC_IRQ = 288, /* IOAPIC_IRQ */
88 IOAPIC = 289, /* IOAPIC */
89 PCIINT = 290, /* PCIINT */
90 GENERIC = 291, /* GENERIC */
91 SPI = 292, /* SPI */
92 USB = 293, /* USB */
93 MMIO = 294, /* MMIO */
94 GPIO = 295, /* GPIO */
Mario Scheithauer67f63e72022-11-02 15:57:10 +010095 MDIO = 296, /* MDIO */
96 FW_CONFIG_TABLE = 297, /* FW_CONFIG_TABLE */
97 FW_CONFIG_FIELD = 298, /* FW_CONFIG_FIELD */
98 FW_CONFIG_OPTION = 299, /* FW_CONFIG_OPTION */
99 FW_CONFIG_PROBE = 300, /* FW_CONFIG_PROBE */
100 PIPE = 301, /* PIPE */
101 OPS = 302 /* OPS */
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700102 };
Duncan Lauriee335c2e2020-07-29 16:28:43 -0700103 typedef enum yytokentype yytoken_kind_t;
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700104#endif
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000105
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700106/* Value type. */
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000107#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700108union YYSTYPE
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000109{
110
Furquan Shaikh93198262018-06-03 04:22:17 -0700111 struct device *dev;
Furquan Shaikhc56ae2f2018-05-31 10:33:16 -0700112 struct chip_instance *chip_instance;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000113 char *string;
Michael Niewöhnerdbb667a2020-12-11 21:26:02 +0100114 uint64_t number;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000115
116
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700117};
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700118typedef union YYSTYPE YYSTYPE;
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000119# define YYSTYPE_IS_TRIVIAL 1
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000120# define YYSTYPE_IS_DECLARED 1
121#endif
122
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700123
Patrick Georgi7e8c9aa2010-04-08 11:37:43 +0000124extern YYSTYPE yylval;
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700125
Angel Pons437da712021-09-03 16:51:40 +0200126
Stefan Reinauer2e78aa52016-05-07 01:11:14 -0700127int yyparse (void);
128
Angel Pons437da712021-09-03 16:51:40 +0200129
Mario Scheithauer67f63e72022-11-02 15:57:10 +0100130#endif /* !YY_YY_HOME_WERNER_COREBOOT_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED */