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, } }, }