Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-17 Thread Libo Zhou
Alex Bennée writes: > You will need to update gdb-xml/$ARCH.xml and the appropriate arch_read/write register functions in gdbstub. For some mysterious reason my previous emails didn't go to the list successfully. Let me try sending this one without including any code or link. The MIPS targe

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-12 Thread Alex Bennée
Libo Zhou writes: > Alex Bennée writes: > > >> The gdbstub should allow you do full introspection and adding >> additional registers is fairly easy, see mips_cpu_gdb_read_register function >> in target/mips/gdbstub.c. > > > > Hi Alex and Aleksandar, > > > Now I can connect gdb to qemu success

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-12 Thread Libo Zhou
Alex Bennée writes: > The gdbstub should allow you do full introspection and adding > additional registers is fairly easy, see mips_cpu_gdb_read_register function > in target/mips/gdbstub.c. Hi Alex and Aleksandar, Now I can connect gdb to qemu successfully. And I can use this command to s

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-11 Thread Aleksandar Markovic
; > > Libo > > > > > > > > > -- Original -------------- > > > From: "Alex Bennée";; > > > Send time: Friday, Sep 6, 2019 5:19 PM > > > To: "Libo Zhou"; > > > Cc: "qemu-devel"; "

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-11 Thread Libo Zhou
ginal -- From: "Aleksandar Markovic";; Send time: Wednesday, Sep 11, 2019 1:50 AM To: "Libo Zhou"; Cc: "Alex Bennée"; "qemu-devel"; Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) 10.09.2019. 19.26, aleksandar.m.m...@gmail.com ?е написао

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-10 Thread Aleksandar Markovic
; Libo > > > > > > -- Original -- > > From: "Alex Bennée";; > > Send time: Friday, Sep 6, 2019 5:19 PM > > To: "Libo Zhou"; > > Cc: "qemu-devel"; "Aleksandar Markovic"< aleksandar.m.m

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-10 Thread Aleksandar Markovic
Cheers, > Libo > > > -- Original -- > From: "Alex Bennée";; > Send time: Friday, Sep 6, 2019 5:19 PM > To: "Libo Zhou"; > Cc: "qemu-devel"; "Aleksandar Markovic"< aleksandar.m.m...@gmail.com>; > Subject: Re: [Qemu

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-10 Thread Alex Bennée
-- > From: "Alex Bennée";; > Send time: Friday, Sep 6, 2019 5:19 PM > To: "Libo Zhou"; > Cc: "qemu-devel"; "Aleksandar > Markovic"; > Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > > > > Libo

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-06 Thread Alex Bennée
uot;Alex Bennée";; > Send time: Thursday, Sep 5, 2019 8:58 PM > To: "qemu-devel"; > Cc: "Aleksandar Markovic"; > Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > > > > Libo Zhou writes: > >> Do you know where in the so

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-05 Thread Alex Bennée
sandar Markovic";; > Send time: Thursday, Sep 5, 2019 6:54 PM > To: "Libo Zhou"; > Cc: "qemu-devel"; > Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > > > 04.09.2019. 05.23, "Libo Zhou" ?е написао/ла: >> >>

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-05 Thread Libo Zhou
2019 6:54 PM To: "Libo Zhou"; Cc: "qemu-devel"; Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) 04.09.2019. 05.23, "Libo Zhou" ?е написао/ла: > > Hi Aleksandar, > > I have spent some time looking at your MXU ASE patch. It's

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-05 Thread Aleksandar Markovic
04.09.2019. 05.23, "Libo Zhou" је написао/ла: > > Hi Aleksandar, > > I have spent some time looking at your MXU ASE patch. It's super helpful. I need to do exactly the same thing as you did. > > Now I just need a way to observe the memory and register file contents to debug my instruction set simu

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-03 Thread Libo Zhou
our help! Cheers, Libo -- Original -- From: "Aleksandar Markovic";; Send time: Tuesday, Sep 3, 2019 3:07 PM To: "Libo Zhou"; Cc: "qemu-devel"; Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) 30.08.2019. 11.14

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-09-03 Thread Aleksandar Markovic
numbers. In turn, the > main part of functionality is implemented. At the end of helper, you may > want to update, let's say, a status register, if any (depending on your > design). > > The declaration of helpers is a little contrived, and may still confuse > you. But this is not c

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-30 Thread Libo Zhou
"Aleksandar Markovic";; Send time: Thursday, Aug 29, 2019 10:22 PM To: "Libo Zhou"; Cc: "qemu-devel"; Subject: Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) On Wed, Aug 28, 2019 at 5:54 AM Libo Zhou wrote: > Hi Aleksandar, > > Thank you for the

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-29 Thread Aleksandar Markovic
iginal message -- > *From:* "Aleksandar Markovic"; > *Sendtime:* Thursday, Aug 22, 2019 6:53 PM > *To:* "Libo Zhou"; > *Cc:* "qemu-devel"; > *Subject:* Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > On Thu, Aug 22, 20

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-27 Thread Libo Zhou
-- > *From:* "Aleksandar Markovic"; > *Sendtime:* Thursday, Aug 22, 2019 4:23 PM > *To:* "??"; > *Cc:* "qemu-devel"; > *Subject:* Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > On Tue, Aug 20, 2019 at 12:12 PM ?? wrote:

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-22 Thread Aleksandar Markovic
rsday, Aug 22, 2019 4:23 PM > *To:* "立"; > *Cc:* "qemu-devel"; > *Subject:* Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator) > > On Tue, Aug 20, 2019 at 12:12 PM 立 wrote: > > > I am working on a project that requires me to modify the ISA of the MIPS &

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-22 Thread ??
some other parts of the source code:) Again thank you for checking! Cheers, Libo -- Original message -- From: "Aleksandar Markovic"; Sendtime: Thursday, Aug 22, 2019 4:23 PM To: "??"; Cc: "qemu-devel"; Subject: Re: [Qemu-

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-22 Thread Aleksandar Markovic
On Tue, Aug 20, 2019 at 12:12 PM 立 wrote: > I am working on a project that requires me to modify the ISA of the MIPS > target. L., How is it going? Aleksandar > I have been staring at the source code for about a week, but found it > really difficult due to me being a young rookie and the s

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-20 Thread Aleksandar Markovic
On Tue, Aug 20, 2019 at 12:12 PM 立 wrote: > I am working on a project that requires me to modify the ISA of the MIPS > target. I have been staring at the source code for about a week, but found > it really difficult due to me being a young rookie and the sparse comments. > Specifically, I need to

Re: [Qemu-devel] QEMU as ISS (Instruction Set Simulator)

2019-08-20 Thread Peter Maydell
On Tue, 20 Aug 2019 at 11:12, 立 wrote: > > I am working on a project that requires me to modify the ISA of the MIPS > target. I have been staring at the source code for about a week, but found it > really difficult due to me being a young rookie and the sparse comments. > Specifically, I need to