I can’t reach a solution to the next problem:

I have a C program that open a file with the function fopen

fp= fopen( ‘ filename ‘, ‘r’); In a computer “filename” could be
c://doc/text.txt.

However I am trying to run the same C program in a PC Board (FPGA) with a
PowerPC microproccesador, which is capable of run C programs, and the file
that I want to open is in a DDR memory and begins for example in the memory
address 0x10000000.

How could I fill the pointer fp FILE *fp
In order to the program works as in a computer.

thank you very much