Skip to content

Commit

Permalink
8150: Device: PlatformMemoryMap: Resolve some issues with incorrect s…
Browse files Browse the repository at this point in the history
…ize of TZApps

Signed-off-by: XiaoYeZi <[email protected]>
  • Loading branch information
qaz6750 committed Jun 29, 2024
1 parent 1c419ee commit 8ea9d67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = {
{"HLOS 2", 0x85F50000, 0x000B0000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN},
{"SMEM", 0x86000000, 0x00200000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED},
{"QTEE", 0x86200000, 0x01800000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, /* Added */
{"TZApps", 0x87A00000, 0x02100000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"RAM Partition", 0x89B00000, 0x01C00000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN},
{"TZApps", 0x87A00000, 0x03D00000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"PIL_REGION", 0x8B700000, 0x0F400000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
// Change to conv if no error.
{"Reserved", 0x9AB00000, 0x01100000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = {
{"HLOS 2", 0x85F50000, 0x000B0000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN},
{"SMEM", 0x86000000, 0x00200000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED},
{"QTEE", 0x86200000, 0x01800000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, /* Added */
{"TZApps", 0x87A00000, 0x02100000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"RAM Partition", 0x89B00000, 0x01C00000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN},
{"TZApps", 0x87A00000, 0x03D00000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"PIL_REGION", 0x8B700000, 0x0F400000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
// TODO Change to conv if no error.
{"Reserved", 0x9AB00000, 0x01100000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = {
{"HLOS 2", 0x85F50000, 0x000B0000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN},
{"SMEM", 0x86000000, 0x00200000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED},
{"QTEE", 0x86200000, 0x01800000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, /* Added */
{"TZApps", 0x87A00000, 0x02100000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"RAM Partition", 0x89B00000, 0x01C00000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN},
{"TZApps", 0x87A00000, 0x03D00000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"PIL_REGION", 0x8B700000, 0x0F400000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
// TODO Change to conv if no error.
{"Reserved", 0x9AB00000, 0x01100000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = {
{"HLOS 2", 0x85F50000, 0x000B0000, AddMem, SYS_MEM, SYS_MEM_CAP, BsData, WRITE_BACK_XN},
{"SMEM", 0x86000000, 0x00200000, AddMem, MEM_RES, WRITE_COMBINEABLE, Reserv, UNCACHED_UNBUFFERED},
{"QTEE", 0x86200000, 0x01800000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE}, /* Added */
{"TZApps", 0x87A00000, 0x02100000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"RAM Partition", 0x89B00000, 0x01C00000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, WRITE_BACK_XN},
{"TZApps", 0x87A00000, 0x03D00000, NoHob, SYS_MEM, SYS_MEM_CAP, Reserv, NS_DEVICE},
{"PIL_REGION", 0x8B700000, 0x0F400000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
// TODO Change to conv if no error.
{"Reserved", 0x9AB00000, 0x01100000, AddMem, SYS_MEM, SYS_MEM_CAP, Reserv, UNCACHED_UNBUFFERED_XN},
Expand Down

0 comments on commit 8ea9d67

Please sign in to comment.