blob: a9b1edcb5b32d7f413df31c63bf8ea8d831b8d8e [file] [log] [blame]
Shih-wei Liao21d28f52012-06-12 05:55:00 -07001/*
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
19namespace art {
20
21// Forward Declarations
22namespace greenland {
23
24void InitThreadRuntimes(RuntimeEntryPoints* entry_points);
25void InitExceptionRuntimes(RuntimeEntryPoints* entry_points);
26void InitAllocRuntimes(RuntimeEntryPoints* entry_points);
27void InitDexCacheRuntimes(RuntimeEntryPoints* entry_points);
28void InitFieldRuntimes(RuntimeEntryPoints* entry_points);
29void InitCastRuntimes(RuntimeEntryPoints* entry_points);
30
31} // namespace greenland
32
33void 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