Using Altera Avalon FIFO with the Altera SW API

Hi. My system is currently working using this FIFO with a dedicated driver I wrote.
I’ve noticed in the docs that there are SW API for the Avalon FIFO, I wonder if someone used it and can give some notes about it and also how to compile it (which files are needed)?

I found the source files in