此代码是 LPC 上 IAP 的一部分:
#define IAP_LOCATION 0x7ffffff1
...
unsigned long command[5];
unsigned long result[3];
...
typedef void (*IAP)(unsigned int [],unsigned int[]);
IAP iap_entry;
iap_entry = (IAP) IAP_LOCATION;
iap_entry(command, result);
有人可以解释它是如何工作的,尤其是:
iap_entry = (IAP) IAP_LOCATION;
iap_entry(command, result)