| .. | .. |
|---|
| 341 | 341 | "ACPI_TYPE", "NODES", "OBJECTS"); |
|---|
| 342 | 342 | |
|---|
| 343 | 343 | for (i = 0; i < ACPI_TYPE_NS_NODE_MAX; i++) { |
|---|
| 344 | | - acpi_os_printf("%16.16s % 10ld% 10ld\n", |
|---|
| 344 | + acpi_os_printf("%16.16s %10u %10u\n", |
|---|
| 345 | 345 | acpi_ut_get_type_name(i), |
|---|
| 346 | 346 | acpi_gbl_node_type_count[i], |
|---|
| 347 | 347 | acpi_gbl_obj_type_count[i]); |
|---|
| 348 | 348 | } |
|---|
| 349 | 349 | |
|---|
| 350 | | - acpi_os_printf("%16.16s % 10ld% 10ld\n", "Misc/Unknown", |
|---|
| 350 | + acpi_os_printf("%16.16s %10u %10u\n", "Misc/Unknown", |
|---|
| 351 | 351 | acpi_gbl_node_type_count_misc, |
|---|
| 352 | 352 | acpi_gbl_obj_type_count_misc); |
|---|
| 353 | 353 | |
|---|
| 354 | | - acpi_os_printf("%16.16s % 10ld% 10ld\n", "TOTALS:", |
|---|
| 354 | + acpi_os_printf("%16.16s %10u %10u\n", "TOTALS:", |
|---|
| 355 | 355 | acpi_gbl_num_nodes, acpi_gbl_num_objects); |
|---|
| 356 | 356 | break; |
|---|
| 357 | 357 | |
|---|
| .. | .. |
|---|
| 379 | 379 | case CMD_STAT_MISC: |
|---|
| 380 | 380 | |
|---|
| 381 | 381 | acpi_os_printf("\nMiscellaneous Statistics:\n\n"); |
|---|
| 382 | | - acpi_os_printf("Calls to AcpiPsFind:.. ........% 7ld\n", |
|---|
| 382 | + acpi_os_printf("%-28s: %7u\n", "Calls to AcpiPsFind", |
|---|
| 383 | 383 | acpi_gbl_ps_find_count); |
|---|
| 384 | | - acpi_os_printf("Calls to AcpiNsLookup:..........% 7ld\n", |
|---|
| 384 | + acpi_os_printf("%-28s: %7u\n", "Calls to AcpiNsLookup", |
|---|
| 385 | 385 | acpi_gbl_ns_lookup_count); |
|---|
| 386 | 386 | |
|---|
| 387 | | - acpi_os_printf("\n"); |
|---|
| 388 | | - |
|---|
| 389 | | - acpi_os_printf("Mutex usage:\n\n"); |
|---|
| 387 | + acpi_os_printf("\nMutex usage:\n\n"); |
|---|
| 390 | 388 | for (i = 0; i < ACPI_NUM_MUTEX; i++) { |
|---|
| 391 | | - acpi_os_printf("%-28s: % 7ld\n", |
|---|
| 389 | + acpi_os_printf("%-28s: %7u\n", |
|---|
| 392 | 390 | acpi_ut_get_mutex_name(i), |
|---|
| 393 | 391 | acpi_gbl_mutex_info[i].use_count); |
|---|
| 394 | 392 | } |
|---|
| .. | .. |
|---|
| 399 | 397 | acpi_os_printf("\nInternal object sizes:\n\n"); |
|---|
| 400 | 398 | |
|---|
| 401 | 399 | acpi_os_printf("Common %3d\n", |
|---|
| 402 | | - sizeof(struct acpi_object_common)); |
|---|
| 400 | + (u32)sizeof(struct acpi_object_common)); |
|---|
| 403 | 401 | acpi_os_printf("Number %3d\n", |
|---|
| 404 | | - sizeof(struct acpi_object_integer)); |
|---|
| 402 | + (u32)sizeof(struct acpi_object_integer)); |
|---|
| 405 | 403 | acpi_os_printf("String %3d\n", |
|---|
| 406 | | - sizeof(struct acpi_object_string)); |
|---|
| 404 | + (u32)sizeof(struct acpi_object_string)); |
|---|
| 407 | 405 | acpi_os_printf("Buffer %3d\n", |
|---|
| 408 | | - sizeof(struct acpi_object_buffer)); |
|---|
| 406 | + (u32)sizeof(struct acpi_object_buffer)); |
|---|
| 409 | 407 | acpi_os_printf("Package %3d\n", |
|---|
| 410 | | - sizeof(struct acpi_object_package)); |
|---|
| 408 | + (u32)sizeof(struct acpi_object_package)); |
|---|
| 411 | 409 | acpi_os_printf("BufferField %3d\n", |
|---|
| 412 | | - sizeof(struct acpi_object_buffer_field)); |
|---|
| 410 | + (u32)sizeof(struct acpi_object_buffer_field)); |
|---|
| 413 | 411 | acpi_os_printf("Device %3d\n", |
|---|
| 414 | | - sizeof(struct acpi_object_device)); |
|---|
| 412 | + (u32)sizeof(struct acpi_object_device)); |
|---|
| 415 | 413 | acpi_os_printf("Event %3d\n", |
|---|
| 416 | | - sizeof(struct acpi_object_event)); |
|---|
| 414 | + (u32)sizeof(struct acpi_object_event)); |
|---|
| 417 | 415 | acpi_os_printf("Method %3d\n", |
|---|
| 418 | | - sizeof(struct acpi_object_method)); |
|---|
| 416 | + (u32)sizeof(struct acpi_object_method)); |
|---|
| 419 | 417 | acpi_os_printf("Mutex %3d\n", |
|---|
| 420 | | - sizeof(struct acpi_object_mutex)); |
|---|
| 418 | + (u32)sizeof(struct acpi_object_mutex)); |
|---|
| 421 | 419 | acpi_os_printf("Region %3d\n", |
|---|
| 422 | | - sizeof(struct acpi_object_region)); |
|---|
| 420 | + (u32)sizeof(struct acpi_object_region)); |
|---|
| 423 | 421 | acpi_os_printf("PowerResource %3d\n", |
|---|
| 424 | | - sizeof(struct acpi_object_power_resource)); |
|---|
| 422 | + (u32)sizeof(struct acpi_object_power_resource)); |
|---|
| 425 | 423 | acpi_os_printf("Processor %3d\n", |
|---|
| 426 | | - sizeof(struct acpi_object_processor)); |
|---|
| 424 | + (u32)sizeof(struct acpi_object_processor)); |
|---|
| 427 | 425 | acpi_os_printf("ThermalZone %3d\n", |
|---|
| 428 | | - sizeof(struct acpi_object_thermal_zone)); |
|---|
| 426 | + (u32)sizeof(struct acpi_object_thermal_zone)); |
|---|
| 429 | 427 | acpi_os_printf("RegionField %3d\n", |
|---|
| 430 | | - sizeof(struct acpi_object_region_field)); |
|---|
| 428 | + (u32)sizeof(struct acpi_object_region_field)); |
|---|
| 431 | 429 | acpi_os_printf("BankField %3d\n", |
|---|
| 432 | | - sizeof(struct acpi_object_bank_field)); |
|---|
| 430 | + (u32)sizeof(struct acpi_object_bank_field)); |
|---|
| 433 | 431 | acpi_os_printf("IndexField %3d\n", |
|---|
| 434 | | - sizeof(struct acpi_object_index_field)); |
|---|
| 432 | + (u32)sizeof(struct acpi_object_index_field)); |
|---|
| 435 | 433 | acpi_os_printf("Reference %3d\n", |
|---|
| 436 | | - sizeof(struct acpi_object_reference)); |
|---|
| 434 | + (u32)sizeof(struct acpi_object_reference)); |
|---|
| 437 | 435 | acpi_os_printf("Notify %3d\n", |
|---|
| 438 | | - sizeof(struct acpi_object_notify_handler)); |
|---|
| 436 | + (u32)sizeof(struct acpi_object_notify_handler)); |
|---|
| 439 | 437 | acpi_os_printf("AddressSpace %3d\n", |
|---|
| 440 | | - sizeof(struct acpi_object_addr_handler)); |
|---|
| 438 | + (u32)sizeof(struct acpi_object_addr_handler)); |
|---|
| 441 | 439 | acpi_os_printf("Extra %3d\n", |
|---|
| 442 | | - sizeof(struct acpi_object_extra)); |
|---|
| 440 | + (u32)sizeof(struct acpi_object_extra)); |
|---|
| 443 | 441 | acpi_os_printf("Data %3d\n", |
|---|
| 444 | | - sizeof(struct acpi_object_data)); |
|---|
| 442 | + (u32)sizeof(struct acpi_object_data)); |
|---|
| 445 | 443 | |
|---|
| 446 | 444 | acpi_os_printf("\n"); |
|---|
| 447 | 445 | |
|---|
| 448 | 446 | acpi_os_printf("ParseObject %3d\n", |
|---|
| 449 | | - sizeof(struct acpi_parse_obj_common)); |
|---|
| 447 | + (u32)sizeof(struct acpi_parse_obj_common)); |
|---|
| 450 | 448 | acpi_os_printf("ParseObjectNamed %3d\n", |
|---|
| 451 | | - sizeof(struct acpi_parse_obj_named)); |
|---|
| 449 | + (u32)sizeof(struct acpi_parse_obj_named)); |
|---|
| 452 | 450 | acpi_os_printf("ParseObjectAsl %3d\n", |
|---|
| 453 | | - sizeof(struct acpi_parse_obj_asl)); |
|---|
| 451 | + (u32)sizeof(struct acpi_parse_obj_asl)); |
|---|
| 454 | 452 | acpi_os_printf("OperandObject %3d\n", |
|---|
| 455 | | - sizeof(union acpi_operand_object)); |
|---|
| 453 | + (u32)sizeof(union acpi_operand_object)); |
|---|
| 456 | 454 | acpi_os_printf("NamespaceNode %3d\n", |
|---|
| 457 | | - sizeof(struct acpi_namespace_node)); |
|---|
| 455 | + (u32)sizeof(struct acpi_namespace_node)); |
|---|
| 458 | 456 | acpi_os_printf("AcpiObject %3d\n", |
|---|
| 459 | | - sizeof(union acpi_object)); |
|---|
| 457 | + (u32)sizeof(union acpi_object)); |
|---|
| 460 | 458 | |
|---|
| 461 | 459 | acpi_os_printf("\n"); |
|---|
| 462 | 460 | |
|---|
| 463 | 461 | acpi_os_printf("Generic State %3d\n", |
|---|
| 464 | | - sizeof(union acpi_generic_state)); |
|---|
| 462 | + (u32)sizeof(union acpi_generic_state)); |
|---|
| 465 | 463 | acpi_os_printf("Common State %3d\n", |
|---|
| 466 | | - sizeof(struct acpi_common_state)); |
|---|
| 464 | + (u32)sizeof(struct acpi_common_state)); |
|---|
| 467 | 465 | acpi_os_printf("Control State %3d\n", |
|---|
| 468 | | - sizeof(struct acpi_control_state)); |
|---|
| 466 | + (u32)sizeof(struct acpi_control_state)); |
|---|
| 469 | 467 | acpi_os_printf("Update State %3d\n", |
|---|
| 470 | | - sizeof(struct acpi_update_state)); |
|---|
| 468 | + (u32)sizeof(struct acpi_update_state)); |
|---|
| 471 | 469 | acpi_os_printf("Scope State %3d\n", |
|---|
| 472 | | - sizeof(struct acpi_scope_state)); |
|---|
| 470 | + (u32)sizeof(struct acpi_scope_state)); |
|---|
| 473 | 471 | acpi_os_printf("Parse Scope %3d\n", |
|---|
| 474 | | - sizeof(struct acpi_pscope_state)); |
|---|
| 472 | + (u32)sizeof(struct acpi_pscope_state)); |
|---|
| 475 | 473 | acpi_os_printf("Package State %3d\n", |
|---|
| 476 | | - sizeof(struct acpi_pkg_state)); |
|---|
| 474 | + (u32)sizeof(struct acpi_pkg_state)); |
|---|
| 477 | 475 | acpi_os_printf("Thread State %3d\n", |
|---|
| 478 | | - sizeof(struct acpi_thread_state)); |
|---|
| 476 | + (u32)sizeof(struct acpi_thread_state)); |
|---|
| 479 | 477 | acpi_os_printf("Result Values %3d\n", |
|---|
| 480 | | - sizeof(struct acpi_result_values)); |
|---|
| 478 | + (u32)sizeof(struct acpi_result_values)); |
|---|
| 481 | 479 | acpi_os_printf("Notify Info %3d\n", |
|---|
| 482 | | - sizeof(struct acpi_notify_info)); |
|---|
| 480 | + (u32)sizeof(struct acpi_notify_info)); |
|---|
| 483 | 481 | break; |
|---|
| 484 | 482 | |
|---|
| 485 | 483 | case CMD_STAT_STACK: |
|---|