Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

jvmcfg.c

Go to the documentation of this file.
00001 /*!
00002  * @file jvmcfg.c
00003  *
00004  * @brief Real machine constant types convenient for C/C++ source code.
00005  *
00006  *
00007  * @section Control
00008  *
00009  * \$URL: https://svn.apache.org/path/name/jvmcfg.c $ \$Id: jvmcfg.c 0 09/28/2005 dlydick $
00010  *
00011  * Copyright 2005 The Apache Software Foundation
00012  * or its licensors, as applicable.
00013  *
00014  * Licensed under the Apache License, Version 2.0 ("the License");
00015  * you may not use this file except in compliance with the License.
00016  * You may obtain a copy of the License at
00017  *
00018  *     http://www.apache.org/licenses/LICENSE-2.0
00019  *
00020  * Unless required by applicable law or agreed to in writing,
00021  * software distributed under the License is distributed on an
00022  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
00023  * either express or implied.
00024  *
00025  * See the License for the specific language governing permissions
00026  * and limitations under the License.
00027  *
00028  * @version \$LastChangedRevision: 0 $
00029  *
00030  * @date \$LastChangedDate: 09/28/2005 $
00031  *
00032  * @author \$LastChangedBy: dlydick $
00033  *         Original code contributed by Daniel Lydick on 09/28/2005.
00034  *
00035  * @section Reference
00036  *
00037  */
00038 
00039 #include "arch.h"
00040 ARCH_COPYRIGHT_APACHE(jvmcfg, c, "$URL: https://svn.apache.org/path/name/jvmcfg.c $ $Id: jvmcfg.c 0 09/28/2005 dlydick $");
00041 
00042 
00043 #define I_AM_JVMCFG_C /* Permit xxx_NULL_xxx definition constants */
00044 #include "jvmcfg.h"
00045 #include "classfile.h"
00046 
00047 
00048 /*! @brief Real machine NULL thread index */
00049 const jvm_thread_index jvm_thread_index_null = JVMCFG_NULL_THREAD;
00050 
00051 /*! @brief Real machine NULL constant pool index */
00052 const jvm_constant_pool_index jvm_constant_pool_index_null =
00053                                               CONSTANT_CP_DEFAULT_INDEX;
00054 
00055 /*! @brief Real machine NULL interface table index */
00056 const jvm_interface_index jvm_interface_index_bad =JVMCFG_BAD_INTERFACE;
00057 
00058 /*! @brief Real machine NULL class index */
00059 const jvm_class_index jvm_class_index_null = JVMCFG_NULL_CLASS;
00060 
00061 /*!
00062  * @brief Real machine BAD method index (or interface method index)
00063  * in class
00064  */
00065 const jvm_method_index jvm_method_index_bad    = JVMCFG_BAD_METHOD;
00066 
00067 /*! @brief Real machine BAD field index in class */
00068 const jvm_field_index jvm_field_index_bad = JVMCFG_BAD_FIELD;
00069 
00070 /*! @brief Real machine BAD field lookup index in class */
00071 const jvm_field_lookup_index jvm_field_lookup_index_bad =
00072                                                 JVMCFG_BAD_FIELD_LOOKUP;
00073 
00074 /*!
00075  * @brief Real machine BAD attribute index in class
00076  */
00077 const jvm_attribute_index jvm_attribute_index_bad =JVMCFG_BAD_ATTRIBUTE;
00078 
00079 /*!
00080  * @brief Real machine NATIVE (method) attribute index
00081  */
00082 const jvm_attribute_index jvm_attribute_index_native =
00083                                          JVMCFG_NATIVE_METHOD_ATTRIBUTE;
00084 
00085 /*!
00086  * @brief Real machine NULL ordinal for local native method
00087  */
00088 const jvm_native_method_ordinal jvm_native_method_ordinal_null =
00089                                                JVMCFG_JLOBJECT_NMO_NULL;
00090 
00091 /*!
00092  * @brief Real machine registration ordinal for local native method
00093  */
00094 const jvm_native_method_ordinal jvm_native_method_ordinal_register =
00095                                            JVMCFG_JLOBJECT_NMO_REGISTER;
00096 
00097 /*!
00098  * @brief Real machine un-registration ordinal for local native method
00099  */
00100 const jvm_native_method_ordinal jvm_native_method_ordinal_unregister =
00101                                          JVMCFG_JLOBJECT_NMO_UNREGISTER;
00102 
00103 /*! @brief Real machine BAD program counter value in class */
00104 jvm_pc_offset jvm_pc_offset_bad = CODE_CONSTRAINT_CODE_LENGTH_MAX;
00105 
00106 /*! @brief Real machine BAD unicode string index in class */
00107 const jvm_unicode_string_index jvm_unicode_string_index_bad =
00108                                               JVMCFG_BAD_UNICODE_STRING;
00109 
00110 /*! @brief Real machine NULL object hash */
00111 const jvm_object_hash jvm_object_hash_null = JVMCFG_NULL_OBJECT;
00112 
00113 
00114 /* EOF */
00115 

Generated on Fri Sep 30 18:59:30 2005 by  doxygen 1.4.4