Re: [gem5-users] [EXT] Accessing logical (software) thread ID in gem5

2019-01-14 Thread Shehab Elsayed
UPDATE: If I call curTaskPIDFromTaskStruct() instead of curTaskPID() both kernels give the same error of "panic: vtophys page walk returned fault" On Mon, Jan 14, 2019 at 12:19 PM Shehab Elsayed wrote: > So, I tried adding this patch to kernels 4.3 and 4.8.13. Both kernels > compile

Re: [gem5-users] [EXT] Accessing logical (software) thread ID in gem5

2019-01-14 Thread Shehab Elsayed
So, I tried adding this patch to kernels 4.3 and 4.8.13. Both kernels compile successfully but then I run into problems in gem5. Here is what happens: 1- Kernel 4.3: When curThreadInfo() gets called on a context switch it gives this error "panic:curThreadInfo() not implemented for this ISA" 2-