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.

This commit is contained in:
Mark Pizzolato 2012-11-05 15:54:13 -08:00
parent 0b1b5f1ede
commit 2481a8e148
2 changed files with 4 additions and 0 deletions

View file

@ -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 }
};

View file

@ -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 */