Gcov: Added support for x86.
This patch adds all the required hooks needed in the kernel to get the coverage reports from x86 SoCs. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
9f82eadf23
commit
cb536111a9
4 changed files with 34 additions and 0 deletions
|
@ -29,6 +29,12 @@ MMU_BOOT_REGION((u32_t)&__app_ram_start, (u32_t)&__app_ram_size,
|
|||
MMU_BOOT_REGION((u32_t)&_app_smem_start, (u32_t)&_app_smem_size,
|
||||
MMU_ENTRY_WRITE | MMU_ENTRY_USER | MMU_ENTRY_EXECUTE_DISABLE);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_COVERAGE_GCOV
|
||||
MMU_BOOT_REGION((u32_t)&__gcov_bss_start, (u32_t)&__gcov_bss_size,
|
||||
MMU_ENTRY_WRITE | MMU_ENTRY_USER | MMU_ENTRY_EXECUTE_DISABLE);
|
||||
#endif
|
||||
|
||||
/* __kernel_ram_size includes all unused memory, which is used for heaps.
|
||||
* User threads cannot access this unless granted at runtime. This is done
|
||||
* automatically for stacks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue