Shih-wei Liao | 21d28f5 | 2012-06-12 05:55:00 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2012 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #include "runtime_entry_points.h" |
| 18 | |
| 19 | namespace art { |
| 20 | |
| 21 | // Forward Declarations |
| 22 | namespace greenland { |
| 23 | |
| 24 | void InitThreadRuntimes(RuntimeEntryPoints* entry_points); |
| 25 | void InitExceptionRuntimes(RuntimeEntryPoints* entry_points); |
| 26 | void InitAllocRuntimes(RuntimeEntryPoints* entry_points); |
| 27 | void InitDexCacheRuntimes(RuntimeEntryPoints* entry_points); |
| 28 | void InitFieldRuntimes(RuntimeEntryPoints* entry_points); |
| 29 | void InitCastRuntimes(RuntimeEntryPoints* entry_points); |
| 30 | |
| 31 | } // namespace greenland |
| 32 | |
| 33 | void InitRuntimeEntryPoints(RuntimeEntryPoints* entry_points) { |
| 34 | // Defined in runtime/support_thread.cc |
| 35 | greenland::InitThreadRuntimes(entry_points); |
| 36 | // Defined in runtime/support_exception.cc |
| 37 | greenland::InitExceptionRuntimes(entry_points); |
| 38 | // Defined in runtime/support_alloc.cc |
| 39 | greenland::InitAllocRuntimes(entry_points); |
| 40 | // Defined in runtime/support_dexcache.cc |
| 41 | greenland::InitDexCacheRuntimes(entry_points); |
| 42 | // Defined in runtime/support_field.cc |
| 43 | greenland::InitFieldRuntimes(entry_points); |
| 44 | // Defined in runtime/support_case.cc |
| 45 | greenland::InitCastRuntimes(entry_points); |
| 46 | return; |
| 47 | } |
| 48 | |
| 49 | } // namespace art |