towards adding support for 64-bit architectures: registering relative memory addresses with contiki instead of fetching absolute addresses to java

This commit is contained in:
fros4943 2008-11-20 16:34:45 +00:00
parent 11fa5a9a6b
commit 42c3b0fc19
4 changed files with 53 additions and 53 deletions

View file

@ -52,7 +52,7 @@ public class [CLASSNAME] extends CoreComm {
public native void tick();
public native void init();
public native int getReferenceAbsAddr();
public native void getMemory(int start, int length, byte[] mem);
public native void setMemory(int start, int length, byte[] mem);
public native void setReferenceAddress(int addr);
public native void getMemory(int rel_addr, int length, byte[] mem);
public native void setMemory(int rel_addr, int length, byte[] mem);
}