make elf module public

This commit is contained in:
fros4943 2008-03-19 15:17:59 +00:00
parent 6cf7e5eed5
commit 68b5743214

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: MspMote.java,v 1.3 2008/03/17 09:54:19 fros4943 Exp $ * $Id: MspMote.java,v 1.4 2008/03/19 15:17:59 fros4943 Exp $
*/ */
package se.sics.cooja.mspmote; package se.sics.cooja.mspmote;
@ -60,6 +60,7 @@ public abstract class MspMote implements Mote {
private MspMoteType myMoteType = null; private MspMoteType myMoteType = null;
private MspMoteMemory myMemory = null; private MspMoteMemory myMemory = null;
private MoteInterfaceHandler myMoteInterfaceHandler = null; private MoteInterfaceHandler myMoteInterfaceHandler = null;
public ELF myELFModule = null;
protected TR1001Radio myRadio = null; /* TODO Only used by ESB (TR1001) */ protected TR1001Radio myRadio = null; /* TODO Only used by ESB (TR1001) */
@ -174,7 +175,7 @@ public abstract class MspMote implements Mote {
int[] memory = myCpu.getMemory(); int[] memory = myCpu.getMemory();
ELF myELFModule = ELF.readELF(fileELF.getPath()); myELFModule = ELF.readELF(fileELF.getPath());
myELFModule.loadPrograms(memory); myELFModule.loadPrograms(memory);
MapTable map = myELFModule.getMap(); MapTable map = myELFModule.getMap();
myCpu.getDisAsm().setMap(map); myCpu.getDisAsm().setMap(map);