diff options
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index dbd31621f2..97d675c98d 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -49,6 +49,7 @@ typedef struct Stktop Stktop; typedef struct String *string; typedef struct Usema Usema; typedef struct SigTab SigTab; +typedef struct MCache MCache; /* * per cpu declaration @@ -163,7 +164,7 @@ struct M M* schedlink; Mem mem; uint32 machport; // Return address for Mach IPC (OS X) - void* freelist[SmallFreeClasses]; + MCache *mcache; }; struct Stktop { @@ -280,6 +281,8 @@ Func* findfunc(uint64); int32 funcline(Func*, uint64); void* stackalloc(uint32); void stackfree(void*); +MCache* allocmcache(void); +void mallocinit(void); #pragma varargck argpos printf 1 |
