soc: intel_adsp/ace30: do not map 0x0
The MMU mapping in SoC covers 0x0 which prevents catching NULL pointer accesses. Since there are no hardware registers at the very first page of memory, we move the starting point one page later. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
e59289d899
commit
3d3ffa2c05
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ const struct xtensa_mmu_range xtensa_soc_mmu_ranges[] = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/* FIXME: definitely need more refinements... */
|
/* FIXME: definitely need more refinements... */
|
||||||
.start = (uint32_t)0x0,
|
.start = (uint32_t)0x1000,
|
||||||
.end = (uint32_t)0x100000,
|
.end = (uint32_t)0x100000,
|
||||||
.attrs = XTENSA_MMU_PERM_W,
|
.attrs = XTENSA_MMU_PERM_W,
|
||||||
.name = "hwreg0",
|
.name = "hwreg0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue