12faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes/* 27655f29fabc0a12765de828914a18314382e5a35Ian Rogers * Copyright (C) 2013 The Android Open Source Project 32faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * 42faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * Licensed under the Apache License, Version 2.0 (the "License"); 52faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * you may not use this file except in compliance with the License. 62faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * You may obtain a copy of the License at 72faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * 82faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 92faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * 102faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * Unless required by applicable law or agreed to in writing, software 112faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 122faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 132faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * See the License for the specific language governing permissions and 142faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes * limitations under the License. 152faa5f1271587cda765f26bcf2951065300a01ffElliott Hughes */ 16b033c75ebda80ac75f936366fe78d1edf5cec937Ian Rogers 177655f29fabc0a12765de828914a18314382e5a35Ian Rogers#ifndef ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_H_ 187655f29fabc0a12765de828914a18314382e5a35Ian Rogers#define ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_H_ 19b033c75ebda80ac75f936366fe78d1edf5cec937Ian Rogers 20ff1ed4770bf7ff024a807b9f909b1a26abb78341Ian Rogers#include "asm_support.h" 21ff1ed4770bf7ff024a807b9f909b1a26abb78341Ian Rogers 227655f29fabc0a12765de828914a18314382e5a35Ian Rogers// Offset of field Thread::self_ verified in InitCpu 237655f29fabc0a12765de828914a18314382e5a35Ian Rogers#define THREAD_SELF_OFFSET 40 247655f29fabc0a12765de828914a18314382e5a35Ian Rogers// Offset of field Thread::exception_ verified in InitCpu 257655f29fabc0a12765de828914a18314382e5a35Ian Rogers#define THREAD_EXCEPTION_OFFSET 12 26b033c75ebda80ac75f936366fe78d1edf5cec937Ian Rogers 277655f29fabc0a12765de828914a18314382e5a35Ian Rogers#endif // ART_RUNTIME_ARCH_X86_ASM_SUPPORT_X86_H_ 28