Skip to content

Commit

Permalink
Merge "fix(memmap): fix footprint free space calculation" into integr…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
sandrine-bailleux-arm authored and TrustedFirmware Code Review committed Jan 12, 2024
2 parents 01e0f09 + 9e72d01 commit e12b765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/memory/memory/mapparser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, Arm Limited. All rights reserved.
# Copyright (c) 2023-2024, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
Expand Down Expand Up @@ -57,7 +57,7 @@ def get_memory_layout(self) -> dict:

if "start" and "length" and "end" in memory_layout[region]:
memory_layout[region]["limit"] = (
memory_layout[region]["end"]
memory_layout[region]["start"]
+ memory_layout[region]["length"]
)
memory_layout[region]["free"] = (
Expand Down

0 comments on commit e12b765

Please sign in to comment.