diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2017-11-22 14:46:56 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2017-11-23 09:23:08 +0000 |
commit | a4090b5754a7f448db8cca4274946fd18e9c9c13 (patch) | |
tree | 318cfcbc759703ef26c7db569b9c4b033c985c65 /cactus | |
parent | 3641e7df27de3e3a414ed8fd0e053d406a17d42d (diff) |
Cactus: Print number of CPUs from the boot info
Change-Id: I8b7ca623ad5e350de1fa0f7bf15bae9121a306d4
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'cactus')
-rw-r--r-- | cactus/cactus_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cactus/cactus_main.c b/cactus/cactus_main.c index 47225b8..2a33735 100644 --- a/cactus/cactus_main.c +++ b/cactus/cactus_main.c @@ -30,6 +30,7 @@ extern const char version_string[]; static void cactus_print_memory_layout(const secure_partition_boot_info_t *boot_info) { NOTICE("Secure Partition memory layout:\n"); + NOTICE(" Secure Partition image : %p - %p\n", (void *) boot_info->sp_image_base, (void *)(boot_info->sp_image_base + boot_info->sp_image_size)); @@ -44,19 +45,25 @@ static void cactus_print_memory_layout(const secure_partition_boot_info_t *boot_ NOTICE(" Unused SP image space : %p - %p\n", (void *) CACTUS_BSS_END, (void *)(boot_info->sp_image_base + boot_info->sp_image_size)); + NOTICE(" EL3-EL0 shared buffer : %p - %p\n", (void *) boot_info->sp_shared_buf_base, (void *)(boot_info->sp_shared_buf_base + boot_info->sp_shared_buf_size)); + NOTICE(" S-NS shared buffer : %p - %p\n", (void *) boot_info->sp_ns_comm_buf_base, (void *)(boot_info->sp_ns_comm_buf_base + boot_info->sp_ns_comm_buf_size)); - NOTICE(" Stack region : %p - %p\n", + + NOTICE(" Stacks region (%u CPUS) : %p - %p\n", + boot_info->num_cpus, (void *) boot_info->sp_stack_base, (void *)(boot_info->sp_stack_base + (boot_info->sp_pcpu_stack_size * boot_info->num_cpus))); + NOTICE(" Heap region : %p - %p\n", (void *) boot_info->sp_heap_base, (void *)(boot_info->sp_heap_base + boot_info->sp_heap_size)); + NOTICE("Total memory : %p - %p\n", (void *) boot_info->sp_mem_base, (void *) boot_info->sp_mem_limit); } |