Hi all,
I implemented a device using the BasicPioDevice class but I can't seem to get
the read() & write() calls to work.
I assigned a pioAddr=0x200000000 and a pioSize=4096 and I try to write to the
device directly using these two methods:
Method 1:
-----------
uint32_t inp_params2 = 14;
uint64_t *driver = (uint64_t*)0x200000000;
*driver = inp_params2;
Method 2:
-----------
asm volatile (
"mov %0,0x200000000\n"
:
: "r" (inp_params2)
:
);
With the Method 2, the simulation completes with no error but the write() is
never called on the device, With Method 1 I get the following error:
panic: panic condition !handled occurred: Page table fault when accessing
virtual address 0x200000000
Any help would be greatly appreciated!
Many Thanks,
andreas
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s