File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636#define Z_VIRT_RAM_END (Z_VIRT_RAM_START + Z_VIRT_RAM_SIZE)
3737
3838/* Boot-time virtual location of the kernel image. */
39- #define Z_KERNEL_VIRT_START ((uint8_t *)( &z_mapped_start) )
40- #define Z_KERNEL_VIRT_END ((uint8_t *)( &z_mapped_end) )
39+ #define Z_KERNEL_VIRT_START ((uint8_t *)&z_mapped_start[0] )
40+ #define Z_KERNEL_VIRT_END ((uint8_t *)&z_mapped_end[0] )
4141#define Z_KERNEL_VIRT_SIZE (Z_KERNEL_VIRT_END - Z_KERNEL_VIRT_START)
4242
4343#define Z_VM_OFFSET ((CONFIG_KERNEL_VM_BASE + CONFIG_KERNEL_VM_OFFSET) - \
Original file line number Diff line number Diff line change @@ -929,8 +929,8 @@ static int app_shmem_bss_zero(void)
929929 struct z_app_region * region , * end ;
930930
931931
932- end = (struct z_app_region * )& __app_shmem_regions_end ;
933- region = (struct z_app_region * )& __app_shmem_regions_start ;
932+ end = (struct z_app_region * )& __app_shmem_regions_end [ 0 ] ;
933+ region = (struct z_app_region * )& __app_shmem_regions_start [ 0 ] ;
934934
935935 for ( ; region < end ; region ++ ) {
936936#if defined(CONFIG_DEMAND_PAGING ) && !defined(CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT )
You can’t perform that action at this time.
0 commit comments