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

config.h File Reference


Detailed Description

Boot JVM build configuration.

Top-level configuration declarations. Auto-generated by config.sh on Fri Sep 30 18:46:23 CDT 2005:

   DO NOT MODIFY!

   

Control

Id: Auto-generated by config.sh 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:
N/A
Date:
Fri Sep 30 18:46:23 CDT 2005
Author:
dan

Reference

Definition in file config.h.

Go to the source code of this file.

Defines

#define CONFIG_GC_TYPE_STUB
 Garbage collection method.
#define CONFIG_HACKED_BOOTCLASSPATH   "/home/dlydick/harmony/bootJVM/bootclasspath"
 Location of provisional run-time Java startup classes.
#define CONFIG_HACKED_RTJARFILE   "jre/lib/rt.jar"
 Location of run-time Java class library archive.
#define CONFIG_HEAP_TYPE_SIMPLE
 Heap allocation method.
#define CONFIG_PROGRAM_DESCRIPTION   "Apache Harmony Bootstrap JVM"
 Short description string of project function.
#define CONFIG_PROGRAM_NAME   "BootJVM"
 Short project name string.
#define CONFIG_RELEASE_LEVEL   "0.0.0"
 Project release as major, minor, and patchlevel.
#define CONFIG_SOLARIS
 Operating system name.
#define CONFIG_SOLARIS32
 Combination of CONFIG_SOLARIS and CONFIG_WORDWIDTH32.
#define CONFIG_SPARC
 Manufacturer or type of CPU.
#define CONFIG_SPARC32
 Combination of CONFIG_SPARC and CONFIG_WORDWIDTH32.
#define CONFIG_WORDWIDTH32
 Number of bits in real machine integer word.


Define Documentation

#define CONFIG_PROGRAM_NAME   "BootJVM"
 

Short project name string.

The program name string is used in both the source and in the documentation title. It is known between this header and the Doxygen setup, where it is called PROJECT_NAME in that parlance. The definition of CONFIG_PROGRAM_DESCRIPTION is appended to CONFIG_PROJECT_NAME to form the text 'CONFIG_PROGRAM_NAME: CONFIG_PROGRAM_DESCRIPTION' in that location.

Definition at line 61 of file config.h.

#define CONFIG_PROGRAM_DESCRIPTION   "Apache Harmony Bootstrap JVM"
 

Short description string of project function.

The program description is a short string describing the functionality of the program. It is known commonly between this header and the Doxygen setup, where it is called PROJECT_NAME in that parlance. The definition of CONFIG_PROGRAM_DESCRIPTION is appended to CONFIG_PROGRAM_NAME to form the text 'CONFIG_PROGRAM_NAME: CONFIG_PROGRAM_DESCRIPTION' in that location.

Definition at line 78 of file config.h.

#define CONFIG_RELEASE_LEVEL   "0.0.0"
 

Project release as major, minor, and patchlevel.

The release number is stored in a three-field tuple as 'major.minor.patchlevel'. It is known commonly between this header and the Doxygen setup, where it is called PROJECT_NUMBER in that parlance.

Definition at line 90 of file config.h.

#define CONFIG_WORDWIDTH32
 

Number of bits in real machine integer word.

This value may be either 32 or 64.

Definition at line 99 of file config.h.

#define CONFIG_SPARC
 

Manufacturer or type of CPU.

This value typically implys a specific CPU architecture rather than a manufacturer of a number of them.

sparc means Sun's SPARC CPU architecture.

intel means Intel's x86 CPU architecture.

Definition at line 113 of file config.h.

#define CONFIG_SPARC32
 

Combination of CONFIG_SPARC and CONFIG_WORDWIDTH32.

Definition at line 120 of file config.h.

#define CONFIG_SOLARIS
 

Operating system name.

This value may be solaris or linux or windows.

solaris means Sun's premier Unix architecture operating system

linix means the open-source Unix architecture operating system

windows means Microsoft's proprietary operating system.

Notice that, with the exception of windows, various CPU architectures may run various operating systems.

Definition at line 138 of file config.h.

#define CONFIG_SOLARIS32
 

Combination of CONFIG_SOLARIS and CONFIG_WORDWIDTH32.

Definition at line 145 of file config.h.

#define CONFIG_HACKED_RTJARFILE   "jre/lib/rt.jar"
 

Location of run-time Java class library archive.

This JAR file name may be appended to BOOTCLASSPATH as a development hack to provide a default startup class library until the project has something better. This file name points to the JRE run-time class library archive file name as requested from user input by config.sh at configuration time.

This symbol may be removed via #undef in jvmcfg.h if desired without changing its definition here in this file.

Todo:
Put fuller definition for this symbol and its usage into the code in classpath.c .
Todo:
Need to find some other way to locate the class library archive in the JDK so that any JDK may be considered (initially). Need to ultimately change out the logic that uses it over time to begin looking for natively constructed class library archive instead of leaning on outside work.

Definition at line 174 of file config.h.

#define CONFIG_HACKED_BOOTCLASSPATH   "/home/dlydick/harmony/bootJVM/bootclasspath"
 

Location of provisional run-time Java startup classes.

Internally append this name onto the end of CLASSPATH as a development hack to provide a default startup class library until the project has something better. This directory name points to the bootclasspath directory as created by config.sh at configuration time.

This symbol may be removed via #undef in jvmcfg.h if desired without changing its definition here in this file.

Todo:
Put fuller definition for this symbol and its usage into the code in classpath.c and argv.c .
Todo:
Remove compiled absolute path name in favor or either a relative path name or removal of this symbol from the logic entirely.

Definition at line 200 of file config.h.

#define CONFIG_HEAP_TYPE_SIMPLE
 

Heap allocation method.

This value may be simple or bimodal or other.

simple means malloc(3)/free(3) only

bimodal means malloc(3)/free(3) plus a large buffer

other means roll your own-- generates unresolved external symbols.

Refer to heap_bimodal.c for a good example as to how to implement the heap API and incorporate it into the suite of heap allocation options. Remember also to add it to config.sh so others may configure and use it.

Definition at line 225 of file config.h.

#define CONFIG_GC_TYPE_STUB
 

Garbage collection method.

This value may be stub or other.

stub means API only, no content

other means roll your own-- generates unresolved external symbols.

Refer to heap_bimodal.c for a good example as to how to implement the heap API and incorporate it into the suite of heap allocation options. The garbage collection API is similarly implemented. Remember also to add it to config.sh so others may configure and use it.

Definition at line 248 of file config.h.


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