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

jvmcfg.c File Reference


Detailed Description

Real machine constant types convenient for C/C++ source code.

Control

$URL: https://svn.apache.org/path/name/jvmcfg.c $ $Id: jvmcfg.c 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file jvmcfg.c.

#include "arch.h"
#include "jvmcfg.h"
#include "classfile.h"

Go to the source code of this file.

Defines

#define I_AM_JVMCFG_C

Functions

static void jvmcfg_c_dummy (void)

Variables

const jvm_attribute_index jvm_attribute_index_bad = 65535
 Real machine NULL index for attributes.
const jvm_attribute_index jvm_attribute_index_native
 Real machine marker for native method.
const jvm_class_index jvm_class_index_null = 0
 Real machine NULL index for classes.
const jvm_constant_pool_index jvm_constant_pool_index_null
 Real machine NULL constant_pool index.
const jvm_field_index jvm_field_index_bad = 65535
 Real machine NULL index for fields.
const jvm_field_lookup_index jvm_field_lookup_index_bad
 Real machine NULL index for field lookups.
const jvm_interface_index jvm_interface_index_bad = 65535
 Real machine BAD interface table index.
const jvm_method_index jvm_method_index_bad = 65535
 Real machine BAD index for methods.
const jvm_native_method_ordinal jvm_native_method_ordinal_null
 Real machine NULL ordinal number for local native methods.
const jvm_native_method_ordinal jvm_native_method_ordinal_register
 Real machine reserved ordinal number for registering local native methods.
const jvm_native_method_ordinal jvm_native_method_ordinal_unregister
 Real machine reserved ordinal number for un-registering local native methods.
const jvm_object_hash jvm_object_hash_null = 0
 Real machine NULL hash.
jvm_pc_offset jvm_pc_offset_bad = 65535
 Invalid program counter offset.
const jvm_thread_index jvm_thread_index_null = 0
 Real machine NULL thread index.
const jvm_unicode_string_index jvm_unicode_string_index_bad
 Real machine BAD index for Unicode.
static char * jvmcfg_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jvmcfg.c $ $Id: jvmcfg.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable."


Define Documentation

#define I_AM_JVMCFG_C
 

Definition at line 43 of file jvmcfg.c.


Function Documentation

static void jvmcfg_c_dummy void   )  [static]
 

Definition at line 40 of file jvmcfg.c.


Variable Documentation

char* jvmcfg_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jvmcfg.c $ $Id: jvmcfg.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." [static]
 

Definition at line 40 of file jvmcfg.c.

const jvm_thread_index jvm_thread_index_null = 0
 

Real machine NULL thread index.

Definition at line 49 of file jvmcfg.c.

Referenced by class_load_from_prchar(), exit_exception_setup(), object_new_setup(), object_run_method(), opcode_load_run_throwable(), thread_init(), and threadutil_update_sleeptime_interval().

const jvm_constant_pool_index jvm_constant_pool_index_null
 

Initial value:

                                               0
Real machine NULL constant_pool index.

Definition at line 52 of file jvmcfg.c.

const jvm_interface_index jvm_interface_index_bad = 65535
 

Real machine BAD interface table index.

Definition at line 57 of file jvmcfg.c.

const jvm_class_index jvm_class_index_null = 0
 

Real machine NULL index for classes.

Definition at line 60 of file jvmcfg.c.

Referenced by attribute_find_in_class_by_cp_entry(), attribute_find_in_class_by_enum(), attribute_find_in_field_by_cp_entry(), attribute_find_in_field_by_enum(), attribute_find_in_method_by_cp_entry(), attribute_find_in_method_by_enum(), cfmsgs_typemsg(), class_get_object_instance_field_data(), class_load_primative(), class_static_new(), class_static_setup(), classfile_loadclassdata(), field_find_by_cp_entry(), gc_run_stub(), jlClass_isArray(), linkage_resolve_class(), method_find_by_cp_entry(), object_new_setup(), opcode_load_run_throwable(), opcode_run(), and thread_init().

const jvm_method_index jvm_method_index_bad = 65535
 

Real machine BAD index for methods.

Definition at line 66 of file jvmcfg.c.

Referenced by class_load_from_prchar(), classfile_loadclassdata(), linkage_resolve_class(), method_find_by_cp_entry(), object_run_method(), opcode_run(), and thread_init().

const jvm_field_index jvm_field_index_bad = 65535
 

Real machine NULL index for fields.

Definition at line 69 of file jvmcfg.c.

Referenced by classfile_loadclassdata(), field_find_by_cp_entry(), field_index_get_class_static_lookup(), field_index_get_class_static_pjvalue(), field_index_get_object_instance_lookup(), field_index_is_class_static(), field_index_is_object_instance(), field_index_put_class_static_pjvalue(), field_index_put_object_instance_pjvalue(), and linkage_resolve_class().

const jvm_field_lookup_index jvm_field_lookup_index_bad
 

Initial value:

                                                 65535
Real machine NULL index for field lookups.

Definition at line 72 of file jvmcfg.c.

Referenced by field_index_get_class_static_lookup(), and linkage_resolve_class().

const jvm_attribute_index jvm_attribute_index_bad = 65535
 

Real machine NULL index for attributes.

Definition at line 78 of file jvmcfg.c.

Referenced by attribute_enum_common_find(), attribute_find_in_class_by_cp_entry(), attribute_find_in_class_by_enum(), attribute_find_in_field_by_cp_entry(), attribute_find_in_field_by_enum(), attribute_find_in_method_by_cp_entry(), attribute_find_in_method_by_enum(), attribute_name_common_find(), class_load_from_prchar(), classfile_loadclassdata(), jvmutil_print_stack_common(), linkage_resolve_class(), object_run_method(), opcode_run(), and thread_init().

const jvm_attribute_index jvm_attribute_index_native
 

Initial value:

                                          65534
Real machine marker for native method.

Definition at line 83 of file jvmcfg.c.

Referenced by linkage_resolve_class(), object_run_method(), and opcode_run().

const jvm_native_method_ordinal jvm_native_method_ordinal_null
 

Initial value:

                                                0
Real machine NULL ordinal number for local native methods.

Definition at line 89 of file jvmcfg.c.

Referenced by classfile_loadclassdata().

const jvm_native_method_ordinal jvm_native_method_ordinal_register
 

Initial value:

                                            1
Real machine reserved ordinal number for registering local native methods.

Definition at line 95 of file jvmcfg.c.

const jvm_native_method_ordinal jvm_native_method_ordinal_unregister
 

Initial value:

                                          2
Real machine reserved ordinal number for un-registering local native methods.

Definition at line 101 of file jvmcfg.c.

jvm_pc_offset jvm_pc_offset_bad = 65535
 

Invalid program counter offset.

Definition at line 105 of file jvmcfg.c.

Referenced by thread_init().

const jvm_unicode_string_index jvm_unicode_string_index_bad
 

Initial value:

                                               65535
Real machine BAD index for Unicode.

Definition at line 108 of file jvmcfg.c.

const jvm_object_hash jvm_object_hash_null = 0
 

Real machine NULL hash.

Definition at line 112 of file jvmcfg.c.

Referenced by class_get_static_field_lookups(), class_static_setup(), gc_run_stub(), jlObject_waittimed(), jlString_intern(), jlThread_interrupted(), object_init(), object_instance_finalize(), object_new_setup(), objectutil_synchronize(), opcode_load_run_throwable(), opcode_run(), thread_init(), and thread_new_common().


Generated on Fri Sep 30 18:49:58 2005 by  doxygen 1.4.4