Skip to content

Commit

Permalink
Test 01 Print Alignment for level 3 (ARM-software#366)
Browse files Browse the repository at this point in the history
Change-Id: I3f981cd719a2d78647671e4486a7cc8d2a275926

Signed-off-by: Ajayswar S <ajayswar.s@arm.com>
  • Loading branch information
ajayswar-s authored Oct 24, 2024
1 parent ad72729 commit 9b03cc3
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions test_pool/pe/operating_system/test_os_c001.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,8 @@ payload(uint32_t num_pe)
}
}

val_print(ACS_PRINT_ERR, "\n Primary PE Index : %d, ", my_index);
val_print(ACS_PRINT_ERR, "MIDR_EL1 : 0x%llx", rd_data_array[1]);
val_print(ACS_PRINT_TEST, "\n Other Cores : ", 0);
val_print(ACS_PRINT_TEST, "\n Primary PE Index : %d", my_index);
val_print(ACS_PRINT_TEST, "\n Primary PE MIDR_EL1 : 0x%08llx", rd_data_array[1]);

for (i = 0; i < num_pe; i++) {
uint32_t unique = 1;
Expand All @@ -306,14 +305,20 @@ payload(uint32_t num_pe)
}
}
if (unique == 1 && rd_data_array[1] != pe_buffer->reg_data[1]) {
val_print(ACS_PRINT_TEST, "0x%llx \n ", pe_buffer->reg_data[1]);
t = 1;
if (t == 0) {
val_print(ACS_PRINT_TEST, "\n Other Cores : 0x%08llx ",
pe_buffer->reg_data[1]);
t = 1;
} else {
val_print(ACS_PRINT_TEST, "\n 0x%08llx ",
pe_buffer->reg_data[1]);
}
}
}
}

if (t == 0) {
val_print(ACS_PRINT_TEST, " Identical \n", 0);
val_print(ACS_PRINT_TEST, "\n Other Cores : Identical ", 0);
}

pe_buffer = NULL;
Expand Down

0 comments on commit 9b03cc3

Please sign in to comment.