mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-14 11:15:54 +00:00
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
25 lines
640 B
C
25 lines
640 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_UM_XOR_H
|
|
#define _ASM_UM_XOR_H
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#undef CONFIG_X86_32
|
|
#define TT_CPU_INF_XOR_DEFAULT (AVX_SELECT(&xor_block_sse_pf64))
|
|
#else
|
|
#define CONFIG_X86_32 1
|
|
#define TT_CPU_INF_XOR_DEFAULT (AVX_SELECT(&xor_block_8regs))
|
|
#endif
|
|
|
|
#include <asm/cpufeature.h>
|
|
#include <../../x86/include/asm/xor.h>
|
|
#include <linux/time-internal.h>
|
|
|
|
#ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT
|
|
#undef XOR_SELECT_TEMPLATE
|
|
/* pick an arbitrary one - measuring isn't possible with inf-cpu */
|
|
#define XOR_SELECT_TEMPLATE(x) \
|
|
(time_travel_mode == TT_MODE_INFCPU ? TT_CPU_INF_XOR_DEFAULT : x))
|
|
#endif
|
|
|
|
#endif
|