Skip to content

arch/sim: give the custom heap static its own name - #22273

Merged
GUIDINGLI merged 1 commit into
apache:masterfrom
anjiahao1:20261124_sim-heap-static-name
Nov 25, 2026
Merged

GUIDINGLI merged 1 commit into
apache:masterfrom
anjiahao1:20261124_sim-heap-static-name

Conversation

@anjiahao1

Copy link
Copy Markdown
Contributor

Summary

Rename the simulator heap static from g_heap to g_sim_heap. The
generic name g_heap is easy to confuse with other heaps when debugging
or when reading a combined symbol dump.

Impact

  • Is new feature added? NO
  • Impact on user: NO
  • Impact on build: NO
  • Impact on hardware: NO
  • Impact on documentation: NO
  • Impact on security: NO
  • Impact on compatibility: NO

Testing

Build host: Linux x86_64 (Ubuntu 24.04), GCC 13.3.0
Target: sim:nsh

tools/configure.sh sim:nsh
make -j10

The simulator image builds with the renamed static.

PR verification

  • This PR introduces only one functional change.
  • I have updated all required description fields above.
  • My PR adheres to Contributing Guidelines and Documentation.
  • My PR is still work in progress (not ready for review).
  • My PR is ready for review and can be safely merged into a codebase.

Rename the simulator heap static to g_sim_heap.  The generic name
g_heap is easy to confuse with other heaps when debugging or when
reading a combined symbol dump.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
@github-actions github-actions Bot added Arch: simulator Issues related to the SIMulator Size: XS The size of the change in this PR is very small labels Nov 24, 2026
@github-actions

Copy link
Copy Markdown

@GUIDINGLI
GUIDINGLI merged commit 2847f13 into apache:master Nov 25, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: simulator Issues related to the SIMulator Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants