mumbel / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
9 stars 1 forks source link

Add address spaces to processor definition files #13

Closed syntroniks closed 5 years ago

syntroniks commented 5 years ago

Is your feature request related to a problem? Please describe. Adding these definitions allows for a more accurate memory map of TC2xx processors

Describe the solution you'd like When I load a binary for a TC277/297 processor, I would like commonly-used address spaces/ranges to be defined for me.

Additional context Here are some sample memory regions for a TC277. There exist many more like caches, tags, emulation memory, data acquisition, boot rom, etc. but those are not required for most tasks.


    <memory_block name="CPU2_DSPR" start_address="0x50000000" length="0x1E000" mode="rwv" initialized="false"/>
    <memory_block name="CPU2_PSPR" start_address="0x50100000" length="0x8000" mode="rwv" initialized="false"/>
    <memory_block name="CPU1_DSPR" start_address="0x60000000" length="0x1E000" mode="rwv" initialized="false"/>
    <memory_block name="CPU1_PSPR" start_address="0x60100000" length="0x8000" mode="rwv" initialized="false"/>
    <memory_block name="CPU0_DSPR" start_address="0x70000000" length="0x1E000" mode="rwv" initialized="false"/>
    <memory_block name="CPU0_PSPR" start_address="0x70100000" length="0x8000" mode="rwv" initialized="false"/>
    <memory_block name="PFLASH0" start_address="0x80000000" length="0x200000" mode="rwv" initialized="false"/>
    <memory_block name="PFLASH1" start_address="0x80200000" length="0x200000" mode="rwv" initialized="false"/>```
mumbel commented 5 years ago

Missed this, I'll take a look soon

mumbel commented 5 years ago

@syntroniks sorry for taking so long on that, its now committed. Thanks for taking some time to play with this module and the suggestion