asm_support_arm.S revision 834b394ee759ed31c5371d8093d7cd8cd90014a8
1/*
2 * Copyright (C) 2013 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#ifndef ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_S_
18#define ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_S_
19
20#include "asm_support_arm.h"
21
22.macro ENTRY name
23    .type \name, #function
24    .global \name
25    /* Cache alignment for function entry */
26    .balign 16
27\name:
28    .cfi_startproc
29    .fnstart
30.endm
31
32.macro END name
33    .fnend
34    .cfi_endproc
35    .size \name, .-\name
36.endm
37
38#endif  // ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_S_
39