2 * The per-CPU TranslationBlock jump cache.
4 * Copyright (c) 2003 Fabrice Bellard
6 * SPDX-License-Identifier: GPL-2.0-or-later
9 #ifndef ACCEL_TCG_TB_JMP_CACHE_H
10 #define ACCEL_TCG_TB_JMP_CACHE_H
12 #define TB_JMP_CACHE_BITS 12
13 #define TB_JMP_CACHE_SIZE (1 << TB_JMP_CACHE_BITS)
16 * Accessed in parallel; all accesses to 'tb' must be atomic.
17 * For CF_PCREL, accesses to 'pc' must be protected by a
18 * load_acquire/store_release to 'tb'.
25 } array
[TB_JMP_CACHE_SIZE
];
28 #endif /* ACCEL_TCG_TB_JMP_CACHE_H */