Rev 1330 | Rev 1501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1330 | Rev 1363 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #ifndef __libc_AS_H__ |
29 | #ifndef __libc_AS_H__ |
| 30 | #define __libc_AS_H__ |
30 | #define __libc_AS_H__ |
| 31 | 31 | ||
| 32 | #include <types.h> |
32 | #include <types.h> |
| 33 | #include <task.h> |
33 | #include <task.h> |
| - | 34 | #include <kernel/arch/mm/as.h> |
|
| 34 | #include <kernel/mm/as.h> |
35 | #include <kernel/mm/as.h> |
| 35 | 36 | ||
| - | 37 | #define USER_ADDRESS_SPACE_SIZE_ARCH (USER_ADDRESS_SPACE_END_ARCH-USER_ADDRESS_SPACE_START_ARCH+1) |
|
| - | 38 | ||
| 36 | extern void *as_area_create(void *address, size_t size, int flags); |
39 | extern void *as_area_create(void *address, size_t size, int flags); |
| 37 | extern int as_area_resize(void *address, size_t size, int flags); |
40 | extern int as_area_resize(void *address, size_t size, int flags); |
| 38 | extern int as_area_destroy(void *address); |
41 | extern int as_area_destroy(void *address); |
| - | 42 | extern void *set_maxheapsize(size_t mhs); |
|
| 39 | 43 | ||
| 40 | #endif |
44 | #endif |