Browse Source

Update cache line size call.

master
Hanhui 9 years ago
parent
commit
84b6d4e7ff
  1. 2
      target/src/vxWorks.c

2
target/src/vxWorks.c

@ -52,7 +52,7 @@ static void __attribute__((constructor)) vxWorksInit (void)
{
allocAlignSize = sizeof(size_t);
stackAlignSize = sizeof(LW_STACK);
cacheAlignSize = (size_t)(API_CacheLine() >> 2);
cacheAlignSize = (size_t)(API_CacheLine(DATA_CACHE) >> 2);
vmPageSize = LW_CFG_VMM_PAGE_SIZE;
creationDate = __DATE__ __TIME__;

Loading…
Cancel
Save