harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r418278 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h
Date Fri, 30 Jun 2006 13:45:07 GMT
Author: dlydick
Date: Fri Jun 30 06:45:06 2006
New Revision: 418278

URL: http://svn.apache.org/viewvc?rev=418278&view=rev
Log:
Added little-endian version of GET_RS2() and GET_RI4() for
parsing 2- and 4-byte integers from data files stored in
little-endian form.

Added prototypes for bytegames_getrs2_le() and bytegames_getri4_le()
in support of these macros.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h?rev=418278&r1=418277&r2=418278&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/util.h Fri Jun
30 06:45:06 2006
@@ -105,9 +105,13 @@
 
 
 /* Prototypes for functions in 'bytegames.c' */
-extern rushort bytegames_getrs2(rushort *ptr2);
-extern ruint   bytegames_getri4(ruint   *ptr4);
-extern rulong  bytegames_getrl8(rulong  *ptr8);
+extern rushort bytegames_getrs2(rushort    *ptr2);
+extern rushort bytegames_getrs2_le(rushort *ptr2);
+
+extern ruint   bytegames_getri4(ruint      *ptr4);
+extern ruint   bytegames_getri4_le(ruint   *ptr4);
+
+extern rulong  bytegames_getrl8(rulong    *ptr8);
 
 extern rvoid   bytegames_putrs2(rushort *ptr2, rushort val2);
 extern rvoid   bytegames_putri4(ruint   *ptr4, ruint   val4);
@@ -236,6 +240,8 @@
 
 
 /* Prototypes for small utility functions in 'jvmutil.c' */
+
+#define DBGMSG_PRINT(dml) (jvmutil_get_dml() >= dml)
 
 extern rvoid                jvmutil_set_dml(jvm_debug_level_enum level);
 extern jvm_debug_level_enum jvmutil_get_dml(rvoid);



Mime
View raw message