From a7ba9b26942610de99fdf075cff0891fa3c75045 Mon Sep 17 00:00:00 2001 From: Bruno Sa Date: Thu, 9 Nov 2023 15:07:03 +0000 Subject: [PATCH] update config files Signed-off-by: Bruno Sa --- bao/configs/cva6-baremetal/config.c | 5 +++-- bao/configs/cva6-linux/config.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bao/configs/cva6-baremetal/config.c b/bao/configs/cva6-baremetal/config.c index c1d65fe..e3fc9a2 100755 --- a/bao/configs/cva6-baremetal/config.c +++ b/bao/configs/cva6-baremetal/config.c @@ -12,7 +12,8 @@ struct config config = { .image = { .base_addr = 0x80200000, .load_addr = VM_IMAGE_OFFSET(baremetal_image), - .size = VM_IMAGE_SIZE(baremetal_image) + .size = VM_IMAGE_SIZE(baremetal_image), + .inplace = true }, .entry = 0x80200000, @@ -68,7 +69,7 @@ struct config config = { }, .arch = { - .plic_base = 0xc000000, + .irqc.plic.base = 0xc000000, } }, }, diff --git a/bao/configs/cva6-linux/config.c b/bao/configs/cva6-linux/config.c index b618cc4..47a2ef5 100755 --- a/bao/configs/cva6-linux/config.c +++ b/bao/configs/cva6-linux/config.c @@ -14,6 +14,7 @@ struct config config = { .base_addr =0x80200000, .load_addr = VM_IMAGE_OFFSET(linux_image), .size = VM_IMAGE_SIZE(linux_image), + .inplace = true }, .entry = 0x80200000, @@ -69,7 +70,7 @@ struct config config = { }, .arch = { - .plic_base = 0xc000000, + .irqc.plic.base = 0xc000000, } }, }