2016-05-07 10:11:14 +02:00
|
|
|
/* A Bison parser, made by GNU Bison 3.0.4. */
|
2010-04-08 13:37:43 +02:00
|
|
|
|
2012-06-21 22:19:48 +02:00
|
|
|
/* Bison interface for Yacc-like parsers in C
|
2016-05-07 10:11:14 +02:00
|
|
|
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
|
|
|
|
|
2010-04-08 13:37:43 +02:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2016-05-07 10:11:14 +02:00
|
|
|
|
2010-04-08 13:37:43 +02:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
2016-05-07 10:11:14 +02:00
|
|
|
|
2010-04-08 13:37:43 +02:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
|
|
under terms of your choice, so long as that work isn't itself a
|
|
|
|
parser generator using the skeleton or a modified version thereof
|
|
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
|
|
special exception, which will cause the skeleton and the resulting
|
|
|
|
Bison output files to be licensed under the GNU General Public
|
|
|
|
License without this special exception.
|
2016-05-07 10:11:14 +02:00
|
|
|
|
2010-04-08 13:37:43 +02:00
|
|
|
This special exception was added by the Free Software Foundation in
|
|
|
|
version 2.2 of Bison. */
|
|
|
|
|
2018-01-18 01:36:30 +01:00
|
|
|
#ifndef YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
|
|
|
|
# define YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED
|
2016-05-07 10:11:14 +02:00
|
|
|
/* Debug traces. */
|
|
|
|
#ifndef YYDEBUG
|
|
|
|
# define YYDEBUG 0
|
|
|
|
#endif
|
|
|
|
#if YYDEBUG
|
|
|
|
extern int yydebug;
|
|
|
|
#endif
|
2010-04-08 13:37:43 +02:00
|
|
|
|
2016-05-07 10:11:14 +02:00
|
|
|
/* Token type. */
|
2010-04-08 13:37:43 +02:00
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
# define YYTOKENTYPE
|
2016-05-07 10:11:14 +02:00
|
|
|
enum yytokentype
|
|
|
|
{
|
|
|
|
CHIP = 258,
|
|
|
|
DEVICE = 259,
|
|
|
|
REGISTER = 260,
|
|
|
|
BOOL = 261,
|
|
|
|
BUS = 262,
|
|
|
|
RESOURCE = 263,
|
|
|
|
END = 264,
|
|
|
|
EQUALS = 265,
|
|
|
|
HEX = 266,
|
|
|
|
STRING = 267,
|
|
|
|
PCI = 268,
|
|
|
|
PNP = 269,
|
|
|
|
I2C = 270,
|
|
|
|
APIC = 271,
|
|
|
|
CPU_CLUSTER = 272,
|
|
|
|
CPU = 273,
|
|
|
|
DOMAIN = 274,
|
|
|
|
IRQ = 275,
|
|
|
|
DRQ = 276,
|
|
|
|
IO = 277,
|
|
|
|
NUMBER = 278,
|
|
|
|
SUBSYSTEMID = 279,
|
|
|
|
INHERIT = 280,
|
|
|
|
IOAPIC_IRQ = 281,
|
|
|
|
IOAPIC = 282,
|
2016-05-08 05:01:34 +02:00
|
|
|
PCIINT = 283,
|
2017-02-11 09:50:38 +01:00
|
|
|
GENERIC = 284,
|
2018-01-18 01:36:30 +01:00
|
|
|
SPI = 285,
|
2018-05-07 23:18:13 +02:00
|
|
|
USB = 286,
|
|
|
|
MMIO = 287
|
2016-05-07 10:11:14 +02:00
|
|
|
};
|
2010-04-08 13:37:43 +02:00
|
|
|
#endif
|
|
|
|
|
2016-05-07 10:11:14 +02:00
|
|
|
/* Value type. */
|
2010-04-08 13:37:43 +02:00
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
2016-05-07 10:11:14 +02:00
|
|
|
|
|
|
|
union YYSTYPE
|
2010-04-08 13:37:43 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
struct device *device;
|
2018-05-31 19:33:16 +02:00
|
|
|
struct chip_instance *chip_instance;
|
2010-04-08 13:37:43 +02:00
|
|
|
char *string;
|
|
|
|
int number;
|
|
|
|
|
|
|
|
|
2016-05-07 10:11:14 +02:00
|
|
|
};
|
2010-04-08 13:37:43 +02:00
|
|
|
|
2016-05-07 10:11:14 +02:00
|
|
|
typedef union YYSTYPE YYSTYPE;
|
2010-04-08 13:37:43 +02:00
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
|
|
#endif
|
|
|
|
|
2016-05-07 10:11:14 +02:00
|
|
|
|
2010-04-08 13:37:43 +02:00
|
|
|
extern YYSTYPE yylval;
|
2016-05-07 10:11:14 +02:00
|
|
|
|
|
|
|
int yyparse (void);
|
|
|
|
|
2018-01-18 01:36:30 +01:00
|
|
|
#endif /* !YY_YY_UTIL_SCONFIG_SCONFIG_TAB_H_SHIPPED_INCLUDED */
|