1 /* cpu.h 4.3 81/02/26 */ 2 3 #ifndef LOCORE 4 /* 5 * Cpu identification, from SID register. 6 */ 7 union cpusid { 8 int cpusid; 9 struct cpuany { 10 u_int :24, 11 cp_type:8; 12 } cpuany; 13 struct cpu780 { 14 u_int cp_sno:12, /* serial number */ 15 cp_plant:3, /* plant number */ 16 cp_eco:9, /* eco level */ 17 cp_type:8; /* VAX_780 */ 18 } cpu780; 19 struct cpu750 { 20 u_int cp_hrev:8, /* hardware rev level */ 21 cp_urev:8, /* ucode rev level */ 22 :8, 23 cp_type:8; /* VAX_750 */ 24 } cpu750; 25 }; 26 #endif 27 #define VAX_780 1 28 #define VAX_750 2 29 30 #define VAX_MAX 2 31 32 #ifndef LOCORE 33 /* 34 * Per-cpu information for system. 35 */ 36 struct percpu { 37 int (*pc_config)(); 38 short pc_cputype; 39 }; 40 41 #ifdef KERNEL 42 int cpu; 43 #endif 44 #endif 45