OSDN Git Service

target/microblaze: Add security attributes on memory transactions
authorJoe Komlodi <joe.komlodi@xilinx.com>
Fri, 22 Jan 2021 00:18:55 +0000 (16:18 -0800)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 27 Jan 2021 07:32:55 +0000 (08:32 +0100)
commit43a9ede1efd12d297278d017ce7df7130672e15d
treed8a5a7f8dcf65b05ad3c4b6fd94f6ff0233afe4e
parent671a0a1265aeecae6775a8c7b8d6a5ede8a7ad32
target/microblaze: Add security attributes on memory transactions

Using the cfg.use_non_secure bitfield and the MMU access type, we can determine
if the access should be secure or not.

Signed-off-by: Joe Komlodi <komlodi@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <1611274735-303873-4-git-send-email-komlodi@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/microblaze/cpu.c
target/microblaze/cpu.h
target/microblaze/helper.c