ByteCount GetLogicalPageSize (void);
The GetLogicalPageSize function returns the logical page size of the cache, in bytes. If you need this value often, call it once at startup and store the value in a global. The value of the logical page size of the cache cannot change until the system reboots.
GetLogicalPageSize may be called from task level, software interrupt level, or hardware interrupt level.