Home | History | Annotate | Download | only in cpp-define-generator
      1 /*
      2  * Copyright (C) 2018 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 #if ASM_DEFINE_INCLUDE_DEPENDENCIES
     18 #include "lock_word.h"
     19 #endif
     20 
     21 ASM_DEFINE(LOCK_WORD_GC_STATE_MASK_SHIFTED,
     22            art::LockWord::kGCStateMaskShifted)
     23 ASM_DEFINE(LOCK_WORD_GC_STATE_MASK_SHIFTED_TOGGLED,
     24            art::LockWord::kGCStateMaskShiftedToggled)
     25 ASM_DEFINE(LOCK_WORD_GC_STATE_SHIFT,
     26            art::LockWord::kGCStateShift)
     27 ASM_DEFINE(LOCK_WORD_GC_STATE_SIZE,
     28            art::LockWord::kGCStateSize)
     29 ASM_DEFINE(LOCK_WORD_MARK_BIT_MASK_SHIFTED,
     30            art::LockWord::kMarkBitStateMaskShifted)
     31 ASM_DEFINE(LOCK_WORD_MARK_BIT_SHIFT,
     32            art::LockWord::kMarkBitStateShift)
     33 ASM_DEFINE(LOCK_WORD_READ_BARRIER_STATE_MASK,
     34            art::LockWord::kReadBarrierStateMaskShifted)
     35 ASM_DEFINE(LOCK_WORD_READ_BARRIER_STATE_MASK_TOGGLED,
     36            art::LockWord::kReadBarrierStateMaskShiftedToggled)
     37 ASM_DEFINE(LOCK_WORD_READ_BARRIER_STATE_SHIFT,
     38            art::LockWord::kReadBarrierStateShift)
     39 ASM_DEFINE(LOCK_WORD_STATE_FORWARDING_ADDRESS,
     40            art::LockWord::kStateForwardingAddress)
     41 ASM_DEFINE(LOCK_WORD_STATE_FORWARDING_ADDRESS_OVERFLOW,
     42            art::LockWord::kStateForwardingAddressOverflow)
     43 ASM_DEFINE(LOCK_WORD_STATE_FORWARDING_ADDRESS_SHIFT,
     44            art::LockWord::kForwardingAddressShift)
     45 ASM_DEFINE(LOCK_WORD_STATE_MASK_SHIFTED,
     46            art::LockWord::kStateMaskShifted)
     47 ASM_DEFINE(LOCK_WORD_STATE_SHIFT,
     48            art::LockWord::kStateShift)
     49 ASM_DEFINE(LOCK_WORD_THIN_LOCK_COUNT_MASK_SHIFTED,
     50            art::LockWord::kThinLockCountMaskShifted)
     51 ASM_DEFINE(LOCK_WORD_THIN_LOCK_COUNT_ONE,
     52            art::LockWord::kThinLockCountOne)
     53 ASM_DEFINE(LOCK_WORD_THIN_LOCK_COUNT_SHIFT,
     54            art::LockWord::kThinLockCountShift)
     55 ASM_DEFINE(LOCK_WORD_THIN_LOCK_COUNT_SIZE,
     56            art::LockWord::kThinLockCountSize)
     57 ASM_DEFINE(LOCK_WORD_THIN_LOCK_OWNER_MASK_SHIFTED,
     58            art::LockWord::kThinLockOwnerMaskShifted)
     59