- memset (&(OPTIONS), 0, sizeof (OPTIONS)); \
- memset (&(OPTIONS).warn, -1, sizeof ((OPTIONS).warn)); \
- (OPTIONS).hi_bit_nr = 0; \
- (OPTIONS).insn_bit_size = default_insn_bit_size; \
- (OPTIONS).insn_specifying_widths = 0; \
- (OPTIONS).prefix.global.name = ""; \
- (OPTIONS).prefix.global.uname = ""; \
- (OPTIONS).prefix.engine = (OPTIONS).prefix.global; \
- (OPTIONS).prefix.icache = (OPTIONS).prefix.global; \
- (OPTIONS).prefix.idecode = (OPTIONS).prefix.global; \
- (OPTIONS).prefix.itable = (OPTIONS).prefix.global; \
- (OPTIONS).prefix.semantics = (OPTIONS).prefix.global; \
- (OPTIONS).prefix.support = (OPTIONS).prefix.global; \
- (OPTIONS).gen.code = generate_calls; \
- (OPTIONS).gen.icache_size = 1024; \
- (OPTIONS).warning = warning; \
+ memset (&options, 0, sizeof options); \
+ memset (&options.warn, -1, sizeof (options.warn)); \
+ options.hi_bit_nr = 0; \
+ options.insn_bit_size = default_insn_bit_size; \
+ options.insn_specifying_widths = 0; \
+ options.module.global.prefix.u = ""; \
+ options.module.global.prefix.l = ""; \
+ /* the prefixes */ \
+ options.module.engine = options.module.global; \
+ options.module.icache = options.module.global; \
+ options.module.idecode = options.module.global; \
+ options.module.itable = options.module.global; \
+ options.module.semantics = options.module.global; \
+ options.module.support = options.module.global; \
+ /* the suffixes */ \
+ options.module.engine.suffix.l = "engine"; \
+ options.module.engine.suffix.u = "ENGINE"; \
+ options.module.icache.suffix.l = "icache"; \
+ options.module.icache.suffix.u = "ICACHE"; \
+ options.module.idecode.suffix.l = "idecode"; \
+ options.module.idecode.suffix.u = "IDECODE"; \
+ options.module.itable.suffix.l = "itable"; \
+ options.module.itable.suffix.u = "ITABLE"; \
+ options.module.semantics.suffix.l = "semantics"; \
+ options.module.semantics.suffix.u = "SEMANTICS"; \
+ options.module.support.suffix.l = "support"; \
+ options.module.support.suffix.u = "SUPPORT"; \
+ /* misc stuff */ \
+ options.gen.code = generate_calls; \
+ options.gen.icache_size = 1024; \
+ options.warning = warning; \