@@ -141,7 +141,7 @@ extern "C" int getargs(procsinfo*, int, char*, int);
141
141
#define ERROR_MP_VMGETINFO_FAILED 102
142
142
#define ERROR_MP_VMGETINFO_CLAIMS_NO_SUPPORT_FOR_64K 103
143
143
144
- // excerpts from systemcfg.h that might be missing on older os levels
144
+ // excerpts from sys/ systemcfg.h that might be missing on older os levels
145
145
#ifndef PV_7
146
146
#define PV_7 0x200000 /* Power PC 7 */
147
147
#endif
@@ -160,7 +160,12 @@ extern "C" int getargs(procsinfo*, int, char*, int);
160
160
#ifndef PV_9_Compat
161
161
#define PV_9_Compat 0x408000 /* Power PC 9 */
162
162
#endif
163
-
163
+ #ifndef PV_10
164
+ #define PV_10 0x500000 /* Power PC 10 */
165
+ #endif
166
+ #ifndef PV_10_Compat
167
+ #define PV_10_Compat 0x508000 /* Power PC 10 */
168
+ #endif
164
169
165
170
static address resolve_function_descriptor_to_code_pointer (address p);
166
171
@@ -1312,6 +1317,9 @@ void os::print_memory_info(outputStream* st) {
1312
1317
void os::get_summary_cpu_info (char * buf, size_t buflen) {
1313
1318
// read _system_configuration.version
1314
1319
switch (_system_configuration.version ) {
1320
+ case PV_10:
1321
+ strncpy (buf, " Power PC 10" , buflen);
1322
+ break ;
1315
1323
case PV_9:
1316
1324
strncpy (buf, " Power PC 9" , buflen);
1317
1325
break ;
@@ -1351,6 +1359,9 @@ void os::get_summary_cpu_info(char* buf, size_t buflen) {
1351
1359
case PV_9_Compat:
1352
1360
strncpy (buf, " PV_9_Compat" , buflen);
1353
1361
break ;
1362
+ case PV_10_Compat:
1363
+ strncpy (buf, " PV_10_Compat" , buflen);
1364
+ break ;
1354
1365
default :
1355
1366
strncpy (buf, " unknown" , buflen);
1356
1367
}
0 commit comments