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.  The
19# handler-style command should match the target assembly interpreter.
20#
21
22#handler-style jump-table
23handler-style computed-goto
24handler-size 64
25
26# C file header and basic definitions
27import c/header.cpp
28
29# C pre-processor defines for stub C instructions
30import cstubs/stubdefs.cpp
31
32# common defs for the C opcodes
33import c/opcommon.cpp
34
35# opcode list; argument to op-start is default directory
36op-start c
37    # use nothing but C stubs
38op-end
39
40# arch-specific entry point to interpreter
41import cstubs/entry.cpp
42
43# "helper" code
44import c/gotoTargets.cpp
45
46# finish
47import cstubs/enddefs.cpp
48