org.jikesrvm.tools.header_gen
Class GenerateInterfaceDeclarations

java.lang.Object
  extended by org.jikesrvm.tools.header_gen.GenerateInterfaceDeclarations
Direct Known Subclasses:
GenArch

public class GenerateInterfaceDeclarations
extends Object

Emit a header file containing declarations required to access VM data structures from C++. Posix version: AIX PPC, Linux PPC, Linux IA32


Field Summary
(package private) static GenArch arch
           
(package private) static int bootImageCodeAddress
           
(package private) static int bootImageDataAddress
           
(package private) static int bootImageRMapAddress
           
(package private) static PrintStream out
           
(package private) static String outFileName
           
 
Constructor Summary
GenerateInterfaceDeclarations()
           
 
Method Summary
(package private) static void emitAssemblerDeclarations()
           
(package private) static void emitBootRecordDeclarations()
           
(package private) static void emitBootRecordInitialization()
           
(package private) static void emitCDeclarationsForJavaType(String Cname, RVMClass cls)
           
(package private) static void emitExitStatusCodes()
           
private static void emitStuff()
           
(package private) static void emitVirtualMachineDeclarations(int bootImageDataAddress, int bootImageCodeAddress, int bootImageRMapAddress)
           
static void main(String[] args)
           
(package private) static void p(String s)
           
(package private) static void p(String s, Offset off)
           
(package private) static void pln()
           
(package private) static void pln(String s)
           
(package private) static void pln(String s, Address addr)
           
(package private) static void pln(String s, Offset off)
           
private static void reportTrouble(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

static PrintStream out

arch

static final GenArch arch

bootImageDataAddress

static int bootImageDataAddress

bootImageCodeAddress

static int bootImageCodeAddress

bootImageRMapAddress

static int bootImageRMapAddress

outFileName

static String outFileName
Constructor Detail

GenerateInterfaceDeclarations

GenerateInterfaceDeclarations()
Method Detail

p

static void p(String s)

p

static void p(String s,
              Offset off)

pln

static void pln(String s)

pln

static void pln(String s,
                Address addr)

pln

static void pln(String s,
                Offset off)

pln

static void pln()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

reportTrouble

private static void reportTrouble(String msg)

emitStuff

private static void emitStuff()

emitCDeclarationsForJavaType

static void emitCDeclarationsForJavaType(String Cname,
                                         RVMClass cls)

emitBootRecordDeclarations

static void emitBootRecordDeclarations()

emitBootRecordInitialization

static void emitBootRecordInitialization()

emitVirtualMachineDeclarations

static void emitVirtualMachineDeclarations(int bootImageDataAddress,
                                           int bootImageCodeAddress,
                                           int bootImageRMapAddress)

emitExitStatusCodes

static void emitExitStatusCodes()

emitAssemblerDeclarations

static void emitAssemblerDeclarations()