diff options
| author | [email protected] <[email protected]> | 2011-08-15 14:05:41 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-08-15 14:05:41 +0000 |
| commit | a8f51bf63ad61c3b249547de5596c0f71c6c60fd (patch) | |
| tree | 07bd5c7a0742817b9fc173208d055551be17e5e6 /include/rtthread.h | |
| parent | 2bc131f3a9a9802196e3ba9f13113db0bb4200d1 (diff) | |
fix compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1670 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 27c6c97b7d..417c86afee 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -184,6 +184,11 @@ void rt_memory_info(rt_uint32_t *total, rt_uint32_t *used, rt_uint32_t *max_used); +#ifdef RT_USING_SLAB +void *rt_page_alloc(rt_size_t npages); +void rt_page_free(void *addr, rt_size_t npages); +#endif + #ifdef RT_USING_HOOK void rt_malloc_sethook(void (*hook)(void *ptr, rt_uint32_t size)); void rt_free_sethook(void (*hook)(void *ptr)); |
