Re: [PATCH v2 1/3] riscv: Unify Qemu's reset vector code path

2020-06-25 Thread Atish Patra
On Thu, Jun 25, 2020 at 12:50 PM Alistair Francis wrote: > > On Thu, Jun 25, 2020 at 11:38 AM Atish Patra wrote: > > > > Currently, all riscv machines except sifive_u have identical reset vector > > code implementations with memory addresses being different for all machines. > > They can be easil

Re: [PATCH v2 1/3] riscv: Unify Qemu's reset vector code path

2020-06-25 Thread Alistair Francis
On Thu, Jun 25, 2020 at 11:38 AM Atish Patra wrote: > > Currently, all riscv machines except sifive_u have identical reset vector > code implementations with memory addresses being different for all machines. > They can be easily combined into a single function in common code. > > Move it to commo

[PATCH v2 1/3] riscv: Unify Qemu's reset vector code path

2020-06-25 Thread Atish Patra
Currently, all riscv machines except sifive_u have identical reset vector code implementations with memory addresses being different for all machines. They can be easily combined into a single function in common code. Move it to common function and let all the machines use the common function. Si