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 "allstubs" target.  This is structured like the
     17 # assembly interpreters, but consists entirely of C stubs, making it
     18 # a handy if inefficient way to exercise all of the C handlers.
     19 #
     20 
     21 handler-size 64
     22 
     23 # C file header and basic definitions
     24 import c/header.c
     25 
     26 # C pre-processor defines for stub C instructions
     27 import cstubs/stubdefs.c
     28 
     29 # common defs for the C opcodes
     30 import c/opcommon.c
     31 
     32 # opcode list; argument to op-start is default directory
     33 op-start c
     34     # use nothing but C stubs
     35 op-end
     36 
     37 # arch-specific entry point to interpreter
     38 import cstubs/entry.c
     39 
     40 # "helper" code
     41 import c/gotoTargets.c
     42 
     43 # finish
     44 import cstubs/enddefs.c
     45 
     46