qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] RISC-V - Dynamic parameterization of RISC-V mem


From: Michael Eager
Subject: Re: [Qemu-devel] [PATCH] RISC-V - Dynamic parameterization of RISC-V memory map
Date: Thu, 30 Aug 2018 09:22:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Corrected patch attached.

On 08/29/2018 05:48 PM, Michael Eager wrote:
Whoops.  I just noticed that this patch is against the riscv-qemu
repo on github, not the qemu.org repo.  I will rework it for the qemu.org repo.  Meanwhile, I welcome any comments.

On 08/29/2018 05:21 PM, Michael Eager wrote:
Memory parameters for RISC-V boards can be read from a configuration
file using the -readconfig command line option.  The configuration file
should have a section for the board and memory.  The configuration for
the VirtIO board has the following configuration variables:
[riscv-virt-mem]
   debug-base   = "0x0"
   debug-size   = "0x100"
   mrom-base    = "0x1000"
   mrom-size    = "0x11000"
   test-base    = "0x100000"
   test-size    = "0x1000"
   clint-base   = "0x2000000"
   clint-size   = "0x10000"
   plic-base    = "0xc000000"
   plic-size    = "0x4000000"
   uart0-base   = "0x10000000"
   uart0-size   = "0x100"
   virtio-base  = "0x10001000"
   virtio-size  = "0x1000"
   dram-base    = "0x80000000"
   dram-size    = "0x0"

Values must be enclosed within quotes.

Signed-off-by: Michael Eager <address@hidden>



--
Michael Eager    address@hidden
1960 Park Blvd., Palo Alto, CA 94306

Attachment: 0001-RISC-V-Dynamic-parameterization-of-RISC-V-memory-map.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]