02-09-2020 03:11 AM
when read the README.md of libmetal library, I found the following information,
libmetal provides APIs to register an interrupt, disable interrupts and restore
The Linux userspace implementation will use a thread to call select() function
to listen to the file descriptors of the devices to see if there is an interrupt
triggered. If there is an interrupt triggered, it will call the interrupt
handler registered by the user application.
but I can not get any demo application source code includes the select() funtion released in the following site address, can you tell me where can I found this demo that libmetal work with select() function ?
02-11-2020 07:50 AM
02-11-2020 07:52 AM
Hmmm, can't find an edit button for my reply.
I forgot to say, change the "branch" to whichever release of Vivado/Petalinux you're working with. The link I gave is on the 2018.2 branch.
02-13-2020 05:45 PM
I have got those source code I am interested, as the attached files.
02-14-2020 03:05 PM
The poll function call is linuxcall to wait on a fd