I have a function that uses xdata in one of it's helper functions. How do I prevent it from doing so?
What does the documentation say? What do expert level colleagues/supervisors suggest to you? Can you use #pragma or attributes? Can you use better prototyping? Can you rewrite the helper functions, or use different ones, or have some consistency in the types of variables being used? Can you use structures? Instead of passing millions of parameters, or having code with inconsistent expectations of the types of pointers and variables. Have you thought about using ARM chips? It's 2018, ARM chips have been around since the early/mid 1980's