LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Wed Dec 19 03:53:36 CET 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/12 19:03:53

    Modified: jop/java/target/src/test/debug/io DebugKernelChannel.java
    Log:
    Changed some methods to send all ID's as 4 byte values.



    Methods changed:

    180: private void writeThreadId(int threadId)

    218: private void writeClassId(int classId)

    234: private void writeObjectId(int objectId)




    Revision Changes Path
    1.4 jop/java/target/src/test/debug/io/DebugKernelChannel.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/debug/io/DebugKernelChannel.java.diff?r1=1.3&r2=1.4

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: DebugKernelChannel.java
    ===================================================================
    RCS file: /cvsroot/paulo/jop/java/target/src/test/debug/io/DebugKernelChannel.java,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -b -r1.3 -r1.4
    --- DebugKernelChannel.java 18 Dec 2007 03:07:20 -0000 1.3
    +++ DebugKernelChannel.java 19 Dec 2007 02:53:36 -0000 1.4
    @@ -179,7 +179,6 @@
    */
    private void writeThreadId(int threadId)
    {
    - outputPacket.writeInt(0);
    outputPacket.writeInt(threadId);
    }

    @@ -189,9 +188,12 @@
    * - one byte type tag
    * - followed by a a classID
    * - followed by a methodID
    - * - followed by an unsigned eight-byte index, which identifies
    + * - followed by an unsigned 8-byte index, which identifies
    * the location within the method.
    *
    + * The type tag is one byte long. Class and method ID's
    + * are 4 bytes long. The index is 8 bytes long.
    + *
    * @param typeTag
    * @param classId
    * @param methodId
    @@ -217,7 +219,7 @@

    private void writeClassId(int classId)
    {
    - outputPacket.writeInt(0);
    + //outputPacket.writeInt(0);
    outputPacket.writeInt(classId);
    }

    @@ -233,7 +235,6 @@

    private void writeObjectId(int objectId)
    {
    - outputPacket.writeInt(0);
    outputPacket.writeInt(objectId);
    }




     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.