#1920 closed defect (fixed)

sparc64: memory mapping fixes

Reported by: Gedare Bloom Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:


This patch fixes BSP memory to support more than 4 MB of RAM. We manually install (identity) TLB mappings and do not support MMU traps. In the future I would look to refactor the manual entries into a more generic trap-based solution. This patch installs enough mappings for 12MB of RAM and makes adjustments to the linkcmds to reflect what is available. A fix is made to install the TLB mappings before the stack is accessed so that if it is located at a high address it will be mapped. This patch also corrects the layout of memory so that the workspace does not overlap with the heap.

Attachments (2)

sparc64-memory.diff (4.6 KB) - added by Gedare Bloom on 09/20/11 at 16:08:20.
Fix BSP to support more than 4 MB of RAM.
sparc64-memory.ChangeLog (280 bytes) - added by Gedare Bloom on 09/20/11 at 16:08:50.

Download all attachments as: .zip

Change History (4)

Changed on 09/20/11 at 16:08:20 by Gedare Bloom

Attachment: sparc64-memory.diff added

Fix BSP to support more than 4 MB of RAM.

Changed on 09/20/11 at 16:08:50 by Gedare Bloom

Attachment: sparc64-memory.ChangeLog added


comment:1 Changed on 10/06/11 at 15:47:11 by Joel Sherrill

Resolution: fixed
Status: newclosed

Committed. Thanks.

comment:2 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.