| ??? 03/19/01 18:04 Read: times |
#10157 - Keil Memory Overlay Best Way to? |
Hi,
I'm new to the Keil compiler and am currently working on a project that invokes functions through function pointers stored in a table in ROM. I understand that I need to overlay the functions pointed to in the table manually as such CallItem ! ServiceGeneric, CallItem ! ServiceGenericFloat as the CallItem routine calls ServiceGeneric(..) and ServiceGenericFloat(..) through the table. I imaging that this is an easy way to mess up function parameters if I (or most likely someone else working on the project at a later date) adds some functions to the table and forgets to overlay the new function in the linker. I though I had found an elegent solution by declaring my function pointer types as 'reentrant' until I though about that I also need to declare 'reentrant' for all functions that gets called from the service functions. This also seem like an easy way to introduce errors since the compiler will not generate a warning message if I call a function that was not declared as 'reentrant' from the service routines. Anybody has a good solution for this problem? Andy |
| Topic | Author | Date |
| Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 | |
| Correction to my above post | 01/01/70 00:00 | |
RE: Keil Memory Overlay Best Way to? | 01/01/70 00:00 |



