harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r565159 - /harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h
Date Sun, 12 Aug 2007 21:34:00 GMT
Author: dlydick
Date: Sun Aug 12 14:33:59 2007
New Revision: 565159

URL: http://svn.apache.org/viewvc?view=rev&rev=565159
Log:
Only include 'tmparea' pointer conditionally based on whether
or not a temporary area is compiled into the code.

Reference 'pjvm' via 'pjvm.h' instead of directly.

Modified:
    harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h

Modified: harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h?view=diff&rev=565159&r1=565158&r2=565159
==============================================================================
--- harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h (original)
+++ harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/jvm.h Sun Aug 12 14:33:59 2007
@@ -98,18 +98,24 @@
     /*
      * External structures from command line into main(argc, argv, envp)
      */
+#if JVMCFG_TMPAREA_IN_USE
+    rchar  *tmparea;  /**< Temporary directory for general scratchpad */
+#endif
 
     /* Command line parms */
-    rint    argc;     /**< Direct copy of main(argc,,) */
-    rchar **argv;     /**< Direct copy of main(,argv,) */
-    rchar **envp;     /**< Direct copy of main(,,envp) */
+    rint    argc;     /**< Direct copy of
+                             <b><code>main(argc,,)</code></b> */
+    rchar **argv;     /**< Direct copy of
+                             <b><code>main(,argv,)</code></b> */
+    rchar **envp;     /**< Direct copy of
+                             <b><code>main(,,envp)</code></b> */
 
     /* Slices of command line parms */
     rchar *argv0;     /**< Program name, @p @b argv[0] in 'C',
                            $0 in @b sh */
 
     rchar *argv0name; /**< Program name argv0,but without path
-                           component*/
+                           component */
 
     rint   argcj;     /**< Index of argv[] passed to JVM main(). */
 
@@ -283,14 +289,13 @@
 
 } rjvm;
 
+#include "pjvm.h"
+
 /*!
  * @internal Remove effects of packing pragma on other code.
  *
  */
 #pragma pack()
-
-extern rjvm *pjvm;     /**< Declared in @link #pjvm jvm.c @endlink */
-
 
 
 /* Prototypes for functions in 'jvm.c' */



Mime
View raw message