hey i managed to create a new system call.
i want to give 1 argument which is a structure like this mysystemcall(&structure);
next my system call makes some calculations and creates a new same type structure which now has the results.
how can i return that structure in my main.c where i call my system call back to the original structure argument i gave.
i tried a lot but i couldnt find a solution... i tried sys_datacopy() but when i try to printf the structure in my main.c i only get zeros..
the main purpose here is to call the system call with an argument that will put the results there and printf them in main.c.
pls someone help and thnx a lot..