Commit 9f6cfef1 authored by Helge Deller's avatar Helge Deller

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

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 1030d681
...@@ -42,6 +42,9 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment