regen lex/yacc autogenerated files after writemem command added

This commit is contained in:
Stanislav Shwartsman 2022-08-23 21:20:55 +03:00
parent 3cd6a92c8e
commit fc39d2b6fe
3 changed files with 2264 additions and 2234 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -109,65 +109,66 @@ extern int bxdebug;
BX_TOKEN_DISFORMAT = 310, /* BX_TOKEN_DISFORMAT */
BX_TOKEN_RESTORE = 311, /* BX_TOKEN_RESTORE */
BX_TOKEN_WRITEMEM = 312, /* BX_TOKEN_WRITEMEM */
BX_TOKEN_SETPMEM = 313, /* BX_TOKEN_SETPMEM */
BX_TOKEN_SYMBOLNAME = 314, /* BX_TOKEN_SYMBOLNAME */
BX_TOKEN_QUERY = 315, /* BX_TOKEN_QUERY */
BX_TOKEN_PENDING = 316, /* BX_TOKEN_PENDING */
BX_TOKEN_TAKE = 317, /* BX_TOKEN_TAKE */
BX_TOKEN_DMA = 318, /* BX_TOKEN_DMA */
BX_TOKEN_IRQ = 319, /* BX_TOKEN_IRQ */
BX_TOKEN_SMI = 320, /* BX_TOKEN_SMI */
BX_TOKEN_NMI = 321, /* BX_TOKEN_NMI */
BX_TOKEN_TLB = 322, /* BX_TOKEN_TLB */
BX_TOKEN_DISASM = 323, /* BX_TOKEN_DISASM */
BX_TOKEN_INSTRUMENT = 324, /* BX_TOKEN_INSTRUMENT */
BX_TOKEN_STRING = 325, /* BX_TOKEN_STRING */
BX_TOKEN_STOP = 326, /* BX_TOKEN_STOP */
BX_TOKEN_DOIT = 327, /* BX_TOKEN_DOIT */
BX_TOKEN_CRC = 328, /* BX_TOKEN_CRC */
BX_TOKEN_TRACE = 329, /* BX_TOKEN_TRACE */
BX_TOKEN_TRACEREG = 330, /* BX_TOKEN_TRACEREG */
BX_TOKEN_TRACEMEM = 331, /* BX_TOKEN_TRACEMEM */
BX_TOKEN_SWITCH_MODE = 332, /* BX_TOKEN_SWITCH_MODE */
BX_TOKEN_SIZE = 333, /* BX_TOKEN_SIZE */
BX_TOKEN_PTIME = 334, /* BX_TOKEN_PTIME */
BX_TOKEN_TIMEBP_ABSOLUTE = 335, /* BX_TOKEN_TIMEBP_ABSOLUTE */
BX_TOKEN_TIMEBP = 336, /* BX_TOKEN_TIMEBP */
BX_TOKEN_MODEBP = 337, /* BX_TOKEN_MODEBP */
BX_TOKEN_VMEXITBP = 338, /* BX_TOKEN_VMEXITBP */
BX_TOKEN_PRINT_STACK = 339, /* BX_TOKEN_PRINT_STACK */
BX_TOKEN_BT = 340, /* BX_TOKEN_BT */
BX_TOKEN_WATCH = 341, /* BX_TOKEN_WATCH */
BX_TOKEN_UNWATCH = 342, /* BX_TOKEN_UNWATCH */
BX_TOKEN_READ = 343, /* BX_TOKEN_READ */
BX_TOKEN_WRITE = 344, /* BX_TOKEN_WRITE */
BX_TOKEN_SHOW = 345, /* BX_TOKEN_SHOW */
BX_TOKEN_LOAD_SYMBOLS = 346, /* BX_TOKEN_LOAD_SYMBOLS */
BX_TOKEN_SYMBOLS = 347, /* BX_TOKEN_SYMBOLS */
BX_TOKEN_LIST_SYMBOLS = 348, /* BX_TOKEN_LIST_SYMBOLS */
BX_TOKEN_GLOBAL = 349, /* BX_TOKEN_GLOBAL */
BX_TOKEN_WHERE = 350, /* BX_TOKEN_WHERE */
BX_TOKEN_PRINT_STRING = 351, /* BX_TOKEN_PRINT_STRING */
BX_TOKEN_NUMERIC = 352, /* BX_TOKEN_NUMERIC */
BX_TOKEN_PAGE = 353, /* BX_TOKEN_PAGE */
BX_TOKEN_HELP = 354, /* BX_TOKEN_HELP */
BX_TOKEN_XML = 355, /* BX_TOKEN_XML */
BX_TOKEN_CALC = 356, /* BX_TOKEN_CALC */
BX_TOKEN_DEVICE = 357, /* BX_TOKEN_DEVICE */
BX_TOKEN_GENERIC = 358, /* BX_TOKEN_GENERIC */
BX_TOKEN_RSHIFT = 359, /* BX_TOKEN_RSHIFT */
BX_TOKEN_LSHIFT = 360, /* BX_TOKEN_LSHIFT */
BX_TOKEN_EQ = 361, /* BX_TOKEN_EQ */
BX_TOKEN_NE = 362, /* BX_TOKEN_NE */
BX_TOKEN_LE = 363, /* BX_TOKEN_LE */
BX_TOKEN_GE = 364, /* BX_TOKEN_GE */
BX_TOKEN_REG_IP = 365, /* BX_TOKEN_REG_IP */
BX_TOKEN_REG_EIP = 366, /* BX_TOKEN_REG_EIP */
BX_TOKEN_REG_RIP = 367, /* BX_TOKEN_REG_RIP */
BX_TOKEN_REG_SSP = 368, /* BX_TOKEN_REG_SSP */
NOT = 369, /* NOT */
NEG = 370, /* NEG */
INDIRECT = 371 /* INDIRECT */
BX_TOKEN_LOADMEM = 313, /* BX_TOKEN_LOADMEM */
BX_TOKEN_SETPMEM = 314, /* BX_TOKEN_SETPMEM */
BX_TOKEN_SYMBOLNAME = 315, /* BX_TOKEN_SYMBOLNAME */
BX_TOKEN_QUERY = 316, /* BX_TOKEN_QUERY */
BX_TOKEN_PENDING = 317, /* BX_TOKEN_PENDING */
BX_TOKEN_TAKE = 318, /* BX_TOKEN_TAKE */
BX_TOKEN_DMA = 319, /* BX_TOKEN_DMA */
BX_TOKEN_IRQ = 320, /* BX_TOKEN_IRQ */
BX_TOKEN_SMI = 321, /* BX_TOKEN_SMI */
BX_TOKEN_NMI = 322, /* BX_TOKEN_NMI */
BX_TOKEN_TLB = 323, /* BX_TOKEN_TLB */
BX_TOKEN_DISASM = 324, /* BX_TOKEN_DISASM */
BX_TOKEN_INSTRUMENT = 325, /* BX_TOKEN_INSTRUMENT */
BX_TOKEN_STRING = 326, /* BX_TOKEN_STRING */
BX_TOKEN_STOP = 327, /* BX_TOKEN_STOP */
BX_TOKEN_DOIT = 328, /* BX_TOKEN_DOIT */
BX_TOKEN_CRC = 329, /* BX_TOKEN_CRC */
BX_TOKEN_TRACE = 330, /* BX_TOKEN_TRACE */
BX_TOKEN_TRACEREG = 331, /* BX_TOKEN_TRACEREG */
BX_TOKEN_TRACEMEM = 332, /* BX_TOKEN_TRACEMEM */
BX_TOKEN_SWITCH_MODE = 333, /* BX_TOKEN_SWITCH_MODE */
BX_TOKEN_SIZE = 334, /* BX_TOKEN_SIZE */
BX_TOKEN_PTIME = 335, /* BX_TOKEN_PTIME */
BX_TOKEN_TIMEBP_ABSOLUTE = 336, /* BX_TOKEN_TIMEBP_ABSOLUTE */
BX_TOKEN_TIMEBP = 337, /* BX_TOKEN_TIMEBP */
BX_TOKEN_MODEBP = 338, /* BX_TOKEN_MODEBP */
BX_TOKEN_VMEXITBP = 339, /* BX_TOKEN_VMEXITBP */
BX_TOKEN_PRINT_STACK = 340, /* BX_TOKEN_PRINT_STACK */
BX_TOKEN_BT = 341, /* BX_TOKEN_BT */
BX_TOKEN_WATCH = 342, /* BX_TOKEN_WATCH */
BX_TOKEN_UNWATCH = 343, /* BX_TOKEN_UNWATCH */
BX_TOKEN_READ = 344, /* BX_TOKEN_READ */
BX_TOKEN_WRITE = 345, /* BX_TOKEN_WRITE */
BX_TOKEN_SHOW = 346, /* BX_TOKEN_SHOW */
BX_TOKEN_LOAD_SYMBOLS = 347, /* BX_TOKEN_LOAD_SYMBOLS */
BX_TOKEN_SYMBOLS = 348, /* BX_TOKEN_SYMBOLS */
BX_TOKEN_LIST_SYMBOLS = 349, /* BX_TOKEN_LIST_SYMBOLS */
BX_TOKEN_GLOBAL = 350, /* BX_TOKEN_GLOBAL */
BX_TOKEN_WHERE = 351, /* BX_TOKEN_WHERE */
BX_TOKEN_PRINT_STRING = 352, /* BX_TOKEN_PRINT_STRING */
BX_TOKEN_NUMERIC = 353, /* BX_TOKEN_NUMERIC */
BX_TOKEN_PAGE = 354, /* BX_TOKEN_PAGE */
BX_TOKEN_HELP = 355, /* BX_TOKEN_HELP */
BX_TOKEN_XML = 356, /* BX_TOKEN_XML */
BX_TOKEN_CALC = 357, /* BX_TOKEN_CALC */
BX_TOKEN_DEVICE = 358, /* BX_TOKEN_DEVICE */
BX_TOKEN_GENERIC = 359, /* BX_TOKEN_GENERIC */
BX_TOKEN_RSHIFT = 360, /* BX_TOKEN_RSHIFT */
BX_TOKEN_LSHIFT = 361, /* BX_TOKEN_LSHIFT */
BX_TOKEN_EQ = 362, /* BX_TOKEN_EQ */
BX_TOKEN_NE = 363, /* BX_TOKEN_NE */
BX_TOKEN_LE = 364, /* BX_TOKEN_LE */
BX_TOKEN_GE = 365, /* BX_TOKEN_GE */
BX_TOKEN_REG_IP = 366, /* BX_TOKEN_REG_IP */
BX_TOKEN_REG_EIP = 367, /* BX_TOKEN_REG_EIP */
BX_TOKEN_REG_RIP = 368, /* BX_TOKEN_REG_RIP */
BX_TOKEN_REG_SSP = 369, /* BX_TOKEN_REG_SSP */
NOT = 370, /* NOT */
NEG = 371, /* NEG */
INDIRECT = 372 /* INDIRECT */
};
typedef enum yytokentype yytoken_kind_t;
#endif
@ -231,65 +232,66 @@ extern int bxdebug;
#define BX_TOKEN_DISFORMAT 310
#define BX_TOKEN_RESTORE 311
#define BX_TOKEN_WRITEMEM 312
#define BX_TOKEN_SETPMEM 313
#define BX_TOKEN_SYMBOLNAME 314
#define BX_TOKEN_QUERY 315
#define BX_TOKEN_PENDING 316
#define BX_TOKEN_TAKE 317
#define BX_TOKEN_DMA 318
#define BX_TOKEN_IRQ 319
#define BX_TOKEN_SMI 320
#define BX_TOKEN_NMI 321
#define BX_TOKEN_TLB 322
#define BX_TOKEN_DISASM 323
#define BX_TOKEN_INSTRUMENT 324
#define BX_TOKEN_STRING 325
#define BX_TOKEN_STOP 326
#define BX_TOKEN_DOIT 327
#define BX_TOKEN_CRC 328
#define BX_TOKEN_TRACE 329
#define BX_TOKEN_TRACEREG 330
#define BX_TOKEN_TRACEMEM 331
#define BX_TOKEN_SWITCH_MODE 332
#define BX_TOKEN_SIZE 333
#define BX_TOKEN_PTIME 334
#define BX_TOKEN_TIMEBP_ABSOLUTE 335
#define BX_TOKEN_TIMEBP 336
#define BX_TOKEN_MODEBP 337
#define BX_TOKEN_VMEXITBP 338
#define BX_TOKEN_PRINT_STACK 339
#define BX_TOKEN_BT 340
#define BX_TOKEN_WATCH 341
#define BX_TOKEN_UNWATCH 342
#define BX_TOKEN_READ 343
#define BX_TOKEN_WRITE 344
#define BX_TOKEN_SHOW 345
#define BX_TOKEN_LOAD_SYMBOLS 346
#define BX_TOKEN_SYMBOLS 347
#define BX_TOKEN_LIST_SYMBOLS 348
#define BX_TOKEN_GLOBAL 349
#define BX_TOKEN_WHERE 350
#define BX_TOKEN_PRINT_STRING 351
#define BX_TOKEN_NUMERIC 352
#define BX_TOKEN_PAGE 353
#define BX_TOKEN_HELP 354
#define BX_TOKEN_XML 355
#define BX_TOKEN_CALC 356
#define BX_TOKEN_DEVICE 357
#define BX_TOKEN_GENERIC 358
#define BX_TOKEN_RSHIFT 359
#define BX_TOKEN_LSHIFT 360
#define BX_TOKEN_EQ 361
#define BX_TOKEN_NE 362
#define BX_TOKEN_LE 363
#define BX_TOKEN_GE 364
#define BX_TOKEN_REG_IP 365
#define BX_TOKEN_REG_EIP 366
#define BX_TOKEN_REG_RIP 367
#define BX_TOKEN_REG_SSP 368
#define NOT 369
#define NEG 370
#define INDIRECT 371
#define BX_TOKEN_LOADMEM 313
#define BX_TOKEN_SETPMEM 314
#define BX_TOKEN_SYMBOLNAME 315
#define BX_TOKEN_QUERY 316
#define BX_TOKEN_PENDING 317
#define BX_TOKEN_TAKE 318
#define BX_TOKEN_DMA 319
#define BX_TOKEN_IRQ 320
#define BX_TOKEN_SMI 321
#define BX_TOKEN_NMI 322
#define BX_TOKEN_TLB 323
#define BX_TOKEN_DISASM 324
#define BX_TOKEN_INSTRUMENT 325
#define BX_TOKEN_STRING 326
#define BX_TOKEN_STOP 327
#define BX_TOKEN_DOIT 328
#define BX_TOKEN_CRC 329
#define BX_TOKEN_TRACE 330
#define BX_TOKEN_TRACEREG 331
#define BX_TOKEN_TRACEMEM 332
#define BX_TOKEN_SWITCH_MODE 333
#define BX_TOKEN_SIZE 334
#define BX_TOKEN_PTIME 335
#define BX_TOKEN_TIMEBP_ABSOLUTE 336
#define BX_TOKEN_TIMEBP 337
#define BX_TOKEN_MODEBP 338
#define BX_TOKEN_VMEXITBP 339
#define BX_TOKEN_PRINT_STACK 340
#define BX_TOKEN_BT 341
#define BX_TOKEN_WATCH 342
#define BX_TOKEN_UNWATCH 343
#define BX_TOKEN_READ 344
#define BX_TOKEN_WRITE 345
#define BX_TOKEN_SHOW 346
#define BX_TOKEN_LOAD_SYMBOLS 347
#define BX_TOKEN_SYMBOLS 348
#define BX_TOKEN_LIST_SYMBOLS 349
#define BX_TOKEN_GLOBAL 350
#define BX_TOKEN_WHERE 351
#define BX_TOKEN_PRINT_STRING 352
#define BX_TOKEN_NUMERIC 353
#define BX_TOKEN_PAGE 354
#define BX_TOKEN_HELP 355
#define BX_TOKEN_XML 356
#define BX_TOKEN_CALC 357
#define BX_TOKEN_DEVICE 358
#define BX_TOKEN_GENERIC 359
#define BX_TOKEN_RSHIFT 360
#define BX_TOKEN_LSHIFT 361
#define BX_TOKEN_EQ 362
#define BX_TOKEN_NE 363
#define BX_TOKEN_LE 364
#define BX_TOKEN_GE 365
#define BX_TOKEN_REG_IP 366
#define BX_TOKEN_REG_EIP 367
#define BX_TOKEN_REG_RIP 368
#define BX_TOKEN_REG_SSP 369
#define NOT 370
#define NEG 371
#define INDIRECT 372
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
@ -301,7 +303,7 @@ union YYSTYPE
Bit64u uval;
unsigned bval;
#line 305 "y.tab.h"
#line 307 "y.tab.h"
};
typedef union YYSTYPE YYSTYPE;