parisc: Define FRAME_ALIGN and PRIV_USER/PRIV_KERNEL in assembly.h

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2021-10-04 23:36:50 +02:00
parent 1030d68131
commit 9f6cfef1d0

View file

@ -42,6 +42,9 @@
#define ASM_ULONG_INSN .word #define ASM_ULONG_INSN .word
#endif #endif
/* Frame alignment for 32- and 64-bit */
#define FRAME_ALIGN 64
#define CALLEE_SAVE_FRAME_SIZE (CALLEE_REG_FRAME_SIZE + CALLEE_FLOAT_FRAME_SIZE) #define CALLEE_SAVE_FRAME_SIZE (CALLEE_REG_FRAME_SIZE + CALLEE_FLOAT_FRAME_SIZE)
#ifdef CONFIG_PA20 #ifdef CONFIG_PA20
@ -58,6 +61,10 @@
#define PA_ASM_LEVEL 1.1 #define PA_ASM_LEVEL 1.1
#endif #endif
/* Privilege level field in the rightmost two bits of the IA queues */
#define PRIV_USER 3
#define PRIV_KERNEL 0
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT