Rev 2250 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2250 | Rev 3672 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #ifndef BOOT_BALLOC_H_ |
29 | #ifndef BOOT_BALLOC_H_ |
| 30 | #define BOOT_BALLOC_H_ |
30 | #define BOOT_BALLOC_H_ |
| 31 | 31 | ||
| 32 | #include <types.h> |
32 | #include <types.h> |
| 33 | 33 | ||
| 34 | #define BALLOC_MAX_SIZE (1024 * 1024) |
34 | #define BALLOC_MAX_SIZE (128 * 1024) |
| 35 | 35 | ||
| 36 | typedef struct { |
36 | typedef struct { |
| 37 | uintptr_t base; |
37 | uintptr_t base; |
| 38 | size_t size; |
38 | size_t size; |
| 39 | } ballocs_t; |
39 | } ballocs_t; |