Re: [vpp-dev] problems in mips32

2017-03-20 Thread 薛欣颖
: not available From: Dave Barach (dbarach) Date: 2017-03-20 19:56 To: 薛欣颖; vpp-dev Subject: RE: RE: [vpp-dev] problems in mips32 Perhaps someone in the community can help you. I have neither cycles nor equipment available to work on the problem. Just to ask: what kind of hardware are

Re: [vpp-dev] problems in mips32

2017-03-20 Thread Dave Barach (dbarach)
(dbarach) ; vpp-dev Subject: Re: RE: [vpp-dev] problems in mips32 According to your suggestion,I re-write "clib_calljmp" in longjmp.S,and it also passes test_longjmp.c;but it doesn't work in vpp, still segmentation fault when excute a system call. At last time, I saving return addr

Re: [vpp-dev] problems in mips32

2017-03-19 Thread 薛欣颖
$4, $5 //a1->a0 new function arg jalr $25 //jump nop lw $31,4($29) //pop ra lw $29,0($29) //pop old stack jr $31 //return .end clib_calljmp; Regards, Xinying Xue From: Dave Barach (dbarach) Date: 2017-03-16 21:03 To: 薛欣颖; vpp-dev Subject: RE: [vpp-dev] pro

Re: [vpp-dev] problems in mips32

2017-03-16 Thread John Lo (loj)
) Cc: vpp-dev Subject: Re: [vpp-dev] problems in mips32 From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>] On Behalf Of ??? Sent: Wednesday, March 15, 2017 9:52 PM To: vpp-dev mailto:vpp-dev

Re: [vpp-dev] problems in mips32

2017-03-16 Thread Jon Loeliger
> > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *??? > > *Sent:* Wednesday, March 15, 2017 9:52 PM > *To:* vpp-dev > *Subject:* [vpp-dev] problems in mips32 > > > > Guys, > > > > I'm looking forward to

Re: [vpp-dev] problems in mips32

2017-03-16 Thread Dave Barach (dbarach)
try to help you with assembly code, comments are essential. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, March 15, 2017 9:52 PM To: vpp-dev Subject: [vpp-dev] problems in mips32 Guys, I'm looking forward to run v

[vpp-dev] problems in mips32

2017-03-16 Thread 薛欣颖
Guys, I'm looking forward to run vpp in mips32 arch,but problem was caused by "clib_calljmp","clib_setjmp" and "clib_longjmp". There is no code for mips32 in vpp, so I wrote them by myself, and they worked very well in my test program, However,when I run vpp with them, segmentation fault was h

[vpp-dev] problems in mips32

2017-03-15 Thread 薛欣颖
Guys, I'm looking forward to run vpp in mips32 arch,but problem was caused by "clib_calljmp","clib_setjmp" and "clib_longjmp". There is no code for mips32 in vpp, so I wrote them by myself, and they worked very well in my test program, However,when I run vpp with them, segmentation fault was h