Is there a way to make the C51 compiler use xdata memory-specific
pointers as
the default instead of generic pointers?
C source code that could otherwise be portable to other platforms
has to have
xdata keywords sprinkled all over the place. Thereby making the
source code
no longer portable.
Assume the following example code:
// Forward reference
typedef struct request_block req_t;
// A hypothetical request block
struct request_block
{
int cmd;
int pa
↧