mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
target-microblaze: Allow the stack protection to be disabled
Microblaze stack protection is configurable and isn't always enabled. This patch allows the stack protection to be disabled from the CPU properties. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
8bac22423e
commit
9aaaa18194
4 changed files with 13 additions and 2 deletions
|
@ -128,6 +128,7 @@ typedef struct CPUMBState CPUMBState;
|
|||
#define PVR0_FAULT 0x00100000
|
||||
#define PVR0_VERSION_MASK 0x0000FF00
|
||||
#define PVR0_USER1_MASK 0x000000FF
|
||||
#define PVR0_SPROT_MASK 0x00000001
|
||||
|
||||
/* User 2 PVR mask */
|
||||
#define PVR1_USER2_MASK 0xFFFFFFFF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue