View topic - MK_FP( ) not support on QNX How to slove it problem

MK_FP( ) not support on QNX How to slove it problem

anything that doesn't fit to other groups.

MK_FP( ) not support on QNX How to slove it problem

Postby watcharin » Mon Sep 15, 2003 10:19 am

Example
main ()
{
long far *x;
x = (long *)MK_FP (BASE_AD, 0x0804);
}

MK_PF( ) is not supported by QNX6 . How to slove it the problem?

Thank
watcharin
New Member
 
Posts: 8
Joined: Wed Sep 10, 2003 10:20 pm

Postby xtang » Mon Sep 15, 2003 6:05 pm

Check out mmap_*() functions
xtang
QNX Master
 
Posts: 313
Joined: Thu Jul 18, 2002 5:01 pm

Postby noc » Mon Sep 15, 2003 9:59 pm

I remember MK_PF (make a far pointer) is a macro in the old 16 bit days. I don't think it is still needed for a true 32 bit OS like QNX6. If you really want it, you can probably take a look at the old header file to find out the #define MK_PF
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron