From 2481a8e148a4ddec82fc8759b3ed3773e0854a98 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 5 Nov 2012 15:54:13 -0800 Subject: [PATCH] vax_cpu.c, vax_cpu.h Added optional per CPU #define of CPU_MODEL_MODIFIERS which would be defined in vaxXXX_defs.h and be added to the cpu_mod array. --- VAX/vax_cpu.c | 1 + VAX/vax_defs.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/VAX/vax_cpu.c b/VAX/vax_cpu.c index a2aa2bab..cf8f5ebd 100644 --- a/VAX/vax_cpu.c +++ b/VAX/vax_cpu.c @@ -475,6 +475,7 @@ MTAB cpu_mod[] = { &cpu_set_hist, &cpu_show_hist }, { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "VIRTUAL", NULL, NULL, &cpu_show_virt }, + CPU_MODEL_MODIFIERS /* Model specific cpu modifiers from vaxXXX_defs.h */ { 0 } }; diff --git a/VAX/vax_defs.h b/VAX/vax_defs.h index fb49cb23..601d73b3 100644 --- a/VAX/vax_defs.h +++ b/VAX/vax_defs.h @@ -739,5 +739,8 @@ void cpu_idle (void); #else #include "vaxmod_defs.h" #endif +#ifndef CPU_MODEL_MODIFIERS +#define CPU_MODEL_MODIFIERS /* No model specific CPU modifiers */ +#endif #endif /* _VAX_DEFS_H */