Home | History | Annotate | Download | only in mterp
      1 # Copyright (C) 2008 The Android Open Source Project
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #      http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 
     15 #
     16 # Configuration for "portstd" target, a/k/a the portable interpreter.  This
     17 # differs from other "mterp" targets in that it doesn't use the usual
     18 # stub/glue mechanism, and defines different entry points.  We generate it
     19 # here because it's convenient.
     20 #
     21 
     22 #handler-size 64
     23 
     24 # C file header and basic definitions
     25 import c/header.c
     26 
     27 # simple def to specify the "standard" interp
     28 import portable/portstd.c
     29 
     30 # C pre-processor defines for stub C instructions
     31 import portable/stubdefs.c
     32 
     33 # common defs for the C opcodes
     34 import c/opcommon.c
     35 
     36 # entry point
     37 import portable/entry.c
     38 
     39 # opcode list; argument to op-start is default directory
     40 op-start c
     41     # concatenate all C implementations
     42 op-end
     43 
     44 # "helper" code
     45 import c/gotoTargets.c
     46 
     47 # finish
     48 import portable/enddefs.c
     49