8 u8 __attribute__((aligned(4096))) tcache[DRC_TCACHE_SIZE];
11 void drc_cmn_init(void)
16 tmp = mmap(tcache, DRC_TCACHE_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
17 printf("mmap tcache: %p, asked %p\n", tmp, tcache);
21 void drc_cmn_cleanup(void)
25 ret = munmap(tcache, DRC_TCACHE_SIZE);
26 printf("munmap tcache: %i\n", ret);