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 MIPS architecture targets. 17# 18 19handler-style computed-goto 20handler-size 128 21# Need to specify split-ops to generate alt-ops at the end after 22# importing other files. 23split-ops 24 25# source for the instruction table stub 26asm-stub mips/stub.S 27 28# source for alternate entry stub 29asm-alt-stub mips/alt_stub.S 30 31# file header and basic definitions 32import c/header.cpp 33import mips/header.S 34 35# C pre-processor defines for stub C instructions 36import cstubs/stubdefs.cpp 37 38# highly-platform-specific defs 39import mips/platform.S 40 41# common defs for the C helpers; include this before the instruction handlers 42import c/opcommon.cpp 43 44# arch-specific entry point to interpreter 45import mips/entry.S 46 47# opcode list; argument to op-start is default directory 48op-start mips 49 50# OP_BREAKPOINT needs explicit testing 51 op OP_BREAKPOINT c 52 53op-end 54 55# "helper" code for C; include if you use any of the C stubs (this generates 56# object code, so it's normally excluded) 57import c/gotoTargets.cpp 58 59# end of defs; include this when cstubs/stubdefs.cpp is included 60import cstubs/enddefs.cpp 61 62# common subroutines for asm 63import mips/footer.S 64import mips/debug.cpp 65alt-ops 66