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:
parent
0b1b5f1ede
commit
2481a8e148
2 changed files with 4 additions and 0 deletions
|
@ -475,6 +475,7 @@ MTAB cpu_mod[] = {
|
||||||
&cpu_set_hist, &cpu_show_hist },
|
&cpu_set_hist, &cpu_show_hist },
|
||||||
{ MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "VIRTUAL", NULL,
|
{ MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "VIRTUAL", NULL,
|
||||||
NULL, &cpu_show_virt },
|
NULL, &cpu_show_virt },
|
||||||
|
CPU_MODEL_MODIFIERS /* Model specific cpu modifiers from vaxXXX_defs.h */
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -739,5 +739,8 @@ void cpu_idle (void);
|
||||||
#else
|
#else
|
||||||
#include "vaxmod_defs.h"
|
#include "vaxmod_defs.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef CPU_MODEL_MODIFIERS
|
||||||
|
#define CPU_MODEL_MODIFIERS /* No model specific CPU modifiers */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _VAX_DEFS_H */
|
#endif /* _VAX_DEFS_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue