• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
25import c/header.c
26
27# simple def to specify the "standard" interp
28import portable/portstd.c
29
30# C pre-processor defines for stub C instructions
31import portable/stubdefs.c
32
33# common defs for the C opcodes
34import c/opcommon.c
35
36# entry point
37import portable/entry.c
38
39# opcode list; argument to op-start is default directory
40op-start c
41    # concatenate all C implementations
42op-end
43
44# "helper" code
45import c/gotoTargets.c
46
47# finish
48import portable/enddefs.c
49
50