forked from Qortal/Brooklyn
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
27 lines
684 B
C
27 lines
684 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* opcodes-virt.h: Opcode definitions for the ARM virtualization extensions
|
|
* Copyright (C) 2012 Linaro Limited
|
|
*/
|
|
#ifndef __ASM_ARM_OPCODES_VIRT_H
|
|
#define __ASM_ARM_OPCODES_VIRT_H
|
|
|
|
#include <asm/opcodes.h>
|
|
|
|
#define __HVC(imm16) __inst_arm_thumb32( \
|
|
0xE1400070 | (((imm16) & 0xFFF0) << 4) | ((imm16) & 0x000F), \
|
|
0xF7E08000 | (((imm16) & 0xF000) << 4) | ((imm16) & 0x0FFF) \
|
|
)
|
|
|
|
#define __ERET __inst_arm_thumb32( \
|
|
0xE160006E, \
|
|
0xF3DE8F00 \
|
|
)
|
|
|
|
#define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \
|
|
0xE12EF300 | regnum, \
|
|
0xF3808E30 | (regnum << 16) \
|
|
)
|
|
|
|
#endif /* ! __ASM_ARM_OPCODES_VIRT_H */
|