#pragma PAGEDCODE 和 #pragma INITCODE 是什么意思?

来源:百度知道 编辑:UC知道 时间:2024/05/26 07:49:50
在驱动程序里有 #pragma PAGEDCODE 和 #pragma INITCODE 是什么意思?

#pragma INITCODE specifies that the code following this is
initialization code to be used only at the time when the driver is
initializing. This means that the system can page this code out once
the driver initialization is over since this code will never be used again.

#pragma PAGEDCODE means that the code following this can be paged out.

这个应该是驱动厂商自己的宏命令